Changeset 194424 in webkit


Ignore:
Timestamp:
Dec 26, 2015 10:34:59 PM (8 years ago)
Author:
Gyuyoung Kim
Message:

[CMake] Rearrange new gamepad files with deprecated files
https://bugs.webkit.org/show_bug.cgi?id=152564

Reviewed by Alex Christensen.

New gamepad files have been commented out in CMakeLists.txt so far. This patch
rearrange the files with deprecated files using ENABLE_GAMEPAD.

  • CMakeLists.txt:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/CMakeLists.txt

    r194319 r194424  
    77    "${WEBCORE_DIR}/Modules/battery"
    88    "${WEBCORE_DIR}/Modules/encryptedmedia"
    9     "${WEBCORE_DIR}/Modules/gamepad"
    10     "${WEBCORE_DIR}/Modules/gamepad/deprecated"
    119    "${WEBCORE_DIR}/Modules/geolocation"
    1210    "${WEBCORE_DIR}/Modules/indexeddb"
     
    140138    Modules/battery
    141139    Modules/encryptedmedia
    142     Modules/gamepad
    143140    Modules/geolocation
    144141    Modules/indexeddb
     
    156153    Modules/websockets
    157154
    158     Modules/gamepad/deprecated
    159 
    160155    bindings/generic
    161156    bindings/js
     
    173168    Modules/battery/BatteryManager.idl
    174169    Modules/battery/NavigatorBattery.idl
    175 
    176 # FIXME: These were causing name conflicts on Mac, and the Gamepad API is not finished yet.
    177 # https://bugs.webkit.org/show_bug.cgi?id=135858
    178 #   Modules/gamepad/Gamepad.idl
    179 #   Modules/gamepad/GamepadButton.idl
    180 #   Modules/gamepad/GamepadEvent.idl
    181 #   Modules/gamepad/NavigatorGamepad.idl
    182 
    183     Modules/gamepad/deprecated/Gamepad.idl
    184     Modules/gamepad/deprecated/GamepadList.idl
    185     Modules/gamepad/deprecated/NavigatorGamepad.idl
    186170
    187171    Modules/geolocation/Coordinates.idl
     
    829813    Modules/battery/BatteryStatus.cpp
    830814    Modules/battery/NavigatorBattery.cpp
    831 
    832     Modules/gamepad/deprecated/Gamepad.cpp
    833     Modules/gamepad/deprecated/GamepadList.cpp
    834     Modules/gamepad/deprecated/NavigatorGamepad.cpp
    835815
    836816    Modules/geolocation/Coordinates.cpp
     
    32533233endif ()
    32543234
     3235if (ENABLE_GAMEPAD)
     3236    list(APPEND WebCore_INCLUDE_DIRECTORIES
     3237        "${WEBCORE_DIR}/Modules/gamepad"
     3238    )
     3239
     3240    list(APPEND WebCore_IDL_INCLUDES
     3241        Modules/gamepad
     3242    )
     3243
     3244    list(APPEND WebCore_NON_SVG_IDL_FILES
     3245        Modules/gamepad/Gamepad.idl
     3246        Modules/gamepad/GamepadButton.idl
     3247        Modules/gamepad/GamepadEvent.idl
     3248        Modules/gamepad/NavigatorGamepad.idl
     3249    )
     3250elseif (ENABLE_GAMEPAD_DEPRECATED)
     3251    list(APPEND WebCore_INCLUDE_DIRECTORIES
     3252        "${WEBCORE_DIR}/Modules/gamepad/deprecated"
     3253    )
     3254
     3255    list(APPEND WebCore_IDL_INCLUDES
     3256        Modules/gamepad/deprecated
     3257    )
     3258
     3259    list(APPEND WebCore_NON_SVG_IDL_FILES
     3260        Modules/gamepad/deprecated/Gamepad.idl
     3261        Modules/gamepad/deprecated/GamepadList.idl
     3262        Modules/gamepad/deprecated/NavigatorGamepad.idl
     3263    )
     3264
     3265    list(APPEND WebCore_SOURCES
     3266        Modules/gamepad/deprecated/Gamepad.cpp
     3267        Modules/gamepad/deprecated/GamepadList.cpp
     3268        Modules/gamepad/deprecated/NavigatorGamepad.cpp
     3269    )
     3270endif ()
     3271
    32553272if (ENABLE_WEB_REPLAY)
    32563273    list(APPEND WebCore_INCLUDE_DIRECTORIES
  • trunk/Source/WebCore/ChangeLog

    r194422 r194424  
     12015-12-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
     2
     3        [CMake] Rearrange new gamepad files with deprecated files
     4        https://bugs.webkit.org/show_bug.cgi?id=152564
     5
     6        Reviewed by Alex Christensen.
     7
     8        New gamepad files have been commented out in CMakeLists.txt so far. This patch
     9        rearrange the files with deprecated files using ENABLE_GAMEPAD.
     10
     11        * CMakeLists.txt:
     12
    1132015-12-26  Per Arne Vollan  <peavo@outlook.com>
    214
Note: See TracChangeset for help on using the changeset viewer.