Changeset 244443 in webkit
- Timestamp:
- Apr 18, 2019 4:20:26 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeLists.txt
r244440 r244443 3 3 include(WebKitCommon) 4 4 include(WebCoreMacros.cmake) 5 include(Headers.cmake) 5 6 6 7 set_property(DIRECTORY . PROPERTY FOLDER "WebCore") … … 16 17 ) 17 18 19 set(WebCore_INCLUDE_DIRECTORIES 20 "${JavaScriptCore_PRIVATE_FRAMEWORK_HEADERS_DIR}" 21 "${PAL_FRAMEWORK_HEADERS_DIR}" 22 ) 23 18 24 set(WebCore_PRIVATE_INCLUDE_DIRECTORIES 19 25 "${CMAKE_BINARY_DIR}" 20 )21 22 set(WebCore_INCLUDE_DIRECTORIES23 26 "${WebCore_DERIVED_SOURCES_DIR}" 24 "${JavaScriptCore_PRIVATE_FRAMEWORK_HEADERS_DIR}"25 "${PAL_FRAMEWORK_HEADERS_DIR}"26 27 "${WEBCORE_DIR}" 27 28 "${WEBCORE_DIR}/Modules/airplay" … … 1144 1145 1145 1146 if (ENABLE_GAMEPAD) 1146 list(APPEND WebCore_ INCLUDE_DIRECTORIES1147 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 1147 1148 "${WEBCORE_DIR}/Modules/gamepad" 1148 1149 ) … … 1489 1490 endif () 1490 1491 1491 list(APPEND WebCore_ INCLUDE_DIRECTORIES1492 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 1492 1493 "${ANGLE_FORWARDING_HEADERS_DIR}" 1493 1494 "${WEBCORE_DIR}/platform/graphics/gpu" … … 1651 1652 1652 1653 if (USE_OPENVR) 1653 list(APPEND WebCore_ INCLUDE_DIRECTORIES "${THIRDPARTY_DIR}/openvr/headers")1654 list(APPEND WebCore_ INCLUDE_DIRECTORIES "${WEBCORE_DIR}/platform/vr/openvr")1654 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES "${THIRDPARTY_DIR}/openvr/headers") 1655 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES "${WEBCORE_DIR}/platform/vr/openvr") 1655 1656 list(APPEND WebCore_LIBRARIES openvr_api) 1656 1657 endif () 1657 1658 1658 1659 if (USE_WOFF2) 1659 list(APPEND WebCore_ INCLUDE_DIRECTORIES "${WOFF2DEC_INCLUDE_DIRS}")1660 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES "${WOFF2DEC_INCLUDE_DIRS}") 1660 1661 list(APPEND WebCore_LIBRARIES "${WOFF2DEC_LIBRARIES}") 1661 1662 endif () 1662 1663 1663 1664 if (USE_XDGMIME) 1664 list(APPEND WebCore_ INCLUDE_DIRECTORIES "${THIRDPARTY_DIR}/xdgmime/src")1665 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES "${THIRDPARTY_DIR}/xdgmime/src") 1665 1666 list(APPEND WebCore_LIBRARIES xdgmime) 1666 1667 endif () 1667 1668 1668 1669 if (USE_LIBWEBRTC) 1669 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES "${THIRDPARTY_DIR}/libwebrtc/Source/"1670 "${THIRDPARTY_DIR}/libwebrtc/Source/webrtc"1671 "${THIRDPARTY_DIR}/libwebrtc/Source/third_party/abseil-cpp")1672 list(APPEND WebCore_LIBRARIES webrtc)1673 list(APPEND WebCore_SOURCES1674 Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.cpp1675 Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.cpp1676 Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp1677 Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp1678 Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp1679 Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp1680 Modules/mediastream/libwebrtc/LibWebRTCRtpTransceiverBackend.cpp1681 Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp1682 1683 endif () 1684 1685 set(WebCoreTestSupport_ INCLUDE_DIRECTORIES1670 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES "${THIRDPARTY_DIR}/libwebrtc/Source/" 1671 "${THIRDPARTY_DIR}/libwebrtc/Source/webrtc" 1672 "${THIRDPARTY_DIR}/libwebrtc/Source/third_party/abseil-cpp") 1673 list(APPEND WebCore_LIBRARIES webrtc) 1674 list(APPEND WebCore_SOURCES 1675 Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.cpp 1676 Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp 1677 Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp 1678 Modules/mediastream/libwebrtc/LibWebRTCRtpReceiverBackend.cpp 1679 Modules/mediastream/libwebrtc/LibWebRTCRtpSenderBackend.cpp 1680 Modules/mediastream/libwebrtc/LibWebRTCRtpTransceiverBackend.cpp 1681 Modules/mediastream/libwebrtc/LibWebRTCStatsCollector.cpp 1682 Modules/mediastream/libwebrtc/LibWebRTCUtils.cpp 1683 ) 1684 endif () 1685 1686 set(WebCoreTestSupport_PRIVATE_INCLUDE_DIRECTORIES 1686 1687 "${WEBCORE_DIR}/platform/mock" 1687 1688 "${WEBCORE_DIR}/testing" … … 1759 1760 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() 1760 1761 1762 WEBKIT_MAKE_FORWARDING_HEADERS(WebCore 1763 TARGET_NAME WebCorePrivateFrameworkHeaders 1764 DESTINATION ${WebCore_PRIVATE_FRAMEWORK_HEADERS_DIR}/WebCore 1765 FILES ${WebCore_PRIVATE_FRAMEWORK_HEADERS} 1766 FLATTENED 1767 ) 1761 1768 1762 1769 # Generate CommandLineAPIModuleSource.h … … 2055 2062 list(APPEND WebCore_SOURCES ${WebCore_DERIVED_SOURCES_DIR}/XMLNSNames.cpp) 2056 2063 2057 2058 2064 GENERATE_DOM_NAMES(XML ${WEBCORE_DIR}/xml/xmlattrs.in) 2059 2065 list(APPEND WebCore_SOURCES ${WebCore_DERIVED_SOURCES_DIR}/XMLNames.cpp) … … 2068 2074 endif () 2069 2075 2070 2071 2076 WEBKIT_FRAMEWORK(WebCore) 2072 2077 2073 2078 add_dependencies(WebCore WebCoreBindings) 2079 add_dependencies(WebCorePrivateFrameworkHeaders WebCoreBindings) 2074 2080 2075 2081 if (APPLE) … … 2101 2107 add_dependencies(WebCoreTestSupport WebCore WebCoreTestSupportBindings) 2102 2108 target_include_directories(WebCoreTestSupport PUBLIC ${WebCoreTestSupport_INCLUDE_DIRECTORIES} ${WebCore_INCLUDE_DIRECTORIES}) 2109 target_include_directories(WebCoreTestSupport PRIVATE ${WebCoreTestSupport_PRIVATE_INCLUDE_DIRECTORIES} ${WebCore_PRIVATE_INCLUDE_DIRECTORIES}) 2103 2110 target_include_directories(WebCoreTestSupport SYSTEM PUBLIC ${WebCore_SYSTEM_INCLUDE_DIRECTORIES}) 2104 2111 target_link_libraries(WebCoreTestSupport ${WebCoreTestSupport_LIBRARIES}) -
trunk/Source/WebCore/ChangeLog
r244442 r244443 1 2019-04-18 Don Olmstead <don.olmstead@sony.com> 2 3 [CMake] Make WebCore headers copies 4 https://bugs.webkit.org/show_bug.cgi?id=182512 5 <rdar://problem/37510435> 6 7 Reviewed by Alex Christensen. 8 9 The header copying is moved to a target WebCorePrivateFrameworkHeaders. This target was 10 originally Windows only but now this is enabled for all CMake based ports. 11 12 Enumerated all headers within WebCore that are used for WebKit(Legacy), tools and 13 tests. Shared headers are within Headers.cmake while port and platform specific headers 14 are in their respective CMake files. Listing out all headers is preferred because globbing 15 will break the build whenever a file is added. 16 17 All include directories within the WebCore source tree are now PRIVATE. They were 18 modified to use WebCore_PRIVATE_INCLUDE_DIRECTORIES. They will not propagate to other targets 19 which will prevent erroneous includes in targets dependent on WebCore. 20 21 * CMakeLists.txt: 22 * Headers.cmake: Added. 23 * PlatformAppleWin.cmake: 24 * PlatformGTK.cmake: 25 * PlatformMac.cmake: 26 * PlatformPlayStation.cmake: 27 * PlatformWPE.cmake: 28 * PlatformWin.cmake: 29 * PlatformWinCairo.cmake: 30 * platform/Cairo.cmake: 31 * platform/Curl.cmake: 32 * platform/FreeType.cmake: 33 * platform/GStreamer.cmake: 34 * platform/HolePunch.cmake: 35 * platform/ImageDecoders.cmake: 36 * platform/Soup.cmake: Added. 37 * platform/TextureMapper.cmake: 38 1 39 2019-04-18 Justin Fan <justin_fan@apple.com> 2 40 -
trunk/Source/WebCore/PlatformAppleWin.cmake
r241876 r244443 2 2 -DDISABLE_3D_TRANSFORMS -DWEBCORE_CONTEXT_MENUS -DPSAPI_VERSION=1) 3 3 4 list(APPEND WebCore_ INCLUDE_DIRECTORIES4 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 5 5 "${WEBKIT_LIBRARIES_DIR}/include" 6 6 "${WEBCORE_DIR}/loader/archive/cf" … … 12 12 "${WEBCORE_DIR}/platform/network/cf" 13 13 ) 14 15 if (${USE_DIRECT2D})16 list(APPEND WebCore_INCLUDE_DIRECTORIES17 "${WEBCORE_DIR}/platform/graphics/win"18 )19 else ()20 list(APPEND WebCore_INCLUDE_DIRECTORIES21 "${WEBCORE_DIR}/platform/graphics/avfoundation"22 "${WEBCORE_DIR}/platform/graphics/avfoundation/cf"23 "${WEBCORE_DIR}/platform/graphics/ca"24 "${WEBCORE_DIR}/platform/graphics/ca/win"25 "${WEBCORE_DIR}/platform/graphics/cg"26 )27 endif ()28 14 29 15 list(APPEND WebCore_SOURCES … … 70 56 ) 71 57 58 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 59 platform/network/cf/AuthenticationCF.h 60 platform/network/cf/AuthenticationChallenge.h 61 platform/network/cf/CertificateInfo.h 62 platform/network/cf/DownloadBundle.h 63 platform/network/cf/LoaderRunLoopCF.h 64 platform/network/cf/ProtectionSpaceCFNet.h 65 platform/network/cf/ResourceError.h 66 platform/network/cf/ResourceRequest.h 67 platform/network/cf/ResourceRequestCFNet.h 68 platform/network/cf/ResourceResponse.h 69 platform/network/cf/SocketStreamHandleImpl.h 70 ) 71 72 72 if (${USE_DIRECT2D}) 73 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 74 "${WEBCORE_DIR}/platform/graphics/win" 75 ) 76 73 77 list(APPEND WebCore_SOURCES 74 78 page/win/FrameWinDirect2D.cpp … … 93 97 ) 94 98 else () 99 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 100 "${WEBCORE_DIR}/platform/graphics/avfoundation" 101 "${WEBCORE_DIR}/platform/graphics/avfoundation/cf" 102 "${WEBCORE_DIR}/platform/graphics/ca" 103 "${WEBCORE_DIR}/platform/graphics/ca/win" 104 "${WEBCORE_DIR}/platform/graphics/cg" 105 ) 106 95 107 list(APPEND WebCore_SOURCES 96 108 page/win/FrameCGWin.cpp … … 148 160 platform/win/DragImageCGWin.cpp 149 161 ) 150 endif ()151 162 152 list(APPEND WebCore_FORWARDING_HEADERS_DIRECTORIES 153 platform/network/cf 154 ) 163 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 164 platform/graphics/ca/GraphicsLayerCA.h 165 platform/graphics/ca/LayerPool.h 166 platform/graphics/ca/PlatformCAAnimation.h 167 platform/graphics/ca/PlatformCAFilters.h 168 platform/graphics/ca/PlatformCALayer.h 169 platform/graphics/ca/PlatformCALayerClient.h 170 platform/graphics/ca/TileController.h 155 171 156 if (${USE_DIRECT2D}) 157 list(APPEND WebCore_FORWARDING_HEADERS_DIRECTORIES 158 platform/graphics/win 159 ) 160 else () 161 list(APPEND WebCore_FORWARDING_HEADERS_DIRECTORIES 162 platform/graphics/ca 163 platform/graphics/cg 172 platform/graphics/ca/win/AbstractCACFLayerTreeHost.h 173 platform/graphics/ca/win/CACFLayerTreeHost.h 174 platform/graphics/ca/win/CACFLayerTreeHostClient.h 175 platform/graphics/ca/win/PlatformCALayerWin.h 164 176 165 platform/graphics/ca/win 166 167 platform/network/cf 177 platform/graphics/cg/GraphicsContextCG.h 178 platform/graphics/cg/IOSurfacePool.h 179 platform/graphics/cg/ImageBufferDataCG.h 180 platform/graphics/cg/ImageBufferUtilitiesCG.h 181 platform/graphics/cg/PDFDocumentImage.h 182 platform/graphics/cg/UTIRegistry.h 168 183 ) 169 184 endif () -
trunk/Source/WebCore/PlatformGTK.cmake
r244292 r244443 4 4 include(platform/GStreamer.cmake) 5 5 include(platform/ImageDecoders.cmake) 6 include(platform/Soup.cmake) 6 7 include(platform/TextureMapper.cmake) 7 8 … … 12 13 13 14 "platform/SourcesGLib.txt" 14 "platform/SourcesSoup.txt" 15 ) 16 17 list(APPEND WebCore_INCLUDE_DIRECTORIES 15 ) 16 17 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 18 18 "${THIRDPARTY_DIR}/ANGLE/" 19 19 "${THIRDPARTY_DIR}/ANGLE/include/KHR" … … 36 36 "${WEBCORE_DIR}/platform/mock/mediasource" 37 37 "${WEBCORE_DIR}/platform/network/gtk" 38 "${WEBCORE_DIR}/platform/network/soup"39 38 "${WEBCORE_DIR}/platform/text/gtk" 40 39 ) … … 75 74 ) 76 75 76 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 77 platform/graphics/x11/PlatformDisplayX11.h 78 platform/graphics/x11/XErrorTrapper.h 79 platform/graphics/x11/XUniquePtr.h 80 platform/graphics/x11/XUniqueResource.h 81 82 platform/gtk/CompositionResults.h 83 platform/gtk/GRefPtrGtk.h 84 platform/gtk/GUniquePtrGtk.h 85 platform/gtk/GtkUtilities.h 86 platform/gtk/GtkVersioning.h 87 platform/gtk/PasteboardHelper.h 88 platform/gtk/SelectionData.h 89 90 platform/text/enchant/TextCheckerEnchant.h 91 ) 92 77 93 list(APPEND WebCore_USER_AGENT_STYLE_SHEETS 78 94 ${WEBCORE_DIR}/css/mediaControlsGtk.css … … 89 105 list(APPEND WebCore_LIBRARIES 90 106 ${ATK_LIBRARIES} 91 ${CAIRO_LIBRARIES}92 107 ${ENCHANT_LIBRARIES} 93 108 ${GLIB_GIO_LIBRARIES} … … 97 112 ${LIBSECCOMP_LIBRARIES} 98 113 ${LIBSECRET_LIBRARIES} 99 ${LIBSOUP_LIBRARIES}100 114 ${LIBTASN1_LIBRARIES} 101 115 ${HYPHEN_LIBRARIES} … … 111 125 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES 112 126 ${ATK_INCLUDE_DIRS} 113 ${CAIRO_INCLUDE_DIRS}114 127 ${ENCHANT_INCLUDE_DIRS} 115 128 ${GIO_UNIX_INCLUDE_DIRS} … … 117 130 ${LIBSECCOMP_INCLUDE_DIRS} 118 131 ${LIBSECRET_INCLUDE_DIRS} 119 ${LIBSOUP_INCLUDE_DIRS}120 132 ${LIBTASN1_INCLUDE_DIRS} 121 133 ${UPOWERGLIB_INCLUDE_DIRS} … … 165 177 166 178 if (ENABLE_WAYLAND_TARGET) 179 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 180 platform/graphics/wayland/PlatformDisplayWayland.h 181 platform/graphics/wayland/WlUniquePtr.h 182 ) 167 183 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES 168 184 ${WAYLAND_INCLUDE_DIRS} … … 192 208 include_directories( 193 209 ${WebCore_INCLUDE_DIRECTORIES} 210 ${WebCore_PRIVATE_INCLUDE_DIRECTORIES} 194 211 "${WEBCORE_DIR}/bindings/gobject/" 195 212 ) -
trunk/Source/WebCore/PlatformMac.cmake
r244081 r244443 71 71 endif () 72 72 73 list(APPEND WebCore_ INCLUDE_DIRECTORIES73 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 74 74 "${CMAKE_SOURCE_DIR}/Source" 75 75 "${THIRDPARTY_DIR}/ANGLE" … … 429 429 ) 430 430 431 # FIXME: We do not need everything from all of these directories. 432 # Move some to WebCore_FORWARDING_HEADERS_FILES once people start actually maintaining this. 433 set(WebCore_FORWARDING_HEADERS_DIRECTORIES 434 accessibility 435 bridge 436 contentextensions 437 crypto 438 css 439 dom 440 editing 441 fileapi 442 history 443 html 444 inspector 445 loader 446 page 447 platform 448 plugins 449 rendering 450 replay 451 storage 452 style 453 svg 454 workers 455 456 workers/service/context 457 458 Modules/applepay 459 Modules/applicationmanifest 460 Modules/cache 461 Modules/geolocation 462 Modules/indexeddb 463 Modules/mediastream 464 Modules/notifications 465 Modules/webdatabase 466 Modules/websockets 467 468 Modules/indexeddb/client 469 Modules/indexeddb/shared 470 Modules/indexeddb/server 471 472 bindings/js 473 474 bridge/objc 475 bridge/jsc 476 477 css/parser 478 479 editing/cocoa 480 editing/mac 481 editing/ios 482 483 html/canvas 484 html/forms 485 html/parser 486 html/shadow 487 html/track 488 489 inspector/agents 490 491 loader/appcache 492 loader/archive 493 loader/cache 494 loader/cocoa 495 496 loader/archive/cf 497 498 page/animation 499 page/cocoa 500 page/csp 501 page/mac 502 page/scrolling 503 504 page/scrolling/mac 505 506 platform/animation 507 platform/audio 508 platform/cf 509 platform/cocoa 510 platform/ios 511 platform/graphics 512 platform/mac 513 platform/mediastream 514 platform/mock 515 platform/network 516 platform/sql 517 platform/text 518 519 platform/audio/cocoa 520 521 platform/gamepad/cocoa 522 platform/gamepad/mac 523 524 platform/graphics/avfoundation 525 platform/graphics/ca 526 platform/graphics/cocoa 527 platform/graphics/cg 528 platform/graphics/filters 529 platform/graphics/opentype 530 platform/graphics/mac 531 platform/graphics/transforms 532 533 platform/graphics/ca/cocoa 534 535 platform/mediastream/libwebrtc 536 537 platform/network/cf 538 platform/network/cocoa 539 platform/network/mac 540 541 platform/spi/cf 542 platform/spi/cg 543 platform/spi/cocoa 544 platform/spi/mac 545 546 rendering/line 547 rendering/style 548 549 svg/graphics 550 svg/properties 551 552 workers/service 553 554 workers/service/server 555 556 xml 557 ) 558 559 set(WebCore_FORWARDING_HEADERS_FILES 560 Modules/webdatabase/DatabaseDetails.h 561 562 bridge/IdentifierRep.h 563 bridge/npruntime_impl.h 564 bridge/npruntime_internal.h 565 566 contentextensions/CompiledContentExtension.h 567 568 editing/EditAction.h 569 editing/EditingBehaviorTypes.h 570 editing/EditingBoundary.h 571 editing/FindOptions.h 572 editing/FrameSelection.h 573 editing/TextAffinity.h 574 431 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 432 accessibility/mac/WebAccessibilityObjectWrapperBase.h 433 accessibility/mac/WebAccessibilityObjectWrapperMac.h 434 435 editing/cocoa/DataDetection.h 436 editing/cocoa/HTMLConverter.h 437 438 editing/mac/AlternativeTextUIController.h 439 editing/mac/DictionaryLookup.h 575 440 editing/mac/TextAlternativeWithRange.h 576 577 history/HistoryItem.h 578 history/PageCache.h 579 580 html/HTMLMediaElement.h 581 582 loader/appcache/ApplicationCacheStorage.h 583 584 loader/icon/IconDatabase.h 585 loader/icon/IconDatabaseBase.h 586 loader/icon/IconDatabaseClient.h 441 editing/mac/TextUndoInsertionMarkupMac.h 442 443 loader/archive/cf/LegacyWebArchive.h 587 444 588 445 loader/mac/LoaderNSURLExtras.h 589 446 590 platform/PlatformExportMacros.h 591 592 platform/audio/AudioHardwareListener.h 447 page/mac/TextIndicatorWindow.h 448 page/mac/WebCoreFrameView.h 449 450 page/scrolling/cocoa/ScrollingTreeFixedNode.h 451 page/scrolling/cocoa/ScrollingTreePositionedNode.h 452 page/scrolling/cocoa/ScrollingTreeStickyNode.h 453 454 page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h 455 page/scrolling/mac/ScrollingTreeOverflowScrollingNodeMac.h 456 page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.h 457 458 platform/audio/cocoa/MediaSessionManagerCocoa.h 459 platform/audio/cocoa/WebAudioBufferList.h 460 461 platform/audio/mac/CAAudioStreamDescription.h 462 platform/audio/mac/CARingBuffer.h 593 463 594 464 platform/cf/RunLoopObserver.h 595 465 596 platform/cocoa/MachSendRight.h 597 platform/cocoa/SoftLinking.h 598 466 platform/cocoa/PlatformView.h 467 platform/cocoa/PlaybackSessionInterface.h 468 platform/cocoa/PlaybackSessionModel.h 469 platform/cocoa/PlaybackSessionModelMediaElement.h 470 platform/cocoa/ScrollController.h 471 platform/cocoa/ScrollSnapAnimatorState.h 472 platform/cocoa/SearchPopupMenuCocoa.h 473 platform/cocoa/SystemVersion.h 474 platform/cocoa/VideoFullscreenChangeObserver.h 475 platform/cocoa/VideoFullscreenModel.h 476 platform/cocoa/VideoFullscreenModelVideoElement.h 477 478 platform/gamepad/cocoa/GameControllerGamepadProvider.h 479 480 platform/gamepad/mac/HIDGamepad.h 481 platform/gamepad/mac/HIDGamepadProvider.h 482 483 platform/graphics/avfoundation/MediaPlaybackTargetMac.h 484 platform/graphics/avfoundation/WebMediaSessionManagerMac.h 485 486 platform/graphics/avfoundation/objc/AVFoundationMIMETypeCache.h 487 488 platform/graphics/ca/GraphicsLayerCA.h 489 platform/graphics/ca/LayerPool.h 490 platform/graphics/ca/PlatformCAAnimation.h 491 platform/graphics/ca/PlatformCAFilters.h 492 platform/graphics/ca/PlatformCALayer.h 493 platform/graphics/ca/PlatformCALayerClient.h 494 platform/graphics/ca/TileController.h 495 496 platform/graphics/ca/cocoa/PlatformCAAnimationCocoa.h 497 platform/graphics/ca/cocoa/PlatformCALayerCocoa.h 498 499 platform/graphics/cg/GraphicsContextCG.h 500 platform/graphics/cg/IOSurfacePool.h 501 platform/graphics/cg/ImageBufferDataCG.h 502 platform/graphics/cg/ImageBufferUtilitiesCG.h 503 platform/graphics/cg/PDFDocumentImage.h 504 platform/graphics/cg/UTIRegistry.h 505 506 platform/graphics/cocoa/FontCacheCoreText.h 507 platform/graphics/cocoa/FontFamilySpecificationCoreText.h 599 508 platform/graphics/cocoa/IOSurface.h 600 601 platform/graphics/transforms/AffineTransform.h 602 509 platform/graphics/cocoa/WebActionDisablingCALayerDelegate.h 510 platform/graphics/cocoa/WebCoreCALayerExtras.h 511 512 platform/graphics/mac/ColorMac.h 513 platform/graphics/mac/SwitchingGPUClient.h 514 platform/graphics/mac/WebLayer.h 515 516 platform/mac/DynamicLinkerInterposing.h 517 platform/mac/LegacyNSPasteboardTypes.h 518 platform/mac/LocalDefaultSystemAppearance.h 519 platform/mac/NSScrollerImpDetails.h 520 platform/mac/PasteboardWriter.h 521 platform/mac/PlatformEventFactoryMac.h 522 platform/mac/PlaybackSessionInterfaceMac.h 523 platform/mac/PluginBlacklist.h 524 platform/mac/ScrollbarThemeMac.h 525 platform/mac/StringUtilities.h 526 platform/mac/VideoFullscreenInterfaceMac.h 527 platform/mac/WebCoreFullScreenPlaceholderView.h 528 platform/mac/WebCoreFullScreenWindow.h 529 platform/mac/WebCoreNSFontManagerExtras.h 530 platform/mac/WebCoreNSURLExtras.h 531 platform/mac/WebCoreObjCExtras.h 532 platform/mac/WebCoreView.h 533 platform/mac/WebGLBlacklist.h 534 platform/mac/WebNSAttributedStringExtras.h 535 platform/mac/WebPlaybackControlsManager.h 536 537 platform/mediastream/libwebrtc/LibWebRTCProviderCocoa.h 538 539 platform/mediastream/mac/WebAudioSourceProviderAVFObjC.h 540 541 platform/network/cf/AuthenticationCF.h 542 platform/network/cf/AuthenticationChallenge.h 603 543 platform/network/cf/CertificateInfo.h 544 platform/network/cf/DownloadBundle.h 545 platform/network/cf/LoaderRunLoopCF.h 546 platform/network/cf/ProtectionSpaceCFNet.h 547 platform/network/cf/ResourceError.h 548 platform/network/cf/ResourceRequest.h 549 platform/network/cf/ResourceRequestCFNet.h 604 550 platform/network/cf/ResourceResponse.h 551 platform/network/cf/SocketStreamHandleImpl.h 552 553 platform/network/cocoa/CookieStorageObserver.h 554 platform/network/cocoa/CredentialCocoa.h 555 platform/network/cocoa/ProtectionSpaceCocoa.h 556 platform/network/cocoa/WebCoreNSURLSession.h 605 557 606 558 platform/network/mac/AuthenticationMac.h 607 608 platform/sql/SQLiteDatabase.h 609 610 rendering/style/RenderStyleConstants.h 559 platform/network/mac/FormDataStreamMac.h 560 platform/network/mac/UTIUtilities.h 561 platform/network/mac/WebCoreURLResponse.h 611 562 ) 612 563 … … 614 565 Modules/plugins/QuickTimePluginReplacement.idl 615 566 ) 616 617 WEBKIT_CREATE_FORWARDING_HEADERS(WebCore DIRECTORIES ${WebCore_FORWARDING_HEADERS_DIRECTORIES} FILES ${WebCore_FORWARDING_HEADERS_FILES})618 567 619 568 set(FEATURE_DEFINES_OBJECTIVE_C "LANGUAGE_OBJECTIVE_C=1 ${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}") -
trunk/Source/WebCore/PlatformPlayStation.cmake
r240437 r244443 5 5 include(platform/TextureMapper.cmake) 6 6 7 list(APPEND WebCore_ INCLUDE_DIRECTORIES7 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 8 8 ${THIRDPARTY_DIR}/ANGLE/ 9 9 ${THIRDPARTY_DIR}/ANGLE/include/KHR -
trunk/Source/WebCore/PlatformWPE.cmake
r242033 r244443 4 4 include(platform/GStreamer.cmake) 5 5 include(platform/ImageDecoders.cmake) 6 include(platform/Soup.cmake) 6 7 include(platform/TextureMapper.cmake) 7 8 … … 14 15 15 16 "platform/SourcesGLib.txt" 16 "platform/SourcesSoup.txt"17 17 ) 18 18 … … 20 20 list(APPEND ANGLE_PLATFORM_DEFINITIONS "USE_WPE") 21 21 22 list(APPEND WebCore_ INCLUDE_DIRECTORIES22 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 23 23 "${THIRDPARTY_DIR}/ANGLE/" 24 24 "${THIRDPARTY_DIR}/ANGLE/include/KHR" … … 34 34 "${WEBCORE_DIR}/platform/mediacapabilities" 35 35 "${WEBCORE_DIR}/platform/mediastream/gstreamer" 36 "${WEBCORE_DIR}/platform/network/soup"37 36 "${WEBCORE_DIR}/platform/text/icu" 37 ) 38 39 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 40 platform/graphics/wayland/PlatformDisplayWayland.h 41 platform/graphics/wayland/WlUniquePtr.h 38 42 ) 39 43 … … 50 54 51 55 list(APPEND WebCore_LIBRARIES 52 ${CAIRO_LIBRARIES}53 56 ${GLIB_GIO_LIBRARIES} 54 57 ${GLIB_GMODULE_LIBRARIES} … … 56 59 ${GLIB_LIBRARIES} 57 60 ${ICU_LIBRARIES} 58 ${LIBSOUP_LIBRARIES}59 61 ${LIBTASN1_LIBRARIES} 60 62 ${UPOWERGLIB_LIBRARIES} … … 63 65 64 66 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES 65 ${CAIRO_INCLUDE_DIRS}66 67 ${GIO_UNIX_INCLUDE_DIRS} 67 68 ${GLIB_INCLUDE_DIRS} 68 69 ${ICU_INCLUDE_DIRS} 69 ${LIBSOUP_INCLUDE_DIRS}70 70 ${LIBTASN1_INCLUDE_DIRS} 71 71 ${UPOWERGLIB_INCLUDE_DIRS} -
trunk/Source/WebCore/PlatformWin.cmake
r244292 r244443 1 1 add_definitions(/bigobj -D__STDC_CONSTANT_MACROS) 2 2 3 list(APPEND WebCore_ INCLUDE_DIRECTORIES3 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 4 4 "${CMAKE_BINARY_DIR}/../include/private" 5 5 "${CMAKE_BINARY_DIR}/../include/private/JavaScriptCore" … … 116 116 ) 117 117 118 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 119 accessibility/win/AccessibilityObjectWrapperWin.h 120 121 page/win/FrameWin.h 122 123 platform/graphics/win/DIBPixelData.h 124 platform/graphics/win/FullScreenController.h 125 platform/graphics/win/FullScreenControllerClient.h 126 platform/graphics/win/ImageBufferDataDirect2D.h 127 platform/graphics/win/LocalWindowsContext.h 128 platform/graphics/win/MediaPlayerPrivateFullscreenWindow.h 129 platform/graphics/win/SharedGDIObject.h 130 131 platform/win/BString.h 132 platform/win/BitmapInfo.h 133 platform/win/COMPtr.h 134 platform/win/DefWndProcWindowClass.h 135 platform/win/GDIObjectCounter.h 136 platform/win/GDIUtilities.h 137 platform/win/HWndDC.h 138 platform/win/PopupMenuWin.h 139 platform/win/ScrollbarThemeWin.h 140 platform/win/SearchPopupMenuDB.h 141 platform/win/SearchPopupMenuWin.h 142 platform/win/SystemInfo.h 143 platform/win/WCDataObject.h 144 platform/win/WebCoreBundleWin.h 145 platform/win/WebCoreInstanceHandle.h 146 platform/win/WebCoreTextRenderer.h 147 platform/win/WindowMessageBroadcaster.h 148 platform/win/WindowMessageListener.h 149 platform/win/WindowsTouch.h 150 ) 151 118 152 list(APPEND WebCore_USER_AGENT_STYLE_SHEETS 119 153 ${WEBCORE_DIR}/css/themeWin.css … … 121 155 ) 122 156 123 set(WebCore_FORWARDING_HEADERS_DIRECTORIES124 .125 accessibility126 animation127 bindings128 bridge129 contentextensions130 crypto131 css132 dom133 editing134 fileapi135 history136 html137 inspector138 loader139 page140 platform141 plugins142 rendering143 replay144 storage145 style146 svg147 websockets148 workers149 xml150 151 Modules/cache152 Modules/fetch153 Modules/geolocation154 Modules/indexeddb155 Modules/mediastream156 Modules/websockets157 158 Modules/indexeddb/client159 Modules/indexeddb/legacy160 Modules/indexeddb/server161 Modules/indexeddb/shared162 Modules/notifications163 Modules/webdatabase164 165 accessibility/win166 167 bindings/js168 169 bridge/c170 bridge/jsc171 172 css/parser173 174 html/canvas175 html/forms176 html/parser177 html/shadow178 html/track179 180 loader/appcache181 loader/archive182 loader/cache183 loader/icon184 185 page/animation186 page/csp187 page/scrolling188 page/win189 190 platform/animation191 platform/audio192 platform/graphics193 platform/mediacapabilities194 platform/mock195 platform/network196 platform/sql197 platform/text198 platform/win199 200 platform/graphics/filters201 platform/graphics/opengl202 platform/graphics/opentype203 platform/graphics/texmap204 platform/graphics/transforms205 platform/graphics/win206 207 platform/mediastream/libwebrtc208 209 platform/text/transcoder210 211 rendering/line212 rendering/shapes213 rendering/style214 rendering/svg215 216 svg/animation217 svg/graphics218 svg/properties219 220 svg/graphics/filters221 222 workers/service223 )224 225 if (ENABLE_WEBKIT)226 list(APPEND WebCore_FORWARDING_HEADERS_DIRECTORIES227 Modules/applicationmanifest228 229 dom/messageports230 231 inspector/agents232 233 platform/mediacapabilities234 platform/mediastream235 236 workers/service/context237 workers/service/server238 )239 endif ()240 241 157 if (USE_CF) 242 list(APPEND WebCore_ INCLUDE_DIRECTORIES158 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 243 159 "${WEBCORE_DIR}/platform/cf" 244 160 "${WEBCORE_DIR}/platform/cf/win" … … 259 175 ) 260 176 261 list(APPEND WebCore_FORWARDING_HEADERS_DIRECTORIES 262 history/cf 263 264 loader/archive/cf 265 266 platform/cf 267 268 platform/cf/win 177 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 178 loader/archive/cf/LegacyWebArchive.h 179 180 platform/cf/win/CertificateCFWin.h 269 181 ) 270 182 … … 277 189 278 190 platform/text/Hyphenation.cpp 279 )280 281 list(APPEND WebCore_FORWARDING_HEADERS_DIRECTORIES282 platform/generic283 191 ) 284 192 endif () … … 325 233 endif () 326 234 327 set(WebCore_PRIVATE_FRAMEWORK_HEADERS328 ${WebCore_DERIVED_SOURCES_DIR}/CSSPropertyNames.h329 ${WebCore_DERIVED_SOURCES_DIR}/CSSValueKeywords.h330 ${WebCore_DERIVED_SOURCES_DIR}/EventInterfaces.h331 ${WebCore_DERIVED_SOURCES_DIR}/EventTargetInterfaces.h332 ${WebCore_DERIVED_SOURCES_DIR}/HTMLElementTypeHelpers.h333 ${WebCore_DERIVED_SOURCES_DIR}/HTMLNames.h334 ${WebCore_DERIVED_SOURCES_DIR}/HTTPHeaderNames.h335 ${WebCore_DERIVED_SOURCES_DIR}/JSBlob.h336 ${WebCore_DERIVED_SOURCES_DIR}/JSCSSStyleDeclaration.h337 ${WebCore_DERIVED_SOURCES_DIR}/JSDOMBindingInternalsBuiltins.h338 ${WebCore_DERIVED_SOURCES_DIR}/JSDOMWindow.h339 ${WebCore_DERIVED_SOURCES_DIR}/JSDocument.h340 ${WebCore_DERIVED_SOURCES_DIR}/JSElement.h341 ${WebCore_DERIVED_SOURCES_DIR}/JSEventTarget.h342 ${WebCore_DERIVED_SOURCES_DIR}/JSFile.h343 ${WebCore_DERIVED_SOURCES_DIR}/JSHTMLElement.h344 ${WebCore_DERIVED_SOURCES_DIR}/JSNode.h345 ${WebCore_DERIVED_SOURCES_DIR}/JSNotification.h346 ${WebCore_DERIVED_SOURCES_DIR}/JSRange.h347 ${WebCore_DERIVED_SOURCES_DIR}/JSReadableStream.h348 ${WebCore_DERIVED_SOURCES_DIR}/JSReadableStreamDefaultController.h349 ${WebCore_DERIVED_SOURCES_DIR}/RTCPeerConnectionInternalsBuiltins.h350 ${WebCore_DERIVED_SOURCES_DIR}/ReadableByteStreamInternalsBuiltins.h351 ${WebCore_DERIVED_SOURCES_DIR}/ReadableStreamInternalsBuiltins.h352 ${WebCore_DERIVED_SOURCES_DIR}/Settings.h353 ${WebCore_DERIVED_SOURCES_DIR}/StreamInternalsBuiltins.h354 ${WebCore_DERIVED_SOURCES_DIR}/WebCoreJSBuiltinInternals.h355 ${WebCore_DERIVED_SOURCES_DIR}/WebCoreJSBuiltins.h356 ${WebCore_DERIVED_SOURCES_DIR}/WebKitFontFamilyNames.h357 ${WebCore_DERIVED_SOURCES_DIR}/WritableStreamInternalsBuiltins.h358 )359 360 WEBKIT_MAKE_FORWARDING_HEADERS(WebCore361 TARGET_NAME WebCorePrivateFrameworkHeaders362 DESTINATION ${WebCore_PRIVATE_FRAMEWORK_HEADERS_DIR}/WebCore363 FILES ${WebCore_PRIVATE_FRAMEWORK_HEADERS}364 DIRECTORIES ${WebCore_FORWARDING_HEADERS_DIRECTORIES}365 FLATTENED366 )367 368 add_dependencies(WebCorePrivateFrameworkHeaders WebCoreBindings)369 370 235 set(WebCore_OUTPUT_NAME 371 236 WebCore${DEBUG_SUFFIX} -
trunk/Source/WebCore/PlatformWinCairo.cmake
r241876 r244443 4 4 include(platform/TextureMapper.cmake) 5 5 6 list(APPEND WebCore_ INCLUDE_DIRECTORIES6 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 7 7 "${DirectX_INCLUDE_DIRS}" 8 8 "${WEBKIT_LIBRARIES_DIR}/include" … … 53 53 shlwapi 54 54 ) 55 56 list(APPEND WebCore_FORWARDING_HEADERS_DIRECTORIES57 platform/mediacapabilities58 platform/graphics/cairo59 platform/network/curl60 ) -
trunk/Source/WebCore/platform/Cairo.cmake
r228451 r244443 1 list(APPEND WebCore_ INCLUDE_DIRECTORIES1 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 2 2 "${WEBCORE_DIR}/platform/graphics/cairo" 3 3 ) … … 5 5 list(APPEND WebCore_UNIFIED_SOURCE_LIST_FILES 6 6 "platform/SourcesCairo.txt" 7 ) 8 9 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 10 platform/graphics/cairo/BackingStoreBackendCairo.h 11 platform/graphics/cairo/BackingStoreBackendCairoImpl.h 12 platform/graphics/cairo/BackingStoreBackendCairoX11.h 13 platform/graphics/cairo/CairoOperations.h 14 platform/graphics/cairo/CairoUtilities.h 15 platform/graphics/cairo/GraphicsContextImplCairo.h 16 platform/graphics/cairo/ImageBufferDataCairo.h 17 platform/graphics/cairo/PlatformContextCairo.h 18 platform/graphics/cairo/RefPtrCairo.h 7 19 ) 8 20 -
trunk/Source/WebCore/platform/Curl.cmake
r242207 r244443 1 list(APPEND WebCore_ INCLUDE_DIRECTORIES1 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 2 2 "${WEBCORE_DIR}/platform/network/curl" 3 3 ) … … 36 36 ) 37 37 38 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 39 platform/network/curl/AuthenticationChallenge.h 40 platform/network/curl/CertificateInfo.h 41 platform/network/curl/CookieJarCurl.h 42 platform/network/curl/CookieJarDB.h 43 platform/network/curl/CookieUtil.h 44 platform/network/curl/CurlCacheEntry.h 45 platform/network/curl/CurlCacheManager.h 46 platform/network/curl/CurlContext.h 47 platform/network/curl/CurlDownload.h 48 platform/network/curl/CurlFormDataStream.h 49 platform/network/curl/CurlMultipartHandle.h 50 platform/network/curl/CurlMultipartHandleClient.h 51 platform/network/curl/CurlProxySettings.h 52 platform/network/curl/CurlRequest.h 53 platform/network/curl/CurlRequestClient.h 54 platform/network/curl/CurlRequestSchedulerClient.h 55 platform/network/curl/CurlResourceHandleDelegate.h 56 platform/network/curl/CurlResponse.h 57 platform/network/curl/CurlSSLHandle.h 58 platform/network/curl/DownloadBundle.h 59 platform/network/curl/ProtectionSpaceCurl.h 60 platform/network/curl/ResourceError.h 61 platform/network/curl/ResourceRequest.h 62 platform/network/curl/ResourceResponse.h 63 platform/network/curl/SocketStreamHandleImpl.h 64 ) 65 38 66 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES 39 67 ${CURL_INCLUDE_DIRS} -
trunk/Source/WebCore/platform/FreeType.cmake
r239379 r244443 1 list(APPEND WebCore_ INCLUDE_DIRECTORIES1 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 2 2 "${WEBCORE_DIR}/platform/graphics/freetype" 3 3 "${WEBCORE_DIR}/platform/graphics/harfbuzz" … … 13 13 14 14 platform/graphics/harfbuzz/ComplexTextControllerHarfBuzz.cpp 15 ) 16 17 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 18 platform/graphics/freetype/FcUniquePtr.h 19 platform/graphics/freetype/RefPtrFontconfig.h 20 21 platform/graphics/harfbuzz/HbUniquePtr.h 15 22 ) 16 23 -
trunk/Source/WebCore/platform/GStreamer.cmake
r241585 r244443 1 1 if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO) 2 list(APPEND WebCore_ INCLUDE_DIRECTORIES2 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 3 3 "${WEBCORE_DIR}/platform/graphics/gstreamer" 4 4 "${WEBCORE_DIR}/platform/graphics/gstreamer/mse" … … 58 58 platform/mediastream/gstreamer/RealtimeOutgoingAudioSourceLibWebRTC.cpp 59 59 platform/mediastream/gstreamer/RealtimeOutgoingVideoSourceLibWebRTC.cpp 60 ) 61 62 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 63 platform/graphics/gstreamer/GRefPtrGStreamer.h 64 platform/graphics/gstreamer/GStreamerCommon.h 65 platform/graphics/gstreamer/GUniquePtrGStreamer.h 66 platform/graphics/gstreamer/MediaPlayerRequestInstallMissingPluginsCallback.h 67 68 platform/mediastream/libwebrtc/GStreamerVideoDecoderFactory.h 69 platform/mediastream/libwebrtc/GStreamerVideoEncoderFactory.h 70 platform/mediastream/libwebrtc/LibWebRTCProviderGStreamer.h 60 71 ) 61 72 … … 126 137 127 138 if (ENABLE_WEB_AUDIO) 128 list(APPEND WebCore_ INCLUDE_DIRECTORIES139 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 129 140 "${WEBCORE_DIR}/platform/audio/gstreamer" 130 141 ) … … 149 160 150 161 if (ENABLE_ENCRYPTED_MEDIA) 151 list(APPEND WebCore_ INCLUDE_DIRECTORIES162 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 152 163 "${WEBCORE_DIR}/platform/encryptedmedia/clearkey" 153 ${LIBGCRYPT_INCLUDE_DIRS}154 164 ) 165 155 166 list(APPEND WebCore_SOURCES 156 167 platform/encryptedmedia/clearkey/CDMClearKey.cpp … … 158 169 platform/graphics/gstreamer/eme/CDMFactoryGStreamer.cpp 159 170 ) 171 172 list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES 173 ${LIBGCRYPT_INCLUDE_DIRS} 174 ) 175 160 176 list(APPEND WebCore_LIBRARIES 161 177 ${LIBGCRYPT_LIBRARIES} -lgpg-error -
trunk/Source/WebCore/platform/HolePunch.cmake
r242033 r244443 1 list(APPEND WebCore_ INCLUDE_DIRECTORIES1 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 2 2 "${WEBCORE_DIR}/platform/graphics/holepunch" 3 3 ) -
trunk/Source/WebCore/platform/ImageDecoders.cmake
r240428 r244443 1 list(APPEND WebCore_ INCLUDE_DIRECTORIES1 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 2 2 "${WEBCORE_DIR}/platform/image-decoders" 3 3 "${WEBCORE_DIR}/platform/image-decoders/bmp" -
trunk/Source/WebCore/platform/TextureMapper.cmake
r239667 r244443 1 list(APPEND WebCore_ INCLUDE_DIRECTORIES1 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 2 2 "${WEBCORE_DIR}/platform/graphics/texmap" 3 3 ) 4 4 5 list(APPEND WebCore_SOURCES 5 6 platform/graphics/texmap/BitmapTexture.cpp … … 15 16 ) 16 17 18 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 19 platform/graphics/texmap/BitmapTexture.h 20 platform/graphics/texmap/ClipStack.h 21 platform/graphics/texmap/GraphicsLayerTextureMapper.h 22 platform/graphics/texmap/TextureMapper.h 23 platform/graphics/texmap/TextureMapperAnimation.h 24 platform/graphics/texmap/TextureMapperBackingStore.h 25 platform/graphics/texmap/TextureMapperContextAttributes.h 26 platform/graphics/texmap/TextureMapperFPSCounter.h 27 platform/graphics/texmap/TextureMapperGL.h 28 platform/graphics/texmap/TextureMapperGLHeaders.h 29 platform/graphics/texmap/TextureMapperLayer.h 30 platform/graphics/texmap/TextureMapperPlatformLayer.h 31 platform/graphics/texmap/TextureMapperPlatformLayerProxy.h 32 platform/graphics/texmap/TextureMapperPlatformLayerProxyProvider.h 33 platform/graphics/texmap/TextureMapperTile.h 34 platform/graphics/texmap/TextureMapperTiledBackingStore.h 35 ) 36 17 37 if (USE_TEXTURE_MAPPER_GL) 18 38 list(APPEND WebCore_SOURCES … … 26 46 27 47 if (USE_COORDINATED_GRAPHICS) 28 list(APPEND WebCore_ INCLUDE_DIRECTORIES48 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 29 49 "${WEBCORE_DIR}/page/scrolling/nicosia" 30 50 "${WEBCORE_DIR}/platform/graphics/texmap/coordinated" … … 39 59 platform/graphics/texmap/coordinated/TiledBackingStore.cpp 40 60 ) 61 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 62 platform/graphics/texmap/coordinated/CoordinatedBackingStore.h 63 platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h 64 platform/graphics/texmap/coordinated/CoordinatedGraphicsState.h 65 platform/graphics/texmap/coordinated/SurfaceUpdateInfo.h 66 platform/graphics/texmap/coordinated/Tile.h 67 platform/graphics/texmap/coordinated/TiledBackingStore.h 68 platform/graphics/texmap/coordinated/TiledBackingStoreClient.h 69 ) 41 70 42 71 # FIXME: Move this into Nicosia.cmake once the component is set for long-term use. 43 list(APPEND WebCore_ INCLUDE_DIRECTORIES72 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 44 73 "${WEBCORE_DIR}/platform/graphics/nicosia" 45 74 "${WEBCORE_DIR}/platform/graphics/nicosia/cairo" … … 64 93 platform/graphics/nicosia/texmap/NicosiaImageBackingTextureMapperImpl.cpp 65 94 ) 95 list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS 96 page/scrolling/nicosia/ScrollingTreeFixedNode.h 97 page/scrolling/nicosia/ScrollingTreeStickyNode.h 98 99 platform/graphics/nicosia/NicosiaBuffer.h 100 platform/graphics/nicosia/NicosiaPaintingEngine.h 101 platform/graphics/nicosia/NicosiaPlatformLayer.h 102 platform/graphics/nicosia/NicosiaScene.h 103 104 platform/graphics/nicosia/texmap/NicosiaBackingStoreTextureMapperImpl.h 105 platform/graphics/nicosia/texmap/NicosiaCompositionLayerTextureMapperImpl.h 106 platform/graphics/nicosia/texmap/NicosiaContentLayerTextureMapperImpl.h 107 platform/graphics/nicosia/texmap/NicosiaImageBackingTextureMapperImpl.h 108 ) 66 109 else () 67 110 list(APPEND WebCore_SOURCES -
trunk/Source/WebKit/CMakeLists.txt
r244245 r244443 2 2 3 3 set_property(DIRECTORY . PROPERTY FOLDER "WebKit") 4 5 set(WebKit_PRIVATE_INCLUDE_DIRECTORIES 6 "${CMAKE_BINARY_DIR}" 7 ) 4 8 5 9 set(WebKit_INCLUDE_DIRECTORIES -
trunk/Source/WebKit/ChangeLog
r244441 r244443 1 2019-04-18 Don Olmstead <don.olmstead@sony.com> 2 3 [CMake] Make WebCore headers copies 4 https://bugs.webkit.org/show_bug.cgi?id=182512 5 <rdar://problem/37510435> 6 7 Reviewed by Alex Christensen. 8 9 WebCore now uses WebCore_PRIVATE_INCLUDE_DIRECTORIES for all ports. This revealed 10 problems with WebKit's usage of WebCore headers. All include directories directly 11 referencing the WebCore source tree we're removed from the CMake files. Any includes 12 of WebCore headers using "*.h" were modified to <WebCore/*.h> 13 14 Removed generation of forwarding headers for WebCore using the perl script. 15 16 * CMakeLists.txt: 17 * NetworkProcess/curl/NetworkDataTaskCurl.h: 18 * PlatformWPE.cmake: 19 * PlatformWin.cmake: 20 * Scripts/generate-forwarding-headers.pl: 21 * UIProcess/API/glib/WebKitUserContentFilterStore.cpp: 22 * UIProcess/API/wpe/WebKitColorPrivate.h: 23 * UIProcess/WebsiteData/win/WebsiteDataStoreWin.cpp: 24 * UIProcess/win/PageClientImpl.cpp: 25 1 26 2019-04-18 Chris Dumez <cdumez@apple.com> 2 27 -
trunk/Source/WebKit/NetworkProcess/curl/NetworkDataTaskCurl.h
r243654 r244443 26 26 #pragma once 27 27 28 #include "CurlRequestClient.h"29 28 #include "NetworkDataTask.h" 29 #include <WebCore/CurlRequestClient.h> 30 30 #include <WebCore/NetworkLoadMetrics.h> 31 31 #include <WebCore/ProtectionSpace.h> -
trunk/Source/WebKit/PlatformWPE.cmake
r243409 r244443 233 233 "${DERIVED_SOURCES_DIR}" 234 234 "${DERIVED_SOURCES_WPE_API_DIR}" 235 "${WEBCORE_DIR}/platform/graphics/cairo"236 "${WEBCORE_DIR}/platform/graphics/freetype"237 "${WEBCORE_DIR}/platform/graphics/opentype"238 "${WEBCORE_DIR}/platform/graphics/texmap/coordinated"239 "${WEBCORE_DIR}/platform/network/soup"240 235 "${WEBKIT_DIR}/NetworkProcess/CustomProtocols/soup" 241 236 "${WEBKIT_DIR}/NetworkProcess/soup" -
trunk/Source/WebKit/PlatformWin.cmake
r244245 r244443 175 175 176 176 list(APPEND WebKit_INCLUDE_DIRECTORIES 177 "${WEBCORE_DIR}/platform/network/curl"178 177 "${WEBKIT_DIR}/NetworkProcess/curl" 179 178 "${WEBKIT_DIR}/WebProcess/WebCoreSupport/curl" -
trunk/Source/WebKit/Scripts/generate-forwarding-headers.pl
r228451 r244443 38 38 my $srcRoot = realpath(File::Spec->catfile(dirname(abs_path($0)), "../..")); 39 39 my @platformPrefixes = ("ca", "cf", "cocoa", "Cocoa", "curl", "gtk", "ios", "mac", "soup", "win", "wpe"); 40 my @frameworks = ("Web Core", "WebKit");40 my @frameworks = ("WebKit"); 41 41 my @skippedPrefixes = ("PAL"); 42 42 my @frameworkHeaders; -
trunk/Source/WebKit/UIProcess/API/glib/WebKitUserContentFilterStore.cpp
r241790 r244443 29 29 #include "APIContentRuleList.h" 30 30 #include "APIContentRuleListStore.h" 31 #include "ContentExtensionError.h"32 31 #include "WebKitError.h" 33 32 #include "WebKitUserContent.h" 34 33 #include "WebKitUserContentPrivate.h" 34 #include <WebCore/ContentExtensionError.h> 35 35 #include <glib/gi18n-lib.h> 36 36 #include <wtf/CompletionHandler.h> -
trunk/Source/WebKit/UIProcess/API/wpe/WebKitColorPrivate.h
r242082 r244443 20 20 #pragma once 21 21 22 #include "Color.h"23 22 #include "WebKitColor.h" 23 #include <WebCore/Color.h> 24 24 25 25 void webkitColorFillFromWebCoreColor(const WebCore::Color&, WebKitColor*); -
trunk/Source/WebKit/UIProcess/WebsiteData/win/WebsiteDataStoreWin.cpp
r230982 r244443 27 27 #include "WebsiteDataStore.h" 28 28 29 #include "NotImplemented.h"29 #include <WebCore/NotImplemented.h> 30 30 31 31 namespace WebKit { -
trunk/Source/WebKit/UIProcess/win/PageClientImpl.cpp
r243847 r244443 29 29 30 30 #include "DrawingAreaProxyCoordinatedGraphics.h" 31 #include "NotImplemented.h"32 31 #include "WebContextMenuProxyWin.h" 33 32 #include "WebPageProxy.h" … … 35 34 #include "WebView.h" 36 35 #include <WebCore/DOMPasteAccess.h> 36 #include <WebCore/NotImplemented.h> 37 37 38 38 namespace WebKit { -
trunk/Source/WebKitLegacy/CMakeLists.txt
r244065 r244443 46 46 WEBKIT_FRAMEWORK(WebKitLegacy) 47 47 48 add_dependencies(WebKitLegacy WebCore )48 add_dependencies(WebKitLegacy WebCore WebCorePrivateFrameworkHeaders) 49 49 if (TARGET WebKitLegacyGUID) 50 50 add_dependencies(WebKitLegacy WebKitLegacyGUID) -
trunk/Source/WebKitLegacy/ChangeLog
r244432 r244443 1 2019-04-18 Don Olmstead <don.olmstead@sony.com> 2 3 [CMake] Make WebCore headers copies 4 https://bugs.webkit.org/show_bug.cgi?id=182512 5 <rdar://problem/37510435> 6 7 Reviewed by Alex Christensen. 8 9 Added WebCorePrivateFrameworkHeaders as a dependency of WebKitLegacy for all 10 ports. 11 12 WebCore now uses WebCore_PRIVATE_INCLUDE_DIRECTORIES for all ports. This revealed 13 problems with WebKit's usage of WebCore headers. All include directories directly 14 referencing the WebCore source tree we're removed from the CMake files. 15 16 * CMakeLists.txt: 17 * PlatformWin.cmake: 18 1 19 2019-04-18 Keith Rollin <krollin@apple.com> 2 20 -
trunk/Source/WebKitLegacy/PlatformWin.cmake
r244065 r244443 4 4 ${CAIRO_INCLUDE_DIRS} 5 5 "${WEBKIT_LIBRARIES_DIR}/include" 6 "${WEBCORE_DIR}/platform/graphics/cairo"7 6 ) 8 7 list(APPEND WebKitLegacy_SOURCES_Classes -
trunk/Tools/ChangeLog
r244439 r244443 1 2019-04-18 Don Olmstead <don.olmstead@sony.com> 2 3 [CMake] Make WebCore headers copies 4 https://bugs.webkit.org/show_bug.cgi?id=182512 5 <rdar://problem/37510435> 6 7 Reviewed by Alex Christensen. 8 9 Added WebCorePrivateFrameworkHeaders as a dependency of TestWebKitAPI for all 10 ports. 11 12 WebCore now uses WebCore_PRIVATE_INCLUDE_DIRECTORIES for all ports. Any includes 13 of WebCore headers using "*.h" were modified to <WebCore/*.h> 14 15 * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt: 16 * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit/npapi.h: 17 * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit/npfunctions.h: 18 * DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit/npruntime.h: 19 * TestWebKitAPI/CMakeLists.txt: 20 * TestWebKitAPI/PlatformWin.cmake: 21 * TestWebKitAPI/Tests/WebCore/AbortableTaskQueue.cpp: 22 * TestWebKitAPI/Tests/WebCore/gstreamer/GstMappedBuffer.cpp: 23 * WebKitTestRunner/win/PlatformWebViewWin.cpp: 24 1 25 2019-04-18 Jer Noble <jer.noble@apple.com> 2 26 -
trunk/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt
r228451 r244443 33 33 ${WEBKIT_TESTNETSCAPEPLUGIN_DIR} 34 34 ${WEBKIT_TESTNETSCAPEPLUGIN_DIR}/ForwardingHeaders 35 ${W EBCORE_DIR}35 ${WebCore_PRIVATE_FRAMEWORK_HEADERS_DIR} 36 36 ${WTF_DIR} 37 37 ) … … 62 62 add_library(TestNetscapePlugIn SHARED ${WebKitTestNetscapePlugIn_SOURCES}) 63 63 target_link_libraries(TestNetscapePlugIn ${WebKitTestNetscapePlugIn_LIBRARIES}) 64 add_dependencies(TestNetscapePlugIn WebCorePrivateFrameworkHeaders) 64 65 set_target_properties(TestNetscapePlugIn PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/plugins) 65 66 -
trunk/Tools/DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit/npapi.h
r228451 r244443 1 #include < plugins/npapi.h>1 #include <WebCore/npapi.h> -
trunk/Tools/DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit/npfunctions.h
r228451 r244443 1 #include < plugins/npfunctions.h>1 #include <WebCore/npfunctions.h> -
trunk/Tools/DumpRenderTree/TestNetscapePlugIn/ForwardingHeaders/WebKit/npruntime.h
r228451 r244443 1 #include < plugins/npruntime.h>1 #include <WebCore/npruntime.h> -
trunk/Tools/TestWebKitAPI/CMakeLists.txt
r244065 r244443 22 22 23 23 if (ENABLE_WEBCORE) 24 list(APPEND TestWebKitAPI_DEPENDENCIES PALFrameworkHeaders) 24 list(APPEND TestWebKitAPI_DEPENDENCIES 25 PALFrameworkHeaders 26 WebCorePrivateFrameworkHeaders 27 ) 25 28 endif () 26 29 -
trunk/Tools/TestWebKitAPI/PlatformWin.cmake
r244065 r244443 108 108 endif () 109 109 110 list(APPEND TestWebKitAPI_DEPENDENCIES WebCorePrivateFrameworkHeaders)111 110 if (ENABLE_WEBKIT) 112 111 list(APPEND TestWebKitAPI_DEPENDENCIES WebKitFrameworkHeaders) -
trunk/Tools/TestWebKitAPI/Tests/WebCore/AbortableTaskQueue.cpp
r239427 r244443 27 27 #include "config.h" 28 28 29 #include <AbortableTaskQueue.h>30 #include < Utilities.h>29 #include "Utilities.h" 30 #include <WebCore/AbortableTaskQueue.h> 31 31 #include <wtf/Threading.h> 32 32 -
trunk/Tools/TestWebKitAPI/Tests/WebCore/gstreamer/GstMappedBuffer.cpp
r239921 r244443 30 30 31 31 #include "GStreamerTest.h" 32 #include "SharedBuffer.h"33 32 #include "Test.h" 34 33 #include <WebCore/GStreamerCommon.h> 34 #include <WebCore/SharedBuffer.h> 35 35 36 36 using namespace WebCore; -
trunk/Tools/WebKitTestRunner/win/PlatformWebViewWin.cpp
r242842 r244443 30 30 #include "PlatformWebView.h" 31 31 32 #include < HWndDC.h>32 #include <WebCore/HWndDC.h> 33 33 #include <cairo.h> 34 34 #include <cstdio>
Note: See TracChangeset
for help on using the changeset viewer.