Changeset 246126 in webkit
- Timestamp:
- Jun 5, 2019, 2:11:39 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 24 edited
-
Source/JavaScriptCore/API/JSScript.mm (modified) (5 diffs)
-
Source/JavaScriptCore/CMakeLists.txt (modified) (1 diff)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/ThirdParty/ANGLE/CMakeLists.txt (modified) (1 diff)
-
Source/WTF/wtf/PlatformMac.cmake (modified) (1 diff)
-
Source/WebCore/CMakeLists.txt (modified) (2 diffs)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/PAL/ChangeLog (modified) (1 diff)
-
Source/WebCore/PAL/pal/PlatformMac.cmake (modified) (2 diffs)
-
Source/WebCore/PlatformMac.cmake (modified) (7 diffs)
-
Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.mm (modified) (1 diff)
-
Source/WebCore/config.h (modified) (1 diff)
-
Source/WebCore/css/parser/CSSParserFastPaths.cpp (modified) (1 diff)
-
Source/WebCore/editing/cocoa/HTMLConverter.mm (modified) (2 diffs)
-
Source/WebCore/platform/cocoa/ContentFilterUnblockHandlerCocoa.mm (modified) (1 diff)
-
Source/WebCore/platform/ios/WebItemProviderPasteboard.h (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/PlatformMac.cmake (modified) (4 diffs)
-
Source/WebKitLegacy/ChangeLog (modified) (1 diff)
-
Source/WebKitLegacy/PlatformMac.cmake (modified) (3 diffs)
-
Source/cmake/OptionsJSCOnly.cmake (modified) (1 diff)
-
Source/cmake/OptionsMac.cmake (modified) (2 diffs)
-
Source/cmake/target/icu.cmake (modified) (1 diff)
-
Tools/TestWebKitAPI/PlatformMac.cmake (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSScript.mm
r246060 r246126 38 38 #import "JSVirtualMachineInternal.h" 39 39 #import "Symbol.h" 40 #include <sys/stat.h> 41 #include <wtf/FileMetadata.h> 42 #include <wtf/FileSystem.h> 43 #include <wtf/Scope.h> 44 #include <wtf/spi/darwin/DataVaultSPI.h> 40 #import <sys/stat.h> 41 #import <wtf/FileMetadata.h> 42 #import <wtf/FileSystem.h> 43 #import <wtf/Scope.h> 44 #import <wtf/WeakObjCPtr.h> 45 #import <wtf/spi/darwin/DataVaultSPI.h> 45 46 46 47 #if JSC_OBJC_API_ENABLED 47 48 48 49 @implementation JSScript { 49 __weak JSVirtualMachine*m_virtualMachine;50 WeakObjCPtr<JSVirtualMachine> m_virtualMachine; 50 51 JSScriptType m_type; 51 52 FileSystem::MappedFileData m_mappedSource; … … 170 171 Ref<JSC::CachedBytecode> cachedBytecode = JSC::CachedBytecode::create(buffer, size); 171 172 172 JSC::VM& vm = m_virtualMachine.vm;173 JSC::VM& vm = [m_virtualMachine vm]; 173 174 JSC::SourceCode sourceCode = [self sourceCode]; 174 175 JSC::SourceCodeKey key = m_type == kJSScriptTypeProgram ? sourceCodeKeyForSerializedProgram(vm, sourceCode) : sourceCodeKeyForSerializedModule(vm, sourceCode); … … 238 239 - (JSC::SourceCode)sourceCode 239 240 { 240 JSC::VM& vm = m_virtualMachine.vm;241 JSC::VM& vm = [m_virtualMachine vm]; 241 242 JSC::JSLockHolder locker(vm); 242 243 … … 251 252 - (JSC::JSSourceCode*)jsSourceCode 252 253 { 253 JSC::VM& vm = m_virtualMachine.vm;254 JSC::VM& vm = [m_virtualMachine vm]; 254 255 JSC::JSLockHolder locker(vm); 255 256 JSC::JSSourceCode* jsSourceCode = JSC::JSSourceCode::create(vm, [self sourceCode]); … … 282 283 switch (m_type) { 283 284 case kJSScriptTypeModule: 284 m_cachedBytecode = JSC::generateModuleBytecode( m_virtualMachine.vm, sourceCode, fd, cacheError);285 m_cachedBytecode = JSC::generateModuleBytecode([m_virtualMachine vm], sourceCode, fd, cacheError); 285 286 break; 286 287 case kJSScriptTypeProgram: 287 m_cachedBytecode = JSC::generateProgramBytecode( m_virtualMachine.vm, sourceCode, fd, cacheError);288 m_cachedBytecode = JSC::generateProgramBytecode([m_virtualMachine vm], sourceCode, fd, cacheError); 288 289 break; 289 290 } -
trunk/Source/JavaScriptCore/CMakeLists.txt
r246060 r246126 425 425 API/JSStringRefPrivate.h 426 426 API/JSValueInternal.h 427 API/JSValuePrivate.h 427 428 API/JSVirtualMachineInternal.h 428 429 API/JSWeakObjectMapRefInternal.h -
trunk/Source/JavaScriptCore/ChangeLog
r246124 r246126 1 2019-06-05 Alex Christensen <achristensen@webkit.org> 2 3 Progress towards resurrecting Mac CMake build 4 https://bugs.webkit.org/show_bug.cgi?id=197132 5 6 Reviewed by Don Olmstead. 7 8 * API/JSScript.mm: 9 (-[JSScript readCache]): 10 (-[JSScript sourceCode]): 11 (-[JSScript jsSourceCode]): 12 (-[JSScript writeCache:]): 13 * CMakeLists.txt: 14 1 15 == Rolled over to ChangeLog-2019-06-05 == -
trunk/Source/ThirdParty/ANGLE/CMakeLists.txt
r245723 r246126 42 42 set(ANGLE_PRIVATE_INCLUDE_DIRECTORIES 43 43 "${CMAKE_CURRENT_SOURCE_DIR}/include" 44 "${CMAKE_CURRENT_SOURCE_DIR}/include/KHR" 44 45 "${CMAKE_CURRENT_SOURCE_DIR}/src" 45 46 "${CMAKE_CURRENT_SOURCE_DIR}/src/common/third_party/base" -
trunk/Source/WTF/wtf/PlatformMac.cmake
r244090 r246126 29 29 spi/cocoa/objcSPI.h 30 30 31 spi/darwin/DataVaultSPI.h 31 32 spi/darwin/SandboxSPI.h 32 33 spi/darwin/XPCSPI.h -
trunk/Source/WebCore/CMakeLists.txt
r246070 r246126 62 62 "${WEBCORE_DIR}/Modules/webdriver" 63 63 "${WEBCORE_DIR}/Modules/webgpu" 64 "${WEBCORE_DIR}/Modules/webgpu/WHLSL" 65 "${WEBCORE_DIR}/Modules/webgpu/WHLSL/AST" 64 66 "${WEBCORE_DIR}/Modules/websockets" 65 67 "${WEBCORE_DIR}/Modules/webvr" … … 1897 1899 list(APPEND WebCoreTestSupport_SOURCES ${WebCore_DERIVED_SOURCES_DIR}/InternalSettingsGenerated.cpp) 1898 1900 1899 1900 1901 GENERATE_FONT_NAMES(${WEBCORE_DIR}/css/WebKitFontFamilyNames.in) 1901 1902 list(APPEND WebCore_SOURCES ${WebCore_DERIVED_SOURCES_DIR}/WebKitFontFamilyNames.cpp) -
trunk/Source/WebCore/ChangeLog
r246124 r246126 1 2019-06-05 Alex Christensen <achristensen@webkit.org> 2 3 Progress towards resurrecting Mac CMake build 4 https://bugs.webkit.org/show_bug.cgi?id=197132 5 6 Reviewed by Don Olmstead. 7 8 * CMakeLists.txt: 9 * PlatformMac.cmake: 10 * platform/cocoa/ContentFilterUnblockHandlerCocoa.mm: 11 1 12 == Rolled over to ChangeLog-2019-06-05 == -
trunk/Source/WebCore/PAL/ChangeLog
r246118 r246126 1 2019-06-05 Alex Christensen <achristensen@webkit.org> 2 3 Progress towards resurrecting Mac CMake build 4 https://bugs.webkit.org/show_bug.cgi?id=197132 5 6 Reviewed by Don Olmstead. 7 8 * pal/PlatformMac.cmake: 9 1 10 2019-06-05 Wenson Hsieh <wenson_hsieh@apple.com> 2 11 -
trunk/Source/WebCore/PAL/pal/PlatformMac.cmake
r244081 r246126 4 4 cf/CoreMediaSoftLink.h 5 5 6 cocoa/AVFoundationSoftLink.h 6 7 cocoa/PassKitSoftLink.h 7 8 … … 21 22 spi/cocoa/AudioToolboxSPI.h 22 23 spi/cocoa/CFNSURLConnectionSPI.h 24 spi/cocoa/CommonCryptoSPI.h 23 25 spi/cocoa/CoreTextSPI.h 24 26 spi/cocoa/DataDetectorsCoreSPI.h -
trunk/Source/WebCore/PlatformMac.cmake
r245789 r246126 72 72 73 73 list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES 74 "${WEBCORE_DIR}/Modules/webgpu/WHLSL/Metal" 74 75 "${WEBCORE_DIR}/accessibility/mac" 75 76 "${WEBCORE_DIR}/bridge/objc" … … 84 85 "${WEBCORE_DIR}/page/cocoa" 85 86 "${WEBCORE_DIR}/page/mac" 87 "${WEBCORE_DIR}/page/scrolling/cocoa" 86 88 "${WEBCORE_DIR}/page/scrolling/mac" 87 89 "${WEBCORE_DIR}/platform/audio/mac" … … 164 166 page/scrolling/mac/ScrollingCoordinatorMac.mm 165 167 page/scrolling/mac/ScrollingMomentumCalculatorMac.mm 166 page/scrolling/mac/ScrollingStateFrameScrollingNodeMac.mm167 168 page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm 168 169 page/scrolling/mac/ScrollingTreeMac.cpp … … 230 231 231 232 platform/graphics/avfoundation/objc/AVAssetTrackUtilities.mm 232 platform/graphics/avfoundation/objc/AVFoundationMIMETypeCache.mm233 233 platform/graphics/avfoundation/objc/AudioTrackPrivateAVFObjC.mm 234 234 platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.cpp … … 375 375 platform/mac/WebGLBlacklist.mm 376 376 platform/mac/WebNSAttributedStringExtras.mm 377 platform/mac/WebVideoFullscreenController.mm378 platform/mac/WebVideoFullscreenHUDWindowController.mm379 377 platform/mac/WidgetMac.mm 380 378 … … 475 473 platform/cocoa/VideoFullscreenModel.h 476 474 platform/cocoa/VideoFullscreenModelVideoElement.h 475 platform/cocoa/WebKitAvailability.h 477 476 478 477 platform/gamepad/cocoa/GameControllerGamepadProvider.h … … 483 482 platform/graphics/avfoundation/MediaPlaybackTargetMac.h 484 483 platform/graphics/avfoundation/WebMediaSessionManagerMac.h 485 486 platform/graphics/avfoundation/objc/AVFoundationMIMETypeCache.h487 484 488 485 platform/graphics/ca/GraphicsLayerCA.h -
trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.mm
r244691 r246126 67 67 #import "TextCheckingHelper.h" 68 68 #import "VisibleUnits.h" 69 #import "WebCoreFrameView.h" 70 71 #if PLATFORM(MAC) 72 #import <pal/spi/mac/HIServicesSPI.h> 73 #else 69 74 #import "WAKView.h" 70 75 #import "WAKWindow.h" 71 #import "WebCoreFrameView.h"72 73 #if PLATFORM(MAC)74 #import <pal/spi/mac/HIServicesSPI.h>75 76 #endif 76 77 -
trunk/Source/WebCore/config.h
r239556 r246126 40 40 #define JSC_API_AVAILABLE(...) 41 41 #endif 42 #ifndef JSC_CLASS_AVAILABLE 43 #define JSC_CLASS_AVAILABLE(...) JS_EXPORT 44 #endif 45 #ifndef JSC_API_DEPRECATED 46 #define JSC_API_DEPRECATED(...) 47 #endif 42 48 #endif 43 49 -
trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp
r245494 r246126 813 813 case CSSPropertyWebkitOverflowScrolling: 814 814 if (!context.legacyOverflowScrollingTouchEnabled) 815 return nullptr;815 return false; 816 816 return valueID == CSSValueAuto || valueID == CSSValueTouch; 817 817 #endif -
trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm
r245508 r246126 67 67 #import "VisibleSelection.h" 68 68 #import <objc/runtime.h> 69 #import <pal/ios/UIKitSoftLink.h>70 69 #import <pal/spi/cocoa/NSAttributedStringSPI.h> 71 #import <pal/spi/ios/UIKitSPI.h>72 70 #import <wtf/ASCIICType.h> 73 71 #import <wtf/text/StringBuilder.h> … … 76 74 77 75 #import "WAKAppKitStubs.h" 76 #import <pal/ios/UIKitSoftLink.h> 77 #import <pal/spi/ios/UIKitSPI.h> 78 78 79 79 SOFT_LINK_CLASS(UIFoundation, NSColor) -
trunk/Source/WebCore/platform/cocoa/ContentFilterUnblockHandlerCocoa.mm
r241299 r246126 36 36 #import <wtf/SoftLinking.h> 37 37 #import <wtf/text/CString.h> 38 39 #if PLATFORM(IOS_FAMILY) 38 40 #import "WebCoreThreadRun.h" 41 #endif 39 42 40 43 static NSString * const unblockURLHostKey { @"unblockURLHost" }; -
trunk/Source/WebCore/platform/ios/WebItemProviderPasteboard.h
r241749 r246126 24 24 */ 25 25 26 #if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000 27 26 28 #import <WebCore/AbstractPasteboard.h> 27 28 #if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MIN_REQUIRED >= 11000029 29 30 30 struct CGSize; -
trunk/Source/WebKit/ChangeLog
r246125 r246126 1 2019-06-05 Alex Christensen <achristensen@webkit.org> 2 3 Progress towards resurrecting Mac CMake build 4 https://bugs.webkit.org/show_bug.cgi?id=197132 5 6 Reviewed by Don Olmstead. 7 8 * PlatformMac.cmake: 9 1 10 2019-06-05 Youenn Fablet <youenn@apple.com> 2 11 -
trunk/Source/WebKit/PlatformMac.cmake
r245540 r246126 136 136 Shared/cg/ShareableBitmapCG.cpp 137 137 138 Shared/mac/ArgumentCodersMac.mm139 138 Shared/mac/AttributedString.mm 140 139 Shared/mac/AuxiliaryProcessMac.mm … … 150 149 Shared/mac/PasteboardTypes.mm 151 150 Shared/mac/PrintInfoMac.mm 152 Shared/mac/SandboxExtensionMac.mm153 Shared/mac/SandboxInitialiationParametersMac.mm154 Shared/mac/SandboxUtilities.mm155 151 Shared/mac/SecItemRequestData.cpp 156 152 Shared/mac/SecItemResponseData.cpp … … 427 423 428 424 set(XPCService_SOURCES 429 Shared/EntryPointUtilities/ mac/XPCService/XPCServiceEntryPoint.mm430 Shared/EntryPointUtilities/ mac/XPCService/XPCServiceMain.mm425 Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceEntryPoint.mm 426 Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceMain.mm 431 427 ) 432 428 433 429 set(WebProcess_SOURCES 434 WebProcess/EntryPoint/ mac/XPCService/WebContentServiceEntryPoint.mm430 WebProcess/EntryPoint/Cocoa/XPCService/WebContentServiceEntryPoint.mm 435 431 ${XPCService_SOURCES} 436 432 ) 437 433 438 434 set(PluginProcess_SOURCES 439 PluginProcess/EntryPoint/ mac/XPCService/PluginServiceEntryPoint.mm435 PluginProcess/EntryPoint/Cocoa/XPCService/PluginServiceEntryPoint.mm 440 436 ${XPCService_SOURCES} 441 437 ) 442 438 443 439 list(APPEND NetworkProcess_SOURCES 444 NetworkProcess/EntryPoint/ mac/XPCService/NetworkServiceEntryPoint.mm440 NetworkProcess/EntryPoint/Cocoa/XPCService/NetworkServiceEntryPoint.mm 445 441 ${XPCService_SOURCES} 446 442 ) … … 768 764 WEBKIT_XPC_SERVICE(WebProcess 769 765 "com.apple.WebKit.WebContent" 770 ${WEBKIT_DIR}/WebProcess/EntryPoint/ mac/XPCService/WebContentService/Info-OSX.plist766 ${WEBKIT_DIR}/WebProcess/EntryPoint/Cocoa/XPCService/WebContentService/Info-OSX.plist 771 767 ${WebKit_WebProcess_OUTPUT_NAME}) 772 768 773 769 WEBKIT_XPC_SERVICE(NetworkProcess 774 770 "com.apple.WebKit.Networking" 775 ${WEBKIT_DIR}/NetworkProcess/EntryPoint/ mac/XPCService/NetworkService/Info-OSX.plist771 ${WEBKIT_DIR}/NetworkProcess/EntryPoint/Cocoa/XPCService/NetworkService/Info-OSX.plist 776 772 ${WebKit_NetworkProcess_OUTPUT_NAME}) 777 773 -
trunk/Source/WebKitLegacy/ChangeLog
r246039 r246126 1 2019-06-05 Alex Christensen <achristensen@webkit.org> 2 3 Progress towards resurrecting Mac CMake build 4 https://bugs.webkit.org/show_bug.cgi?id=197132 5 6 Reviewed by Don Olmstead. 7 8 * PlatformMac.cmake: 9 1 10 2019-06-03 Don Olmstead <don.olmstead@sony.com> 2 11 -
trunk/Source/WebKitLegacy/PlatformMac.cmake
r244488 r246126 23 23 list(APPEND WebKitLegacy_SOURCES 24 24 cf/WebCoreSupport/WebInspectorClientCF.cpp 25 26 mac/Carbon/CarbonUtils.m27 mac/Carbon/CarbonWindowAdapter.mm28 mac/Carbon/CarbonWindowContentView.m29 mac/Carbon/CarbonWindowFrame.m30 mac/Carbon/HIViewAdapter.m31 mac/Carbon/HIWebView.mm32 25 33 26 mac/DOM/DOM.mm … … 339 332 mac/Storage/WebDatabaseManagerPrivate.h 340 333 341 mac/WebCoreSupport/WebKeyGenerator.h342 343 334 mac/WebInspector/WebInspector.h 344 335 … … 432 423 ) 433 424 434 WEBKIT_CREATE_FORWARDING_HEADERS(WebKitLegacy DIRECTORIES ${WebKitLegacy_FORWARDING_HEADERS_DIRECTORIES} FILES ${WebKitLegacy_FORWARDING_HEADERS_FILES}) 435 436 # FIXME: Forwarding headers should be copies of actual headers. 437 file(GLOB ObjCHeaders ${WEBCORE_DIR}/plugins/*.h) 438 list(APPEND ObjCHeaders 439 WebKitAvailability.h 440 WebScriptObject.h 441 ) 442 foreach (_file ${ObjCHeaders}) 443 get_filename_component(_name ${_file} NAME) 444 if (NOT EXISTS ${FORWARDING_HEADERS_DIR}/WebKitLegacy/${_name}) 445 file(WRITE ${FORWARDING_HEADERS_DIR}/WebKitLegacy/${_name} "#import <WebCore/${_name}>") 446 endif () 447 endforeach () 425 WEBKIT_MAKE_FORWARDING_HEADERS(WebKitLegacy 426 TARGET_NAME WebKitLegacyFrameworkHeaders 427 DESTINATION ${WebKitLegacy_FRAMEWORK_HEADERS_DIR}/WebKitLegacy 428 FILES ${WebKitLegacy_FORWARDING_HEADERS_FILES} 429 FLATTENED 430 ) 431 add_dependencies(WebKitLegacyFrameworkHeaders WebCorePrivateFrameworkHeaders) 448 432 449 433 set(WebKitLegacy_OUTPUT_NAME WebKitLegacy) -
trunk/Source/cmake/OptionsJSCOnly.cmake
r245492 r246126 100 100 else () 101 101 add_definitions(-DU_DISABLE_RENAMING=1 -DU_SHOW_CPLUSPLUS_API=0) 102 include(target/icu .cmake)102 include(target/icu) 103 103 endif () -
trunk/Source/cmake/OptionsMac.cmake
r245492 r246126 41 41 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_VIDEO_PRESENTATION_MODE PRIVATE ON) 42 42 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBGL2 PRIVATE ON) 43 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBGPU PRIVATE O N)43 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBGPU PRIVATE OFF) 44 44 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WIRELESS_PLAYBACK_TARGET PRIVATE ON) 45 45 … … 61 61 62 62 add_definitions(-DU_DISABLE_RENAMING=1 -DU_SHOW_CPLUSPLUS_API=0) 63 include(target/icu .cmake)63 include(target/icu) -
trunk/Source/cmake/target/icu.cmake
r245492 r246126 1 1 # Apple ports provide their own ICU that can't be found by find_package(ICU). 2 2 # This file will create targets that would be created by find_package(ICU). 3 if (NOT TARGET ICU::data) 4 if (APPLE) 5 set(ICU_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/ICU/Headers) 3 if (APPLE) 4 set(ICU_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/ICU/Headers) 6 5 7 # Apple just has a single dylib for ICU8 set(ICU_I18N_LIBRARYlibicucore.dylib)9 set(ICU_UC_LIBRARYlibicucore.dylib)10 set(ICU_DATA_LIBRARYlibicucore.dylib)6 # Apple just has a single dylib for ICU 7 set(ICU_I18N_LIBRARY /usr/lib/libicucore.dylib) 8 set(ICU_UC_LIBRARY /usr/lib/libicucore.dylib) 9 set(ICU_DATA_LIBRARY /usr/lib/libicucore.dylib) 11 10 12 set(ICU_LIBRARIES ${ICU_UC_LIBRARY})13 elseif (WIN32 AND NOT WTF_PLATFORM_WIN_CAIRO)14 set(ICU_INCLUDE_DIRS ${WEBKIT_LIBRARIES_INCLUDE_DIR})11 set(ICU_LIBRARIES ${ICU_UC_LIBRARY}) 12 elseif (WIN32 AND NOT WTF_PLATFORM_WIN_CAIRO) 13 set(ICU_INCLUDE_DIRS ${WEBKIT_LIBRARIES_INCLUDE_DIR}) 15 14 16 set(ICU_I18N_LIBRARY ${WEBKIT_LIBRARIES_LINK_DIR}/libicuin${DEBUG_SUFFIX}.lib)17 set(ICU_UC_LIBRARY ${WEBKIT_LIBRARIES_LINK_DIR}/libicuuc${DEBUG_SUFFIX}.lib)15 set(ICU_I18N_LIBRARY ${WEBKIT_LIBRARIES_LINK_DIR}/libicuin${DEBUG_SUFFIX}.lib) 16 set(ICU_UC_LIBRARY ${WEBKIT_LIBRARIES_LINK_DIR}/libicuuc${DEBUG_SUFFIX}.lib) 18 17 19 # AppleWin does not provide a separate data library20 set(ICU_DATA_LIBRARY ${ICU_UC_LIBRARY})18 # AppleWin does not provide a separate data library 19 set(ICU_DATA_LIBRARY ${ICU_UC_LIBRARY}) 21 20 22 set(ICU_LIBRARIES ${ICU_I18N_LIBRARY} ${ICU_UC_LIBRARY})23 else ()24 message(FATAL_ERROR "Could not find ICU targets. Use find_package(ICU REQUIRED data i1n8 uc)")25 endif ()21 set(ICU_LIBRARIES ${ICU_I18N_LIBRARY} ${ICU_UC_LIBRARY}) 22 else () 23 message(FATAL_ERROR "Could not find ICU targets. Use find_package(ICU REQUIRED data i1n8 uc)") 24 endif () 26 25 27 # Emulate ICU:: targets28 add_library(ICU::data UNKNOWN IMPORTED)29 set_target_properties(ICU::data PROPERTIES30 INTERFACE_INCLUDE_DIRECTORIES "${ICU_INCLUDE_DIRS}"31 IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"32 IMPORTED_LOCATION "${ICU_DATA_LIBRARY}"33 )26 # Emulate ICU:: targets 27 add_library(ICU::data UNKNOWN IMPORTED) 28 set_target_properties(ICU::data PROPERTIES 29 INTERFACE_INCLUDE_DIRECTORIES "${ICU_INCLUDE_DIRS}" 30 IMPORTED_LINK_INTERFACE_LANGUAGES "CXX" 31 IMPORTED_LOCATION "${ICU_DATA_LIBRARY}" 32 ) 34 33 35 add_library(ICU::i18n UNKNOWN IMPORTED)36 set_target_properties(ICU::i18n PROPERTIES37 INTERFACE_INCLUDE_DIRECTORIES "${ICU_INCLUDE_DIRS}"38 IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"39 IMPORTED_LOCATION "${ICU_I18N_LIBRARY}"40 )34 add_library(ICU::i18n UNKNOWN IMPORTED) 35 set_target_properties(ICU::i18n PROPERTIES 36 INTERFACE_INCLUDE_DIRECTORIES "${ICU_INCLUDE_DIRS}" 37 IMPORTED_LINK_INTERFACE_LANGUAGES "CXX" 38 IMPORTED_LOCATION "${ICU_I18N_LIBRARY}" 39 ) 41 40 42 add_library(ICU::uc UNKNOWN IMPORTED) 43 set_target_properties(ICU::uc PROPERTIES 44 INTERFACE_INCLUDE_DIRECTORIES "${ICU_INCLUDE_DIRS}" 45 IMPORTED_LINK_INTERFACE_LANGUAGES "CXX" 46 IMPORTED_LOCATION "${ICU_UC_LIBRARY}" 47 ) 48 endif () 41 add_library(ICU::uc UNKNOWN IMPORTED) 42 set_target_properties(ICU::uc PROPERTIES 43 INTERFACE_INCLUDE_DIRECTORIES "${ICU_INCLUDE_DIRS}" 44 IMPORTED_LINK_INTERFACE_LANGUAGES "CXX" 45 IMPORTED_LOCATION "${ICU_UC_LIBRARY}" 46 ) -
trunk/Tools/TestWebKitAPI/PlatformMac.cmake
r245492 r246126 33 33 ${TESTWEBKITAPI_DIR}/mac/TestBrowsingContextLoadDelegate.mm 34 34 ) 35 36 list(APPEND TestWebKitLegacy_SOURCES 37 ${test_main_SOURCES} 38 )
Note:
See TracChangeset
for help on using the changeset viewer.