Changeset 244669 in webkit


Ignore:
Timestamp:
Apr 25, 2019 4:08:09 PM (5 years ago)
Author:
Basuke Suzuki
Message:

[Win] Add flag to enable version information stamping and disable by default.
https://bugs.webkit.org/show_bug.cgi?id=197249

Reviewed by Ross Kirsling.

This feature is only used in AppleWin port. Add flag for this task and make it OFF by default.
Then enable it by default on AppleWin.

.:

  • Source/cmake/OptionsWin.cmake:

Source/JavaScriptCore:

  • CMakeLists.txt:

Source/WebKitLegacy:

  • PlatformWin.cmake:

Source/WTF:

  • wtf/CMakeLists.txt:
Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r244653 r244669  
     12019-04-25  Basuke Suzuki  <Basuke.Suzuki@sony.com>
     2
     3        [Win] Add flag to enable version information stamping and disable by default.
     4        https://bugs.webkit.org/show_bug.cgi?id=197249
     5
     6        Reviewed by Ross Kirsling.
     7
     8        This feature is only used in AppleWin port. Add flag for this task and make it OFF by default.
     9        Then enable it by default on AppleWin.
     10
     11        * Source/cmake/OptionsWin.cmake:
     12
    1132019-04-25  Alex Christensen  <achristensen@webkit.org>
    214
  • trunk/Source/JavaScriptCore/CMakeLists.txt

    r244245 r244669  
    13201320add_dependencies(JavaScriptCore stageSharedScripts ${JavaScriptCore_EXTRA_DEPENDENCIES})
    13211321
    1322 if (MSVC)
     1322if (USE_VERSION_STAMPER)
    13231323    add_custom_command(
    13241324        TARGET JavaScriptCore
  • trunk/Source/JavaScriptCore/ChangeLog

    r244664 r244669  
     12019-04-25  Basuke Suzuki  <Basuke.Suzuki@sony.com>
     2
     3        [Win] Add flag to enable version information stamping and disable by default.
     4        https://bugs.webkit.org/show_bug.cgi?id=197249
     5
     6        Reviewed by Ross Kirsling.
     7
     8        This feature is only used in AppleWin port. Add flag for this task and make it OFF by default.
     9        Then enable it by default on AppleWin.
     10
     11        * CMakeLists.txt:
     12
    1132019-04-25  Timothy Hatcher  <timothy@apple.com>
    214
  • trunk/Source/WTF/ChangeLog

    r244664 r244669  
     12019-04-25  Basuke Suzuki  <Basuke.Suzuki@sony.com>
     2
     3        [Win] Add flag to enable version information stamping and disable by default.
     4        https://bugs.webkit.org/show_bug.cgi?id=197249
     5
     6        Reviewed by Ross Kirsling.
     7
     8        This feature is only used in AppleWin port. Add flag for this task and make it OFF by default.
     9        Then enable it by default on AppleWin.
     10
     11        * wtf/CMakeLists.txt:
     12
    1132019-04-25  Timothy Hatcher  <timothy@apple.com>
    214
  • trunk/Source/WTF/wtf/CMakeLists.txt

    r244652 r244669  
    513513    set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /SUBSYSTEM:WINDOWS")
    514514    set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SUBSYSTEM:WINDOWS")
    515 
     515endif ()
     516
     517if (USE_VERSION_STAMPER)
    516518    add_custom_command(
    517519        TARGET WTF
  • trunk/Source/WebKitLegacy/ChangeLog

    r244575 r244669  
     12019-04-25  Basuke Suzuki  <Basuke.Suzuki@sony.com>
     2
     3        [Win] Add flag to enable version information stamping and disable by default.
     4        https://bugs.webkit.org/show_bug.cgi?id=197249
     5
     6        Reviewed by Ross Kirsling.
     7
     8        This feature is only used in AppleWin port. Add flag for this task and make it OFF by default.
     9        Then enable it by default on AppleWin.
     10
     11        * PlatformWin.cmake:
     12
    1132019-04-23  Keith Rollin  <krollin@apple.com>
    214
  • trunk/Source/WebKitLegacy/PlatformWin.cmake

    r244488 r244669  
    396396)
    397397
    398 add_custom_command(
    399     OUTPUT ${WebKitLegacy_DERIVED_SOURCES_DIR}/include/autoversion.h
    400     WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
    401     COMMAND ${PERL_EXECUTABLE} ${WEBKIT_LIBRARIES_DIR}/tools/scripts/auto-version.pl ${WebKitLegacy_DERIVED_SOURCES_DIR}
    402     VERBATIM)
     398if (USE_VERSION_STAMPER)
     399    add_custom_command(
     400        OUTPUT ${WebKitLegacy_DERIVED_SOURCES_DIR}/include/autoversion.h
     401        WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
     402        COMMAND ${PERL_EXECUTABLE} ${WEBKIT_LIBRARIES_DIR}/tools/scripts/auto-version.pl ${WebKitLegacy_DERIVED_SOURCES_DIR}
     403        VERBATIM)
     404endif ()
    403405
    404406GENERATE_INTERFACE(win/Interfaces/WebKit.idl ${MIDL_DEFINES} "${WEBKITLEGACY_IDL_DEPENDENCIES}")
  • trunk/Source/cmake/OptionsWin.cmake

    r244448 r244669  
    1414
    1515WEBKIT_OPTION_BEGIN()
     16
     17WEBKIT_OPTION_DEFINE(USE_VERSION_STAMPER "Toggle stamping version information during build" PRIVATE OFF)
    1618
    1719# FIXME: Most of these options should not be public.
     
    99101    WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PUBLIC_SUFFIX_LIST PRIVATE OFF)
    100102    WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBGL PUBLIC OFF)
     103    WEBKIT_OPTION_DEFAULT_PORT_VALUE(USE_VERSION_STAMPER PRIVATE ON)
    101104endif ()
    102105
Note: See TracChangeset for help on using the changeset viewer.