Changeset 209665 in webkit
- Timestamp:
- Dec 10, 2016 10:16:04 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 40 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r209138 r209665 1 2016-12-10 Konstantin Tokarev <annulen@yandex.ru> 2 3 [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them 4 https://bugs.webkit.org/show_bug.cgi?id=165686 5 6 Reviewed by Michael Catanzaro. 7 8 This change reduces duplication of include path lists between modules, 9 and reduces future need for fixes like r209605 (broken build because of 10 WebCore header suddenly becoming used in WebKit2). 11 12 * Source/cmake/WebKitMacros.cmake: 13 1 14 2016-11-30 Brent Fulgham <bfulgham@apple.com> 2 15 -
trunk/Source/JavaScriptCore/CMakeLists.txt
r209630 r209665 4 4 5 5 set(JavaScriptCore_INCLUDE_DIRECTORIES 6 "${CMAKE_BINARY_DIR}"7 6 "${JAVASCRIPTCORE_DIR}" 8 7 "${JAVASCRIPTCORE_DIR}/.." … … 38 37 "${JAVASCRIPTCORE_DIR}/wasm/js" 39 38 "${JAVASCRIPTCORE_DIR}/yarr" 40 "${DERIVED_SOURCES_DIR}"41 39 "${DERIVED_SOURCES_DIR}/ForwardingHeaders" 42 40 "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}" … … 1477 1475 WEBKIT_CREATE_FORWARDING_HEADERS(JavaScriptCore DIRECTORIES ${JavaScriptCore_FORWARDING_HEADERS_DIRECTORIES} FILES ${JavaScriptCore_FORWARDING_HEADERS_FILES}) 1478 1476 1477 target_include_directories(LLIntOffsetsExtractor PRIVATE ${JavaScriptCore_INCLUDE_DIRECTORIES}) 1479 1478 1480 1479 add_subdirectory(shell) -
trunk/Source/JavaScriptCore/ChangeLog
r209663 r209665 1 2016-12-10 Konstantin Tokarev <annulen@yandex.ru> 2 3 [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them 4 https://bugs.webkit.org/show_bug.cgi?id=165686 5 6 Reviewed by Michael Catanzaro. 7 8 This change reduces duplication of include path lists between modules, 9 and reduces future need for fixes like r209605 (broken build because of 10 WebCore header suddenly becoming used in WebKit2). 11 12 * CMakeLists.txt: 13 * PlatformEfl.cmake: 14 * PlatformGTK.cmake: 15 * PlatformJSCOnly.cmake: 16 * PlatformMac.cmake: 17 1 18 2016-12-10 Michael Saboff <msaboff@apple.com> 2 19 -
trunk/Source/JavaScriptCore/PlatformEfl.cmake
r201711 r209665 1 list(APPEND JavaScriptCore_INCLUDE_DIRECTORIES2 "${WTF_DIR}"3 "${WTF_DIR}/wtf/efl"4 )5 6 1 list(APPEND JavaScriptCore_SYSTEM_INCLUDE_DIRECTORIES 7 2 ${ECORE_EVAS_INCLUDE_DIRS} -
trunk/Source/JavaScriptCore/PlatformGTK.cmake
r197983 r209665 1 1 set(JavaScriptCore_OUTPUT_NAME javascriptcoregtk-${WEBKITGTK_API_VERSION}) 2 3 list(APPEND JavaScriptCore_INCLUDE_DIRECTORIES4 "${WTF_DIR}"5 )6 2 7 3 configure_file(javascriptcoregtk.pc.in ${CMAKE_BINARY_DIR}/Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc @ONLY) -
trunk/Source/JavaScriptCore/PlatformJSCOnly.cmake
r198086 r209665 1 1 add_definitions(-DSTATICALLY_LINKED_WITH_WTF) 2 3 list(APPEND JavaScriptCore_INCLUDE_DIRECTORIES4 "${WTF_DIR}"5 )6 2 7 3 if (USE_GLIB) -
trunk/Source/JavaScriptCore/PlatformMac.cmake
r200568 r209665 25 25 26 26 list(APPEND JavaScriptCore_INCLUDE_DIRECTORIES 27 ${WTF_DIR}28 27 ${JAVASCRIPTCORE_DIR}/disassembler/udis86 29 28 ${JAVASCRIPTCORE_DIR}/icu -
trunk/Source/ThirdParty/ChangeLog
r209434 r209665 1 2016-12-10 Konstantin Tokarev <annulen@yandex.ru> 2 3 [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them 4 https://bugs.webkit.org/show_bug.cgi?id=165686 5 6 Reviewed by Michael Catanzaro. 7 8 This change reduces duplication of include path lists between modules, 9 and reduces future need for fixes like r209605 (broken build because of 10 WebCore header suddenly becoming used in WebKit2). 11 12 * gtest/CMakeLists.txt: 13 1 14 2016-12-06 Alexey Proskuryakov <ap@apple.com> 2 15 -
trunk/Source/ThirdParty/gtest/CMakeLists.txt
r206437 r209665 10 10 "${GTEST_DIR}/include" 11 11 "${JAVASCRIPTCORE_DIR}" 12 "${DERIVED_SOURCES_DIR}"13 12 "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}" 14 "${WTF_DIR}"15 13 ) 16 14 -
trunk/Source/WebCore/CMakeLists.txt
r209612 r209665 114 114 "${WEBCORE_DIR}/xml" 115 115 "${WEBCORE_DIR}/xml/parser" 116 "${DERIVED_SOURCES_DIR}"117 "${DERIVED_SOURCES_DIR}/ForwardingHeaders"118 116 "${DERIVED_SOURCES_WEBCORE_DIR}" 119 117 "${CMAKE_SOURCE_DIR}/Source" 120 "${CMAKE_BINARY_DIR}"121 118 ) 122 119 … … 3400 3397 3401 3398 if (ENABLE_WEB_REPLAY) 3402 list(APPEND WebCore_INCLUDE_DIRECTORIES3403 "${JAVASCRIPTCORE_DIR}/inspector"3404 "${JAVASCRIPTCORE_DIR}/replay"3405 )3406 3407 3399 set(WebCore_WEB_REPLAY_INPUTS ${CMAKE_CURRENT_SOURCE_DIR}/replay/WebInputs.json ${JAVASCRIPTCORE_DIR}/replay/JSInputs.json) 3408 3400 add_custom_command( … … 3877 3869 add_library(WebCoreDerivedSources STATIC ${WebCore_DERIVED_SOURCES}) 3878 3870 set_target_properties(WebCoreDerivedSources PROPERTIES OUTPUT_NAME WebCoreDerivedSources${DEBUG_SUFFIX}) 3879 add_dependencies(WebCoreDerivedSources JavaScriptCore WebCoreBindings) 3871 target_link_libraries(WebCoreDerivedSources ${WebCore_LIBRARIES}) 3872 target_include_directories(WebCoreDerivedSources PUBLIC ${WebCore_INCLUDE_DIRECTORIES}) 3873 add_dependencies(WebCoreDerivedSources WebCoreBindings) 3880 3874 if (NOT WIN32) 3881 3875 list(APPEND WebCore_LIBRARIES WebCoreDerivedSources) … … 3906 3900 endif () 3907 3901 3908 include_directories(${WebCoreTestSupport_INCLUDE_DIRECTORIES})3909 3902 add_library(WebCoreTestSupport ${WebCoreTestSupport_LIBRARY_TYPE} ${WebCoreTestSupport_SOURCES}) 3910 3903 add_dependencies(WebCoreTestSupport WebCore WebCoreTestSupportBindings) 3904 target_include_directories(WebCoreTestSupport PUBLIC ${WebCoreTestSupport_INCLUDE_DIRECTORIES} ${WebCore_INCLUDE_DIRECTORIES}) 3911 3905 target_link_libraries(WebCoreTestSupport ${WebCoreTestSupport_LIBRARIES}) 3912 3906 -
trunk/Source/WebCore/ChangeLog
r209661 r209665 1 2016-12-10 Konstantin Tokarev <annulen@yandex.ru> 2 3 [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them 4 https://bugs.webkit.org/show_bug.cgi?id=165686 5 6 Reviewed by Michael Catanzaro. 7 8 This change reduces duplication of include path lists between modules, 9 and reduces future need for fixes like r209605 (broken build because of 10 WebCore header suddenly becoming used in WebKit2). 11 12 No new tests needed. 13 14 * CMakeLists.txt: 15 * PlatformEfl.cmake: 16 * PlatformGTK.cmake: 17 * PlatformMac.cmake: 18 * PlatformWinCairo.cmake: 19 1 20 2016-12-10 Ryosuke Niwa <rniwa@webkit.org> 2 21 -
trunk/Source/WebCore/PlatformEfl.cmake
r209390 r209665 5 5 6 6 list(APPEND WebCore_INCLUDE_DIRECTORIES 7 "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}"8 "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/inspector"9 "${JAVASCRIPTCORE_DIR}"10 "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"11 "${JAVASCRIPTCORE_DIR}/API"12 "${JAVASCRIPTCORE_DIR}/assembler"13 "${JAVASCRIPTCORE_DIR}/bytecode"14 "${JAVASCRIPTCORE_DIR}/bytecompiler"15 "${JAVASCRIPTCORE_DIR}/dfg"16 "${JAVASCRIPTCORE_DIR}/disassembler"17 "${JAVASCRIPTCORE_DIR}/domjit"18 "${JAVASCRIPTCORE_DIR}/heap"19 "${JAVASCRIPTCORE_DIR}/debugger"20 "${JAVASCRIPTCORE_DIR}/interpreter"21 "${JAVASCRIPTCORE_DIR}/jit"22 "${JAVASCRIPTCORE_DIR}/llint"23 "${JAVASCRIPTCORE_DIR}/parser"24 "${JAVASCRIPTCORE_DIR}/profiler"25 "${JAVASCRIPTCORE_DIR}/runtime"26 "${JAVASCRIPTCORE_DIR}/yarr"27 7 "${THIRDPARTY_DIR}/ANGLE/" 28 8 "${THIRDPARTY_DIR}/ANGLE/include/KHR" … … 50 30 "${WEBCORE_DIR}/platform/text/efl" 51 31 "${WEBCORE_DIR}/plugins/efl" 52 "${WTF_DIR}"53 "${WTF_DIR}/wtf/efl"54 32 ) 55 33 -
trunk/Source/WebCore/PlatformGTK.cmake
r209390 r209665 10 10 11 11 list(APPEND WebCore_INCLUDE_DIRECTORIES 12 "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}"13 "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/inspector"14 "${JAVASCRIPTCORE_DIR}"15 "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"16 "${JAVASCRIPTCORE_DIR}/API"17 "${JAVASCRIPTCORE_DIR}/assembler"18 "${JAVASCRIPTCORE_DIR}/bytecode"19 "${JAVASCRIPTCORE_DIR}/bytecompiler"20 "${JAVASCRIPTCORE_DIR}/dfg"21 "${JAVASCRIPTCORE_DIR}/disassembler"22 "${JAVASCRIPTCORE_DIR}/domjit"23 "${JAVASCRIPTCORE_DIR}/heap"24 "${JAVASCRIPTCORE_DIR}/debugger"25 "${JAVASCRIPTCORE_DIR}/interpreter"26 "${JAVASCRIPTCORE_DIR}/jit"27 "${JAVASCRIPTCORE_DIR}/llint"28 "${JAVASCRIPTCORE_DIR}/parser"29 "${JAVASCRIPTCORE_DIR}/profiler"30 "${JAVASCRIPTCORE_DIR}/runtime"31 "${JAVASCRIPTCORE_DIR}/yarr"32 12 "${THIRDPARTY_DIR}/ANGLE/" 33 13 "${THIRDPARTY_DIR}/ANGLE/include/KHR" … … 57 37 "${WEBCORE_DIR}/platform/network/soup" 58 38 "${WEBCORE_DIR}/platform/text/gtk" 59 "${WTF_DIR}"60 39 ) 61 40 … … 380 359 ${WebCore_INCLUDE_DIRECTORIES} 381 360 "${WEBCORE_DIR}/bindings/gobject/" 382 "${DERIVED_SOURCES_DIR}"383 361 ) 384 362 -
trunk/Source/WebCore/PlatformMac.cmake
r209614 r209665 69 69 list(APPEND WebCore_INCLUDE_DIRECTORIES 70 70 "${DERIVED_SOURCES_DIR}/ForwardingHeaders/JavaScriptCore" 71 "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}"72 "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/inspector"73 "${JAVASCRIPTCORE_DIR}/replay"74 71 "${THIRDPARTY_DIR}/ANGLE" 75 72 "${THIRDPARTY_DIR}/ANGLE/include/KHR" … … 127 124 "${WEBCORE_DIR}/platform/spi/mac" 128 125 "${WEBCORE_DIR}/plugins/mac" 129 "${WTF_DIR}"130 126 ) 131 127 -
trunk/Source/WebCore/PlatformWinCairo.cmake
r206153 r209665 9 9 "${WEBKIT_LIBRARIES_DIR}/include/SQLite" 10 10 "${WEBKIT_LIBRARIES_DIR}/include/zlib" 11 "${JAVASCRIPTCORE_DIR}/wtf/text"12 11 "${WEBCORE_DIR}/loader/archive/cf" 13 12 "${WEBCORE_DIR}/platform/cf" -
trunk/Source/WebKit/CMakeLists.txt
r207831 r209665 18 18 19 19 set(WebKit_INCLUDE_DIRECTORIES 20 Storage 21 WebCoreSupport 22 23 "${CMAKE_BINARY_DIR}" 24 "${CMAKE_SOURCE_DIR}/Source" 25 "${DERIVED_SOURCES_DIR}" 26 "${DERIVED_SOURCES_DIR}/ForwardingHeaders" 20 "${WEBKIT_DIR}/Storage" 21 "${WEBKIT_DIR}/WebCoreSupport" 27 22 "${DERIVED_SOURCES_DIR}/ForwardingHeaders/JavaScriptCore" 28 23 "${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebCore" -
trunk/Source/WebKit/ChangeLog
r209315 r209665 1 2016-12-10 Konstantin Tokarev <annulen@yandex.ru> 2 3 [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them 4 https://bugs.webkit.org/show_bug.cgi?id=165686 5 6 Reviewed by Michael Catanzaro. 7 8 This change reduces duplication of include path lists between modules, 9 and reduces future need for fixes like r209605 (broken build because of 10 WebCore header suddenly becoming used in WebKit2). 11 12 * CMakeLists.txt: 13 * PlatformMac.cmake: 14 * PlatformWin.cmake: 15 1 16 2016-12-05 Csaba Osztrogonác <ossy@webkit.org> 2 17 -
trunk/Source/WebKit/PlatformMac.cmake
r209315 r209665 6 6 7 7 list(APPEND WebKit_INCLUDE_DIRECTORIES 8 "${DERIVED_SOURCES_DIR}"9 "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}"10 "${DERIVED_SOURCES_WEBCORE_DIR}"11 8 "${DERIVED_SOURCES_WEBKITLEGACY_DIR}" 12 "${JAVASCRIPTCORE_DIR}"13 "${JAVASCRIPTCORE_DIR}/dfg"14 "${WEBCORE_DIR}/accessibility/mac"15 "${WEBCORE_DIR}/bridge"16 "${WEBCORE_DIR}/bridge/jsc"17 "${WEBCORE_DIR}/bridge/objc"18 "${WEBCORE_DIR}/ForwardingHeaders/inspector"19 "${WEBCORE_DIR}/html/track"20 "${WEBCORE_DIR}/loader/archive/cf"21 "${WEBCORE_DIR}/loader/cf"22 "${WEBCORE_DIR}/loader/mac"23 "${WEBCORE_DIR}/page/cocoa"24 "${WEBCORE_DIR}/page/mac"25 "${WEBCORE_DIR}/platform"26 "${WEBCORE_DIR}/platform/cf"27 "${WEBCORE_DIR}/platform/cocoa"28 "${WEBCORE_DIR}/platform/graphics/avfoundation"29 "${WEBCORE_DIR}/platform/graphics/avfoundation/cf"30 "${WEBCORE_DIR}/platform/graphics/avfoundation/objc"31 "${WEBCORE_DIR}/platform/graphics/ca"32 "${WEBCORE_DIR}/platform/graphics/ca/mac"33 "${WEBCORE_DIR}/platform/graphics/cocoa"34 "${WEBCORE_DIR}/platform/graphics/cg"35 "${WEBCORE_DIR}/platform/graphics/opentype"36 "${WEBCORE_DIR}/platform/graphics/mac"37 "${WEBCORE_DIR}/platform/mac"38 "${WEBCORE_DIR}/platform/network/cocoa"39 "${WEBCORE_DIR}/platform/network/cf"40 "${WEBCORE_DIR}/platform/network/mac"41 "${WEBCORE_DIR}/platform/text/cf"42 "${WEBCORE_DIR}/platform/text/mac"43 "${WEBCORE_DIR}/plugins/mac"44 "${WEBCORE_DIR}/rendering/shapes"45 "${WTF_DIR}"46 9 ../../WebKitLibraries 47 10 ) -
trunk/Source/WebKit/PlatformWin.cmake
r207308 r209665 53 53 "${CMAKE_BINARY_DIR}/../include/private/JavaScriptCore" 54 54 "${CMAKE_BINARY_DIR}/../include/private/WebCore" 55 win 56 win/plugins 57 win/WebCoreSupport 58 "${WEBKIT_DIR}/.." 55 "${WEBKIT_DIR}/win" 56 "${WEBKIT_DIR}/win/plugins" 57 "${WEBKIT_DIR}/win/WebCoreSupport" 59 58 "${DERIVED_SOURCES_WEBKIT_DIR}/include" 60 59 "${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces" 61 "${DERIVED_SOURCES_DIR}"62 60 "${DERIVED_SOURCES_DIR}/ForwardingHeaders/ANGLE" 63 61 "${DERIVED_SOURCES_DIR}/ForwardingHeaders/ANGLE/include" -
trunk/Source/WebKit2/CMakeLists.txt
r209605 r209665 2 2 3 3 set(WebKit2_INCLUDE_DIRECTORIES 4 "${JAVASCRIPTCORE_DIR}/llint"5 4 "${WEBKIT2_DIR}" 6 5 "${WEBKIT2_DIR}/DatabaseProcess" … … 76 75 "${WEBKIT2_DIR}/WebProcess/WebCoreSupport" 77 76 "${WEBKIT2_DIR}/WebProcess/WebPage" 78 "${WEBCORE_DIR}"79 "${WEBCORE_DIR}/Modules/indexeddb"80 "${WEBCORE_DIR}/Modules/indexeddb/client"81 "${WEBCORE_DIR}/Modules/indexeddb/server"82 "${WEBCORE_DIR}/Modules/indexeddb/shared"83 "${WEBCORE_DIR}/Modules/mediastream"84 "${WEBCORE_DIR}/Modules/networkinfo"85 "${WEBCORE_DIR}/Modules/notifications"86 "${WEBCORE_DIR}/Modules/streams"87 "${WEBCORE_DIR}/Modules/vibration"88 "${WEBCORE_DIR}/Modules/webdatabase"89 "${WEBCORE_DIR}/accessibility"90 "${WEBCORE_DIR}/bindings/generic"91 "${WEBCORE_DIR}/bindings/js"92 "${WEBCORE_DIR}/bindings"93 "${WEBCORE_DIR}/bridge"94 "${WEBCORE_DIR}/bridge/jsc"95 "${WEBCORE_DIR}/contentextensions"96 "${WEBCORE_DIR}/crypto"97 "${WEBCORE_DIR}/crypto/algorithms"98 "${WEBCORE_DIR}/crypto/keys"99 "${WEBCORE_DIR}/crypto/parameters"100 "${WEBCORE_DIR}/css"101 "${WEBCORE_DIR}/css/parser"102 "${WEBCORE_DIR}/dom"103 "${WEBCORE_DIR}/dom/default"104 "${WEBCORE_DIR}/editing"105 "${WEBCORE_DIR}/fileapi"106 "${WEBCORE_DIR}/history"107 "${WEBCORE_DIR}/html"108 "${WEBCORE_DIR}/html/canvas"109 "${WEBCORE_DIR}/html/shadow"110 "${WEBCORE_DIR}/html/track"111 "${WEBCORE_DIR}/inspector"112 "${WEBCORE_DIR}/loader"113 "${WEBCORE_DIR}/loader/archive"114 "${WEBCORE_DIR}/loader/icon"115 "${WEBCORE_DIR}/loader/cache"116 "${WEBCORE_DIR}/page"117 "${WEBCORE_DIR}/page/animation"118 "${WEBCORE_DIR}/page/csp"119 "${WEBCORE_DIR}/page/scrolling"120 "${WEBCORE_DIR}/platform"121 "${WEBCORE_DIR}/platform/animation"122 "${WEBCORE_DIR}/platform/audio"123 "${WEBCORE_DIR}/platform/gamepad"124 "${WEBCORE_DIR}/platform/graphics"125 "${WEBCORE_DIR}/platform/graphics/filters"126 "${WEBCORE_DIR}/platform/graphics/harfbuzz"127 "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"128 "${WEBCORE_DIR}/platform/graphics/surfaces"129 "${WEBCORE_DIR}/platform/graphics/texmap"130 "${WEBCORE_DIR}/platform/graphics/transforms"131 "${WEBCORE_DIR}/platform/mediastream"132 "${WEBCORE_DIR}/platform/network"133 "${WEBCORE_DIR}/platform/spi/cf"134 "${WEBCORE_DIR}/platform/sql"135 "${WEBCORE_DIR}/platform/text"136 "${WEBCORE_DIR}/plugins"137 "${WEBCORE_DIR}/rendering"138 "${WEBCORE_DIR}/rendering/line"139 "${WEBCORE_DIR}/rendering/shapes"140 "${WEBCORE_DIR}/rendering/style"141 "${WEBCORE_DIR}/storage"142 "${WEBCORE_DIR}/style"143 "${WEBCORE_DIR}/svg"144 "${WEBCORE_DIR}/svg/graphics"145 "${WEBCORE_DIR}/svg/properties"146 "${WEBCORE_DIR}/workers"147 "${JAVASCRIPTCORE_DIR}"148 "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"149 "${JAVASCRIPTCORE_DIR}/API"150 "${JAVASCRIPTCORE_DIR}/assembler"151 "${JAVASCRIPTCORE_DIR}/bytecode"152 "${JAVASCRIPTCORE_DIR}/bytecompiler"153 "${JAVASCRIPTCORE_DIR}/collector/handles"154 "${JAVASCRIPTCORE_DIR}/dfg"155 "${JAVASCRIPTCORE_DIR}/disassembler"156 "${JAVASCRIPTCORE_DIR}/domjit"157 "${JAVASCRIPTCORE_DIR}/heap"158 "${JAVASCRIPTCORE_DIR}/interpreter"159 "${JAVASCRIPTCORE_DIR}/jit"160 "${JAVASCRIPTCORE_DIR}/parser"161 "${JAVASCRIPTCORE_DIR}/profiler"162 "${JAVASCRIPTCORE_DIR}/runtime"163 "${WTF_DIR}"164 "${DERIVED_SOURCES_DIR}"165 "${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}"166 "${DERIVED_SOURCES_WEBCORE_DIR}"167 77 "${DERIVED_SOURCES_WEBKIT2_DIR}" 168 78 "${DERIVED_SOURCES_WEBKIT2_DIR}/include" 169 "${CMAKE_BINARY_DIR}"170 "${CMAKE_SOURCE_DIR}/Source"171 79 "${CMAKE_SOURCE_DIR}/WebKitLibraries" 172 80 ) -
trunk/Source/WebKit2/ChangeLog
r209660 r209665 1 2016-12-10 Konstantin Tokarev <annulen@yandex.ru> 2 3 [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them 4 https://bugs.webkit.org/show_bug.cgi?id=165686 5 6 Reviewed by Michael Catanzaro. 7 8 This change reduces duplication of include path lists between modules, 9 and reduces future need for fixes like r209605 (broken build because of 10 WebCore header suddenly becoming used in WebKit2). 11 12 * CMakeLists.txt: 13 * PlatformEfl.cmake: 14 * PlatformGTK.cmake: 15 * PlatformMac.cmake: 16 1 17 2016-12-10 Antti Koivisto <antti@apple.com> 2 18 -
trunk/Source/WebKit2/PlatformEfl.cmake
r208959 r209665 232 232 233 233 list(APPEND WebKit2_INCLUDE_DIRECTORIES 234 "${WEBCORE_DIR}/platform/efl"235 "${WEBCORE_DIR}/platform/graphics/cairo"236 "${WEBCORE_DIR}/platform/graphics/efl"237 "${WEBCORE_DIR}/platform/graphics/freetype"238 "${WEBCORE_DIR}/platform/graphics/opentype"239 "${WEBCORE_DIR}/platform/graphics/x11"240 "${WEBCORE_DIR}/platform/network/soup"241 "${WEBCORE_DIR}/platform/text/enchant"242 234 "${WEBKIT2_DIR}/DatabaseProcess/unix" 243 235 "${WEBKIT2_DIR}/NetworkProcess/CustomProtocols/soup" … … 275 267 "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/soup" 276 268 "${WEBKIT2_DIR}/WebProcess/WebPage/CoordinatedGraphics" 277 "${WTF_DIR}/wtf/efl"278 "${WTF_DIR}/wtf/glib"279 "${WTF_DIR}"280 269 "${WEBKIT2_DIR}" 281 270 ) -
trunk/Source/WebKit2/PlatformGTK.cmake
r208959 r209665 829 829 list(APPEND WebKit2_INCLUDE_DIRECTORIES 830 830 "${WEBKIT2_DIR}/PluginProcess/unix" 831 "${WEBCORE_DIR}/platform/cairo"832 "${WEBCORE_DIR}/platform/gtk"833 "${WEBCORE_DIR}/platform/graphics/cairo"834 "${WEBCORE_DIR}/platform/graphics/freetype"835 "${WEBCORE_DIR}/platform/graphics/opentype"836 "${WEBCORE_DIR}/platform/graphics/x11"837 "${WEBCORE_DIR}/platform/network/soup"838 "${WEBCORE_DIR}/platform/text/enchant"839 831 "${WEBKIT2_DIR}/DatabaseProcess/unix" 840 832 "${WEBKIT2_DIR}/NetworkProcess/CustomProtocols/soup" … … 873 865 "${WEBKIT2_DIR}/WebProcess/WebPage/atk" 874 866 "${WEBKIT2_DIR}/WebProcess/WebPage/gtk" 875 "${WTF_DIR}/wtf/gtk"876 "${WTF_DIR}/wtf/glib"877 "${WTF_DIR}"878 867 ) 879 868 … … 1193 1182 ) 1194 1183 list(APPEND WebKit2_INCLUDE_DIRECTORIES 1195 "${WEBCORE_DIR}/platform/graphics/texmap/coordinated"1196 1184 "${WEBKIT2_DIR}/Shared/CoordinatedGraphics" 1197 1185 "${WEBKIT2_DIR}/Shared/CoordinatedGraphics/threadedcompositor" … … 1212 1200 "${WEBKIT2_DIR}/WebProcess/InjectedBundle" 1213 1201 "${WEBKIT2_DIR}/WebProcess/InjectedBundle/API/c" 1214 "${DERIVED_SOURCES_DIR}"1215 1202 "${DERIVED_SOURCES_DIR}/InjectedBundle" 1216 1203 "${FORWARDING_HEADERS_DIR}" -
trunk/Source/WebKit2/PlatformMac.cmake
r209640 r209665 373 373 374 374 list(APPEND WebKit2_INCLUDE_DIRECTORIES 375 "${WEBCORE_DIR}/icu"376 "${WEBCORE_DIR}/editing/cocoa"377 "${WEBCORE_DIR}/editing/mac"378 "${WEBCORE_DIR}/platform/cf"379 "${WEBCORE_DIR}/platform/cocoa"380 "${WEBCORE_DIR}/platform/graphics/cocoa"381 "${WEBCORE_DIR}/platform/mac"382 "${WEBCORE_DIR}/platform/network/cf"383 "${WEBCORE_DIR}/platform/network/cocoa"384 "${WEBCORE_DIR}/platform/spi/cocoa"385 "${WEBCORE_DIR}/platform/spi/mac"386 "${WEBCORE_DIR}/platform/graphics/ca"387 "${WEBCORE_DIR}/platform/graphics/cg"388 "${WEBCORE_DIR}/platform/graphics/opentype"389 375 "${WEBKIT2_DIR}/NetworkProcess/cocoa" 390 376 "${WEBKIT2_DIR}/NetworkProcess/mac" … … 424 410 "${WEBKIT2_DIR}/WebProcess/WebPage/mac" 425 411 "${WEBKIT2_DIR}/WebProcess/WebCoreSupport/mac" 426 "${DERIVED_SOURCES_DIR}/ForwardingHeaders"427 412 "${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebCore" 428 )429 430 # This is needed because of a naming conflict with DiagnosticLoggingClient.h.431 # FIXME: Rename one of the DiagnosticLoggingClient headers.432 list(REMOVE_ITEM WebKit2_INCLUDE_DIRECTORIES433 "${WEBCORE_DIR}/page"434 )435 list(APPEND WebKit2_INCLUDE_DIRECTORIES436 "${WEBCORE_DIR}/page"437 413 ) 438 414 -
trunk/Source/cmake/WebKitMacros.cmake
r208357 r209665 293 293 294 294 macro(WEBKIT_FRAMEWORK _target) 295 include_directories(${${_target}_INCLUDE_DIRECTORIES})296 295 include_directories(SYSTEM ${${_target}_SYSTEM_INCLUDE_DIRECTORIES}) 297 296 add_library(${_target} ${${_target}_LIBRARY_TYPE} … … 299 298 ${${_target}_SOURCES} 300 299 ) 300 target_include_directories(${_target} PUBLIC "$<BUILD_INTERFACE:${${_target}_INCLUDE_DIRECTORIES}>") 301 301 target_link_libraries(${_target} ${${_target}_LIBRARIES}) 302 302 set_target_properties(${_target} PROPERTIES COMPILE_DEFINITIONS "BUILDING_${_target}") -
trunk/Tools/ChangeLog
r209655 r209665 1 2016-12-10 Konstantin Tokarev <annulen@yandex.ru> 2 3 [cmake] Include WTF, JSC, and WebCore headers automatically to targers using them 4 https://bugs.webkit.org/show_bug.cgi?id=165686 5 6 Reviewed by Michael Catanzaro. 7 8 This change reduces duplication of include path lists between modules, 9 and reduces future need for fixes like r209605 (broken build because of 10 WebCore header suddenly becoming used in WebKit2). 11 12 * DumpRenderTree/CMakeLists.txt: 13 * DumpRenderTree/PlatformMac.cmake: 14 * ImageDiff/CMakeLists.txt: 15 * MiniBrowser/gtk/CMakeLists.txt: 16 * MiniBrowser/mac/CMakeLists.txt: 17 * MiniBrowser/win/CMakeLists.txt: 18 * TestWebKitAPI/CMakeLists.txt: 19 * TestWebKitAPI/PlatformEfl.cmake: 20 * TestWebKitAPI/PlatformJSCOnly.cmake: 21 * TestWebKitAPI/PlatformMac.cmake: 22 * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt: 23 * WebKitTestRunner/CMakeLists.txt: 24 * WebKitTestRunner/PlatformGTK.cmake: 25 * WebKitTestRunner/PlatformMac.cmake: 26 1 27 2016-12-09 Csaba Osztrogonác <ossy@webkit.org> 2 28 -
trunk/Tools/DumpRenderTree/CMakeLists.txt
r208429 r209665 27 27 28 28 set(DumpRenderTree_INCLUDE_DIRECTORIES 29 ${WEBCORE_DIR}30 ${WEBCORE_DIR}/bindings31 ${WEBCORE_DIR}/bridge32 ${WEBCORE_DIR}/bridge/jsc33 ${WEBCORE_DIR}/css34 ${WEBCORE_DIR}/dom35 ${WEBCORE_DIR}/editing36 ${WEBCORE_DIR}/history37 ${WEBCORE_DIR}/html38 ${WEBCORE_DIR}/inspector39 ${WEBCORE_DIR}/loader40 ${WEBCORE_DIR}/loader/cache41 ${WEBCORE_DIR}/loader/icon42 ${WEBCORE_DIR}/page43 ${WEBCORE_DIR}/page/animation44 ${WEBCORE_DIR}/platform45 ${WEBCORE_DIR}/platform/animation46 ${WEBCORE_DIR}/platform/graphics47 ${WEBCORE_DIR}/platform/graphics/transforms48 ${WEBCORE_DIR}/platform/network49 ${WEBCORE_DIR}/platform/text50 ${WEBCORE_DIR}/plugins51 ${WEBCORE_DIR}/rendering52 ${WEBCORE_DIR}/rendering/shapes53 ${WEBCORE_DIR}/rendering/style54 ${JAVASCRIPTCORE_DIR}55 ${JAVASCRIPTCORE_DIR}/API56 ${JAVASCRIPTCORE_DIR}/assembler57 ${JAVASCRIPTCORE_DIR}/bytecode58 ${JAVASCRIPTCORE_DIR}/dfg59 ${JAVASCRIPTCORE_DIR}/disassembler60 ${JAVASCRIPTCORE_DIR}/domjit61 ${JAVASCRIPTCORE_DIR}/heap62 ${JAVASCRIPTCORE_DIR}/interpreter63 ${JAVASCRIPTCORE_DIR}/jit64 ${JAVASCRIPTCORE_DIR}/llint65 ${JAVASCRIPTCORE_DIR}/parser66 ${JAVASCRIPTCORE_DIR}/profiler67 ${JAVASCRIPTCORE_DIR}/runtime68 ${JAVASCRIPTCORE_DIR}/ForwardingHeaders69 ${DERIVED_SOURCES_DIR}/ForwardingHeaders70 ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}71 29 ${DERIVED_SOURCES_DIR}/DumpRenderTree 72 30 ${WEBKIT_TESTRUNNER_UISCRIPTCONTEXT_DIR} 73 31 ${WEBKIT_TESTRUNNER_SHARED_DIR}/Bindings 74 32 ${TOOLS_DIR}/DumpRenderTree 75 ${WTF_DIR}76 33 ${CMAKE_SOURCE_DIR}/Source 77 ${CMAKE_BINARY_DIR}78 ${DERIVED_SOURCES_DIR}79 ${DERIVED_SOURCES_WEBCORE_DIR}80 ${WEBCORE_DIR}/bindings/js81 34 ${WEBCORE_DIR}/testing/js 82 35 ) -
trunk/Tools/DumpRenderTree/PlatformMac.cmake
r209533 r209665 45 45 ${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebKit 46 46 ${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebKitLegacy 47 ${WTF_DIR}/icu48 47 ) 49 48 -
trunk/Tools/ImageDiff/CMakeLists.txt
r199289 r209665 1 1 set(IMAGE_DIFF_DIR "${TOOLS_DIR}/ImageDiff") 2 3 set(IMAGE_DIFF_INCLUDE_DIRECTORIES4 ${CMAKE_BINARY_DIR}5 ${WTF_DIR}6 )7 2 8 3 set(IMAGE_DIFF_SYSTEM_INCLUDE_DIRECTORIES "") -
trunk/Tools/MiniBrowser/gtk/CMakeLists.txt
r206434 r209665 22 22 23 23 set(MiniBrowser_INCLUDE_DIRECTORIES 24 ${CMAKE_BINARY_DIR}25 24 ${DERIVED_SOURCES_MINIBROWSER_DIR} 26 25 ${DERIVED_SOURCES_WEBKIT2GTK_DIR} -
trunk/Tools/MiniBrowser/mac/CMakeLists.txt
r208429 r209665 17 17 18 18 set(MiniBrowser_INCLUDE_DIRECTORIES 19 ${CMAKE_BINARY_DIR}20 19 ${CMAKE_SOURCE_DIR}/Source 21 ${DERIVED_SOURCES_DIR}22 20 ${DERIVED_SOURCES_DIR}/ForwardingHeaders 23 21 ${FORWARDING_HEADERS_DIR} -
trunk/Tools/MiniBrowser/win/CMakeLists.txt
r201914 r209665 2 2 "${DERIVED_SOURCES_DIR}/ForwardingHeaders" 3 3 "${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebKit" 4 "${WTF_DIR}"5 4 "${CMAKE_SOURCE_DIR}" 6 5 "${CMAKE_SOURCE_DIR}/Source" -
trunk/Tools/TestWebKitAPI/CMakeLists.txt
r208963 r209665 100 100 ${CMAKE_BINARY_DIR} 101 101 ${CMAKE_SOURCE_DIR}/Source 102 ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}103 ${DERIVED_SOURCES_WEBCORE_DIR}104 102 ${JAVASCRIPTCORE_DIR} 105 ${JAVASCRIPTCORE_DIR}/API106 ${JAVASCRIPTCORE_DIR}/ForwardingHeaders107 103 ${THIRDPARTY_DIR}/gtest/include 108 ${WEBCORE_DIR}/css109 ${WEBCORE_DIR}/css/parser110 ${WEBCORE_DIR}/dom111 ${WEBCORE_DIR}/editing112 ${WEBCORE_DIR}/loader/cache113 ${WEBCORE_DIR}/page114 ${WEBCORE_DIR}/platform115 ${WEBCORE_DIR}/platform/animation116 ${WEBCORE_DIR}/platform/graphics117 ${WEBCORE_DIR}/platform/text118 ${WEBCORE_DIR}/platform/network119 ${WEBCORE_DIR}/platform/network/soup120 ${WEBCORE_DIR}/rendering/style121 104 ${WEBKIT2_DIR}/Platform/IPC 122 105 ${WEBKIT2_DIR}/Shared … … 128 111 ${WEBKIT2_DIR}/WebProcess/InjectedBundle 129 112 ${WEBKIT2_DIR}/WebProcess/InjectedBundle/API/c 130 ${WTF_DIR}131 113 ) 132 114 … … 223 205 ) 224 206 207 target_link_libraries(TestWebKitAPIBase ${test_webkit2_api_LIBRARIES}) 208 225 209 add_dependencies(TestWebKitAPIBase WebKit2 ${ForwardingHeadersForTestWebKitAPI_NAME} ${ForwardingNetworkHeadersForTestWebKitAPI_NAME}) 226 210 -
trunk/Tools/TestWebKitAPI/PlatformEfl.cmake
r207325 r209665 10 10 include_directories( 11 11 ${DERIVED_SOURCES_WEBKIT2_DIR}/include 12 ${WTF_DIR}/wtf/efl13 12 ${WEBKIT2_DIR}/UIProcess/API/C/CoordinatedGraphics 14 13 ${WEBKIT2_DIR}/UIProcess/API/C/soup -
trunk/Tools/TestWebKitAPI/PlatformJSCOnly.cmake
r208357 r209665 4 4 include_directories( 5 5 ${DERIVED_SOURCES_DIR}/ForwardingHeaders 6 "${WTF_DIR}/icu"7 6 ) 8 7 -
trunk/Tools/TestWebKitAPI/PlatformMac.cmake
r203447 r209665 4 4 include_directories( 5 5 ${DERIVED_SOURCES_DIR}/ForwardingHeaders 6 "${WTF_DIR}/icu"7 6 ) 8 7 -
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt
r193620 r209665 13 13 14 14 include_directories( 15 ${CMAKE_BINARY_DIR}16 15 ${CMAKE_SOURCE_DIR}/Source 17 16 ${CMAKE_SOURCE_DIR}/Source/WTF 18 ${DERIVED_SOURCES_DIR}19 17 ${DERIVED_SOURCES_WEBKIT2GTK_DIR} 20 18 ${FORWARDING_HEADERS_DIR} -
trunk/Tools/WebKitTestRunner/CMakeLists.txt
r207617 r209665 36 36 ${WEBKIT_TESTRUNNER_UISCRIPTCONTEXT_DIR} 37 37 ${WEBKIT_TESTRUNNER_BINDINGS_DIR} 38 ${JAVASCRIPTCORE_DIR}39 ${JAVASCRIPTCORE_DIR}/ForwardingHeaders40 ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}41 ${WEBCORE_DIR}/editing42 ${WEBCORE_DIR}/platform43 ${WEBCORE_DIR}/platform/graphics44 ${WEBCORE_DIR}/platform/graphics/harfbuzz45 ${WEBCORE_DIR}/platform/graphics/harfbuzz/ng46 ${WEBCORE_DIR}/platform/network47 ${WEBCORE_DIR}/platform/text48 38 ${WEBCORE_DIR}/testing/js 49 39 ${WEBKIT2_DIR}/Platform/IPC … … 55 45 ${WEBKIT2_DIR}/WebProcess/InjectedBundle 56 46 ${WEBKIT2_DIR}/WebProcess/InjectedBundle/API/c 57 ${WTF_DIR}58 47 ${DERIVED_SOURCES_DIR}/InjectedBundle 59 48 ${DERIVED_SOURCES_DIR}/UIScriptContext 60 ${CMAKE_BINARY_DIR}61 49 ${CMAKE_SOURCE_DIR}/Source 62 50 ) -
trunk/Tools/WebKitTestRunner/PlatformGTK.cmake
r205012 r209665 16 16 list(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES 17 17 ${FORWARDING_HEADERS_DIR} 18 ${WTF_DIR}/wtf/glib19 18 ) 20 19 -
trunk/Tools/WebKitTestRunner/PlatformMac.cmake
r201877 r209665 29 29 ${WEBKIT_TESTRUNNER_DIR}/mac 30 30 ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/mac 31 ${WTF_DIR}/icu32 31 ${CMAKE_SOURCE_DIR}/WebKitLibraries 33 32 )
Note: See TracChangeset
for help on using the changeset viewer.