haikuwebkit/Source/WebInspectorUI/Configurations/WebInspectorUIFramework.xcc...

37 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

#include "Version.xcconfig"
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = $(FULL_VERSION);
FRAMEWORK_VERSION = A;
INFOPLIST_FILE = Info.plist
[Cocoa] Allow overriding the frameworks directory independently of using a staging install path https://bugs.webkit.org/show_bug.cgi?id=152926 Reviewed by Tim Horton. Introduce a new build setting, WK_OVERRIDE_FRAMEWORKS_DIR. When not empty, it determines where the frameworks are installed. Setting USE_STAGING_INSTALL_PATH to YES sets WK_OVERRIDE_FRAMEWORKS_DIR to $(SYSTEM_LIBRARY_DIR)/StagedFrameworks/Safari. Account for the possibility of WK_OVERRIDE_FRAMEWORKS_DIR containing spaces. Source/JavaScriptCore: * Configurations/Base.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. - Define JAVASCRIPTCORE_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. * Configurations/JSC.xcconfig: Add quotes to account for spaces. * Configurations/ToolExecutable.xcconfig: Ditto. * postprocess-headers.sh: Ditto. Source/ThirdParty: * gtest/xcode/Config/General.xcconfig: Add quotes to account for spaces. * gtest/xcode/Config/ProductionProject.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. - Define WEBCORE_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. Source/WebCore: * Configurations/WebCore.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. - Define WEBCORE_FRAMEWORKS_DIR and PRODUCTION_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. * WebCore.xcodeproj/project.pbxproj: Work around make’s inability to handle spaces in paths by creating a symlink to JAVASCRIPTCORE_PRIVATE_HEADERS_DIR under BUILT_PRODUCTS_DIR and using the symlink as the value of JavaScriptCore_SCRIPTS_DIR. Source/WebInspectorUI: * Configurations/Base.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. * Configurations/WebInspectorUIFramework.xcconfig: - Define INSTALL_PATH and PRODUCTION_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. Source/WebKit/mac: * Configurations/WebKitLegacy.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. - Define WEBKIT_LEGACY_FRAMEWORKS_DIR, PRODUCTION_FRAMEWORKS_DIR, and WEBCORE_PRIVATE_HEADERS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. * MigrateHeaders.make: Use a symlink under BUILT_PRODUCTS_DIR to the WebCore Private Headers. Use a BUILT_PRODUCTS_DIR-based path to the framework instead of a TARGET_BUILD_DIR-based one in order to avoid spaces. * migrate-headers.sh: Make the symlink to WEBCORE_PRIVATE_HEADERS_DIR that the makefile now uses. Source/WebKit2: * Configurations/BaseTarget.xcconfig: - Add quotes to account for spaces. - Define WEBKIT_FRAMEWORKS_DIR and UMBRELLA_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. * WebKit2.xcodeproj/project.pbxproj: - In the Migrate WebKitLegacy Headers build phase, work around make’s inability to handle spaces in paths by creating a symlink to WEBKIT_LEGACY_PRIVATE_HEADERS_DIR under BUILT_PRODUCTS_DIR and using the symlink as the value of WEBKIT_LEGACY_PRIVATE_HEADERS_DIR. - In the Postprocess WKBase.h and Postprocess WKFoundation.h build phases, add quotes to account for spaces. * mac/MigrateHeadersFromWebKitLegacy.make: Use a BUILT_PRODUCTS_DIR-based path to the framework instead of a TARGET_BUILD_DIR-based one in order to avoid spaces. * mac/postprocess-framework-headers.sh: Add quotes to account for spaces. Canonical link: https://commits.webkit.org/171030@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-01-09 20:13:57 +00:00
INSTALL_PATH = $(INSTALL_PATH_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
INSTALL_PATH_NO = $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
[Cocoa] Allow overriding the frameworks directory independently of using a staging install path https://bugs.webkit.org/show_bug.cgi?id=152926 Reviewed by Tim Horton. Introduce a new build setting, WK_OVERRIDE_FRAMEWORKS_DIR. When not empty, it determines where the frameworks are installed. Setting USE_STAGING_INSTALL_PATH to YES sets WK_OVERRIDE_FRAMEWORKS_DIR to $(SYSTEM_LIBRARY_DIR)/StagedFrameworks/Safari. Account for the possibility of WK_OVERRIDE_FRAMEWORKS_DIR containing spaces. Source/JavaScriptCore: * Configurations/Base.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. - Define JAVASCRIPTCORE_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. * Configurations/JSC.xcconfig: Add quotes to account for spaces. * Configurations/ToolExecutable.xcconfig: Ditto. * postprocess-headers.sh: Ditto. Source/ThirdParty: * gtest/xcode/Config/General.xcconfig: Add quotes to account for spaces. * gtest/xcode/Config/ProductionProject.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. - Define WEBCORE_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. Source/WebCore: * Configurations/WebCore.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. - Define WEBCORE_FRAMEWORKS_DIR and PRODUCTION_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. * WebCore.xcodeproj/project.pbxproj: Work around make’s inability to handle spaces in paths by creating a symlink to JAVASCRIPTCORE_PRIVATE_HEADERS_DIR under BUILT_PRODUCTS_DIR and using the symlink as the value of JavaScriptCore_SCRIPTS_DIR. Source/WebInspectorUI: * Configurations/Base.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. * Configurations/WebInspectorUIFramework.xcconfig: - Define INSTALL_PATH and PRODUCTION_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. Source/WebKit/mac: * Configurations/WebKitLegacy.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. - Define WEBKIT_LEGACY_FRAMEWORKS_DIR, PRODUCTION_FRAMEWORKS_DIR, and WEBCORE_PRIVATE_HEADERS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. * MigrateHeaders.make: Use a symlink under BUILT_PRODUCTS_DIR to the WebCore Private Headers. Use a BUILT_PRODUCTS_DIR-based path to the framework instead of a TARGET_BUILD_DIR-based one in order to avoid spaces. * migrate-headers.sh: Make the symlink to WEBCORE_PRIVATE_HEADERS_DIR that the makefile now uses. Source/WebKit2: * Configurations/BaseTarget.xcconfig: - Add quotes to account for spaces. - Define WEBKIT_FRAMEWORKS_DIR and UMBRELLA_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. * WebKit2.xcodeproj/project.pbxproj: - In the Migrate WebKitLegacy Headers build phase, work around make’s inability to handle spaces in paths by creating a symlink to WEBKIT_LEGACY_PRIVATE_HEADERS_DIR under BUILT_PRODUCTS_DIR and using the symlink as the value of WEBKIT_LEGACY_PRIVATE_HEADERS_DIR. - In the Postprocess WKBase.h and Postprocess WKFoundation.h build phases, add quotes to account for spaces. * mac/MigrateHeadersFromWebKitLegacy.make: Use a BUILT_PRODUCTS_DIR-based path to the framework instead of a TARGET_BUILD_DIR-based one in order to avoid spaces. * mac/postprocess-framework-headers.sh: Add quotes to account for spaces. Canonical link: https://commits.webkit.org/171030@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-01-09 20:13:57 +00:00
INSTALL_PATH_YES = $(WK_OVERRIDE_FRAMEWORKS_DIR);
DYLIB_INSTALL_NAME_BASE = $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
PRODUCT_NAME = WebInspectorUI;
[Cocoa] Adopt the PRODUCT_BUNDLE_IDENTIFIER build setting https://bugs.webkit.org/show_bug.cgi?id=164492 Reviewed by Dan Bernstein. Source/JavaScriptCore: * Configurations/JavaScriptCore.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to com.apple.$(PRODUCT_NAME:rfc1034identifier). * Info.plist: Changed CFBundleIdentifier's value from com.apple.${PRODUCT_NAME} to ${PRODUCT_BUNDLE_IDENTIFIER}. Source/WebCore: * Configurations/WebCore.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to com.apple.$(PRODUCT_NAME:rfc1034identifier). * Info.plist: Changed CFBundleIdentifier's value from com.apple.${PRODUCT_NAME} to ${PRODUCT_BUNDLE_IDENTIFIER}. Source/WebInspectorUI: * Configurations/WebInspectorUIFramework.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to com.apple.$(PRODUCT_NAME:rfc1034identifier). * Info.plist: Changed CFBundleIdentifier's value from com.apple.${PRODUCT_NAME:rfc1034identifier} to ${PRODUCT_BUNDLE_IDENTIFIER}. Source/WebKit/mac: * Configurations/WebKitLegacy.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to com.apple.$(PRODUCT_NAME:rfc1034identifier). * Info.plist: Changed CFBundleIdentifier's value from com.apple.${PRODUCT_NAME} to ${PRODUCT_BUNDLE_IDENTIFIER}. Source/WebKit2: * Configurations/DatabaseService.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to $(PRODUCT_NAME). * Configurations/NetworkService.xcconfig: Ditto. * Configurations/PluginService.32.xcconfig: Ditto. * Configurations/PluginService.64.xcconfig: Ditto. * Configurations/WebContentService.xcconfig: Ditto. * Configurations/WebKit.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to com.apple.$(PRODUCT_NAME:rfc1034identifier). * DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService/Info.plist: Changed CFBundleIdentifier's value from ${PRODUCT_NAME} to ${PRODUCT_BUNDLE_IDENTIFIER}. * Info.plist: Changed CFBundleIdentifier's value from com.apple.${PRODUCT_NAME} to ${PRODUCT_BUNDLE_IDENTIFIER}. * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX-10.9-10.10.plist: Changed CFBundleIdentifier's value from ${PRODUCT_NAME} to ${PRODUCT_BUNDLE_IDENTIFIER}. * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX.plist: Ditto. * NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-iOS.plist: Ditto. * PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64-10.9-10.10.Info.plist: Ditto. * PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist: Ditto. * WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX-10.9-10.10.plist: Ditto. * WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX.plist: Ditto. * WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-iOS.plist: Ditto. Tools: * DumpRenderTree/TestNetscapePlugIn/mac/Info.plist: Changed CFBundleIdentifier's value from com.apple.testnetscapeplugin to ${PRODUCT_BUNDLE_IDENTIFIER}. * DumpRenderTree/ios/Info.plist: Changed CFBundleIdentifier's value from org.webkit.DumpRenderTree to ${PRODUCT_BUNDLE_IDENTIFIER}. * DumpRenderTree/mac/Configurations/DumpRenderTreeApp.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to org.webkit.DumpRenderTree. * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to com.apple.testnetscapeplugin. * MiniBrowser/Configurations/MiniBrowser.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to org.webkit.$(PRODUCT_NAME:rfc1034identifier). * MiniBrowser/Configurations/MiniBrowserBundle.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to com.apple.$(PRODUCT_NAME:rfc1034identifier). * MiniBrowser/mac/Bundle/Info.plist: Changed CFBundleIdentifier's value from com.apple.${PRODUCT_NAME:rfc1034identifier} to ${PRODUCT_BUNDLE_IDENTIFIER}. * MiniBrowser/mac/Info.plist: Changed CFBundleIdentifier's value from org.webkit.${PRODUCT_NAME} to ${PRODUCT_BUNDLE_IDENTIFIER}. * TestWebKitAPI/Configurations/InjectedBundle.xcconfig: Set INFOPLIST_FILE to InjectedBundle-Info.plist and set PRODUCT_BUNDLE_IDENTIFIER to com.apple.$(PRODUCT_NAME:rfc1034identifier). * TestWebKitAPI/Configurations/WebProcessPlugIn.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to com.apple.$(PRODUCT_NAME:rfc1034identifier). * TestWebKitAPI/InjectedBundle-Info.plist: Changed CFBundleIdentifier's value from com.yourcompany.${PRODUCT_NAME:rfc1034identifier} to ${PRODUCT_BUNDLE_IDENTIFIER}. * TestWebKitAPI/cocoa/WebProcessPlugIn/Info.plist: Added a CFBundleIdentifier key with the value ${PRODUCT_BUNDLE_IDENTIFIER}. * WebKitTestRunner/Configurations/InjectedBundle.xcconfig: Set INFOPLIST_FILE to InjectedBundle-Info.plist and set PRODUCT_BUNDLE_IDENTIFIER to com.apple.WebKitTestRunner.InjectedBundle. * WebKitTestRunner/Configurations/WebKitTestRunnerApp.xcconfig: Set PRODUCT_BUNDLE_IDENTIFIER to org.webkit.$(PRODUCT_NAME:rfc1034identifier). * WebKitTestRunner/InjectedBundle-Info.plist: Changed CFBundleIdentifier's value from com.apple.WebKitTestRunner.InjectedBundle to ${PRODUCT_BUNDLE_IDENTIFIER}. * WebKitTestRunner/WebKitTestRunnerApp/WebKitTestRunnerApp-Info.plist: Changed CFBundleIdentifier's value from org.webkit.${PRODUCT_NAME:rfc1034identifier} to ${PRODUCT_BUNDLE_IDENTIFIER}. Canonical link: https://commits.webkit.org/182964@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-12-03 01:31:48 +00:00
PRODUCT_BUNDLE_IDENTIFIER = com.apple.$(PRODUCT_NAME:rfc1034identifier);
GCC_DYNAMIC_NO_PIC = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) $(inherited) FRAMEWORK_NAME=WebInspectorUI;
Switch from using PLATFORM_NAME to SDK selectors in WebCore, WebInspectorUI, WebKit, WebKit2 <http://webkit.org/b/139463> Reviewed by Mark Rowe. Source/JavaScriptCore: * Configurations/JavaScriptCore.xcconfig: - Simplify SECTORDER_FLAGS. Source/WebCore: Also remove all uses of SQLITE3_HEADER_SEARCH_PATHS and WEBCORE_SQLITE3_HEADER_SEARCH_PATHS which were phased out in r132859 and needed for Leopard. * Configurations/Base.xcconfig: - Only set GCC_ENABLE_OBJC_GC, GCC_MODEL_TUNING and TOOLCHAINS on OS X. - Set GCC_OPTIMIZATION_LEVEL_normal based on SDK. - Simplify SQLITE3_HEADER_SEARCH_PATHS. * Configurations/DebugRelease.xcconfig: - Only set MACOSX_DEPLOYMENT_TARGET and SDKROOT on OS X. * Configurations/Version.xcconfig: - Set SYSTEM_VERSION_PREFIX separately for iOS and OS X. * Configurations/WebCore.xcconfig: - Set EXPORTED_SYMBOLS_FILE_i386, EXPORTED_SYMBOLS_FILE_x86_64, FRAMEWORK_SEARCH_PATHS, INSTALL_PATH, DYLIB_INSTALL_NAME_BASE, OTHER_LDFLAGS, SECTORDER_FLAGS, NORMAL_WEBCORE_FRAMEWORKS_DIR, WEBCORE_FRAMEWORKS_DIR, NORMAL_PRODUCTION_FRAMEWORKS_DIR, PRODUCTION_FRAMEWORKS_DIR, JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Production and EXCLUDED_SOURCE_FILE_NAMES based on SDK. - Make sure DYLIB_INSTALL_NAME_BASE and OTHER_LDFLAGS are overrideable by WebCoreTestSupport.xcconfig. * Configurations/WebCoreTestSupport.xcconfig: - Set PRIVATE_HEADERS_FOLDER_PATH_Production and INSTALL_PATH_Production based on SDK. - Override SECT_ORDER_FLAGS from WebCore.xcconfig. Source/WebInspectorUI: * Configurations/Base.xcconfig: - Only set TOOLCHAINS on OS X. * Configurations/DebugRelease.xcconfig: - Only set MACOSX_DEPLOYMENT_TARGET and SDKROOT on OS X. * Configurations/Version.xcconfig: - Set SYSTEM_VERSION_PREFIX separately for iOS and OS X. * Configurations/WebInspectorUIFramework.xcconfig: - Set NORMAL_PRODUCTION_FRAMEWORKS_DIR, PRODUCTION_FRAMEWORKS_DIR and JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Production by SDK. Source/WebKit/mac: * Configurations/Base.xcconfig: - Only set GCC_ENABLE_OBJC_GC, GCC_MODEL_TUNING and TOOLCHAINS on OS X. - Set GCC_OPTIMIZATION_LEVEL_normal based on SDK. * Configurations/DebugRelease.xcconfig: - Only set MACOSX_DEPLOYMENT_TARGET and SDKROOT on OS X. - Set WEBKIT_SYSTEM_INTERFACE_LIBRARY based on SDK. * Configurations/Version.xcconfig: - Set SYSTEM_VERSION_PREFIX separately for iOS and OS X. * Configurations/WebKitLegacy.xcconfig: - Set EXCLUDED_SOURCE_FILE_NAMES, EXPORTED_SYMBOLS_FILE_x86_64, FRAMEWORK_SEARCH_PATHS, OTHER_CFLAGS, INSTALL_PATH, DYLIB_INSTALL_NAME_BASE, OTHER_LDFLAGS, SECTORDER_FLAGS, NORMAL_WEBKIT_LEGACY_FRAMEWORKS_DIR, WEBKIT_LEGACY_FRAMEWORKS_DIR, NORMAL_PRODUCTION_FRAMEWORKS_DIR, PRODUCTION_FRAMEWORKS_DIR, PRODUCTION_ROOT, WEBCORE_PRIVATE_HEADERS_DIR_Production and WEBKITSYSTEMINTERFACE_STATIC_LIBRARY_HEADERS_FOLDER_PATH_engineering based on SDK. - Fix PRODUCTION_ROOT to actually be set properly. - Simplify EXPORTED_SYMBOLS_FILE_i386. * migrate-headers.sh: - Get rid of unused WEBKIT2_FRAMEWORKS_DIR variable. - Change WEBCORE_PRIVATE_HEADERS_DIR_macosx_Production to WEBCORE_PRIVATE_HEADERS_DIR_Production based on changes to WebKitLegacy.xcconfig. Source/WebKit2: * Configurations/All.xcconfig: - Only set EXCLUDED_SOURCE_FILE_NAMES on iOS. * Configurations/Base.xcconfig: - Only set FRAMEWORK_CONTENT_DIRECTORY, GCC_ENABLE_OBJC_GC and TOOLCHAINS on OS X. * Configurations/BaseLegacyProcess.xcconfig: - Only set SKIP_INSTALL on iOS. * Configurations/BaseTarget.xcconfig: - Set WEBKIT_FRAMEWORKS_DIR and UMBRELLA_FRAMEWORKS_DIR based on SDK, and simply them. * Configurations/BaseXPCService.xcconfig: - Set INSTALL_PATH_ACTUAL_Normal based on SDK. * Configurations/DebugRelease.xcconfig: - Only set MACOSX_DEPLOYMENT_TARGET and SDKROOT on OS X. - Set WEBKIT_SYSTEM_INTERFACE_LIBRARY based on SDK. * Configurations/NetworkProcess.xcconfig: - Only set EXCLUDED_SHIM_FILE_NAME and CODE_SIGN_ENTITLEMENTS on iOS. * Configurations/NetworkService.Development.xcconfig: - Set INFOPLIST_FILE based on SDK. - Simplify CODE_SIGN_ENTITLEMENTS for iOS. * Configurations/NetworkService.xcconfig: - Set INFOPLIST_FILE based on SDK. - Simplify CODE_SIGN_ENTITLEMENTS for iOS. * Configurations/PluginProcess.xcconfig: - Only set EXCLUDED_SHIM_FILE_NAME and SKIP_INSTALL on iOS. * Configurations/PluginProcessShim.xcconfig: - Set OTHER_LDFLAGS based on SDK. * Configurations/PluginService.32.xcconfig: - Only set VALID_ARCHS on OS X. - Set OTHER_LDFLAGS based on platform-specific values. - Only set SKIP_INSTALL on iOS. * Configurations/PluginService.64.xcconfig: - Set ARCHS based on SDK. - Set OTHER_LDFLAGS based on platform-specific values. - Only set SKIP_INSTALL on iOS. * Configurations/PluginService.Development.xcconfig: - Only set SKIP_INSTALL on iOS. - Set OTHER_LDFLAGS based on platform-specific values. * Configurations/SecItemShim.xcconfig: - Set OTHER_LDFLAGS based on platform-specific values. * Configurations/Version.xcconfig: - Set SYSTEM_VERSION_PREFIX separately for iOS and OS X. * Configurations/WebContentProcess.xcconfig: - Only set EXCLUDED_SHIM_FILE_NAME on iOS. - Only set CODE_SIGN_ENTITLEMENTS on iOS Simulator. * Configurations/WebContentService.Development.xcconfig: - Set INFOPLIST_FILE and BUNDLE_LOCALIZATION_KEY based on SDK. - Only set CODE_SIGN_ENTITLEMENTS on iOS hardware. - Set OTHER_LDFLAGS based on platform-specific values. * Configurations/WebContentService.xcconfig: Ditto. * Configurations/WebKit.xcconfig: - Set FRAMEWORK_AND_LIBRARY_LDFLAGS, SECTORDER_FLAGS, and WK_API_AVAILABILITY_ENABLED based on SDK. - Set OTHER_LDFLAGS based on platform-specific values. - Only set EXCLUDED_SOURCE_FILE_NAMES on iOS. * Configurations/WebKit2.xcconfig: - Set INSTALL_PATH, INSTALL_PATH_ACTUAL, DYLIB_INSTALL_NAME_BASE, NORMAL_WEBKIT2_FRAMEWORKS_DIR, WEBKIT2_FRAMEWORKS_DIR and NORMAL_PRODUCTION_FRAMEWORKS_DIR based on SDK. - Set SKIP_INSTALL on iOS. * Configurations/WebProcessShim.xcconfig: - Set OTHER_LDFLAGS based on platform-specific values. Canonical link: https://commits.webkit.org/157783@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-12-20 17:26:56 +00:00
NORMAL_PRODUCTION_FRAMEWORKS_DIR[sdk=iphone*] = $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
NORMAL_PRODUCTION_FRAMEWORKS_DIR[sdk=macosx*] = $(NEXT_ROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks;
PRODUCTION_FRAMEWORKS_DIR = $(PRODUCTION_FRAMEWORKS_DIR_COCOA_TOUCH_$(WK_IS_COCOA_TOUCH));
PRODUCTION_FRAMEWORKS_DIR_COCOA_TOUCH_YES = $(NORMAL_PRODUCTION_FRAMEWORKS_DIR);
PRODUCTION_FRAMEWORKS_DIR_COCOA_TOUCH_NO = $(PRODUCTION_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
[Cocoa] Allow overriding the frameworks directory independently of using a staging install path https://bugs.webkit.org/show_bug.cgi?id=152926 Reviewed by Tim Horton. Introduce a new build setting, WK_OVERRIDE_FRAMEWORKS_DIR. When not empty, it determines where the frameworks are installed. Setting USE_STAGING_INSTALL_PATH to YES sets WK_OVERRIDE_FRAMEWORKS_DIR to $(SYSTEM_LIBRARY_DIR)/StagedFrameworks/Safari. Account for the possibility of WK_OVERRIDE_FRAMEWORKS_DIR containing spaces. Source/JavaScriptCore: * Configurations/Base.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. - Define JAVASCRIPTCORE_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. * Configurations/JSC.xcconfig: Add quotes to account for spaces. * Configurations/ToolExecutable.xcconfig: Ditto. * postprocess-headers.sh: Ditto. Source/ThirdParty: * gtest/xcode/Config/General.xcconfig: Add quotes to account for spaces. * gtest/xcode/Config/ProductionProject.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. - Define WEBCORE_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. Source/WebCore: * Configurations/WebCore.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. - Define WEBCORE_FRAMEWORKS_DIR and PRODUCTION_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. * WebCore.xcodeproj/project.pbxproj: Work around make’s inability to handle spaces in paths by creating a symlink to JAVASCRIPTCORE_PRIVATE_HEADERS_DIR under BUILT_PRODUCTS_DIR and using the symlink as the value of JavaScriptCore_SCRIPTS_DIR. Source/WebInspectorUI: * Configurations/Base.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. * Configurations/WebInspectorUIFramework.xcconfig: - Define INSTALL_PATH and PRODUCTION_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. Source/WebKit/mac: * Configurations/WebKitLegacy.xcconfig: - Replace STAGED_FRAMEWORKS_SEARCH_PATH in FRAMEWORK_SEARCH_PATHS with WK_OVERRIDE_FRAMEWORKS_DIR and add quotes to account for spaces. - Define WEBKIT_LEGACY_FRAMEWORKS_DIR, PRODUCTION_FRAMEWORKS_DIR, and WEBCORE_PRIVATE_HEADERS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. * MigrateHeaders.make: Use a symlink under BUILT_PRODUCTS_DIR to the WebCore Private Headers. Use a BUILT_PRODUCTS_DIR-based path to the framework instead of a TARGET_BUILD_DIR-based one in order to avoid spaces. * migrate-headers.sh: Make the symlink to WEBCORE_PRIVATE_HEADERS_DIR that the makefile now uses. Source/WebKit2: * Configurations/BaseTarget.xcconfig: - Add quotes to account for spaces. - Define WEBKIT_FRAMEWORKS_DIR and UMBRELLA_FRAMEWORKS_DIR based on WK_OVERRIDE_FRAMEWORKS_DIR. * WebKit2.xcodeproj/project.pbxproj: - In the Migrate WebKitLegacy Headers build phase, work around make’s inability to handle spaces in paths by creating a symlink to WEBKIT_LEGACY_PRIVATE_HEADERS_DIR under BUILT_PRODUCTS_DIR and using the symlink as the value of WEBKIT_LEGACY_PRIVATE_HEADERS_DIR. - In the Postprocess WKBase.h and Postprocess WKFoundation.h build phases, add quotes to account for spaces. * mac/MigrateHeadersFromWebKitLegacy.make: Use a BUILT_PRODUCTS_DIR-based path to the framework instead of a TARGET_BUILD_DIR-based one in order to avoid spaces. * mac/postprocess-framework-headers.sh: Add quotes to account for spaces. Canonical link: https://commits.webkit.org/171030@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-01-09 20:13:57 +00:00
PRODUCTION_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_NO = $(NORMAL_PRODUCTION_FRAMEWORKS_DIR);
PRODUCTION_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_YES = $(WK_OVERRIDE_FRAMEWORKS_DIR);
Web Inspector: vended backend commands file should be generated as part of the build https://bugs.webkit.org/show_bug.cgi?id=130110 Reviewed by Timothy Hatcher. Source/JavaScriptCore: * JavaScriptCore.xcodeproj/project.pbxproj: Copy InspectorJSBackendCommands.js to the private headers directory. Source/WebCore: * WebCore.xcodeproj/project.pbxproj: Copy InspectorWebBackendCommands.js to the private headers directory. Source/WebInspectorUI: Copy the backend commands generated in other frameworks into our built products directory. * Configurations/WebInspectorUIFramework.xcconfig: Set up variables so we can pull backend commands files from the private headers directory of other frameworks. * Scripts/copy-user-interface-resources.sh: Always ditto inspector backend commands. * UserInterface/Protocol/InspectorJSBackendCommands.js: Removed. * UserInterface/Protocol/InspectorWebBackendCommands.js: Removed. * WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd: Copy over the generated backend commands files from the other frameworks. * WebInspectorUI.xcodeproj/project.pbxproj: Add JavaScriptCore and WebCore as framework dependencies so Xcode builds them first. Source/WebKit2: * PlatformGTK.cmake: Copy over generated inspector backend commands files. Tools: * Scripts/build-webkit: build WebInspectorUI after WebCore but before WebKit. Canonical link: https://commits.webkit.org/148289@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-03-16 18:43:54 +00:00
JAVASCRIPTCORE_PRIVATE_HEADERS_DIR = $(JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_$(CONFIGURATION));
JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Release = $(JAVASCRIPTCORE_PRIVATE_HEADERS_engineering);
JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Debug = $(JAVASCRIPTCORE_PRIVATE_HEADERS_engineering);
JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Production = $(JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Production_COCOA_TOUCH_$(WK_IS_COCOA_TOUCH));
JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Production_COCOA_TOUCH_YES = $(SDKROOT)$(WK_ALTERNATE_WEBKIT_SDK_PATH)$(SYSTEM_LIBRARY_DIR)/Frameworks/JavaScriptCore.framework/PrivateHeaders;
JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Production_COCOA_TOUCH_NO = $(SDKROOT)$(PRODUCTION_FRAMEWORKS_DIR)/JavaScriptCore.framework/PrivateHeaders;
Web Inspector: vended backend commands file should be generated as part of the build https://bugs.webkit.org/show_bug.cgi?id=130110 Reviewed by Timothy Hatcher. Source/JavaScriptCore: * JavaScriptCore.xcodeproj/project.pbxproj: Copy InspectorJSBackendCommands.js to the private headers directory. Source/WebCore: * WebCore.xcodeproj/project.pbxproj: Copy InspectorWebBackendCommands.js to the private headers directory. Source/WebInspectorUI: Copy the backend commands generated in other frameworks into our built products directory. * Configurations/WebInspectorUIFramework.xcconfig: Set up variables so we can pull backend commands files from the private headers directory of other frameworks. * Scripts/copy-user-interface-resources.sh: Always ditto inspector backend commands. * UserInterface/Protocol/InspectorJSBackendCommands.js: Removed. * UserInterface/Protocol/InspectorWebBackendCommands.js: Removed. * WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd: Copy over the generated backend commands files from the other frameworks. * WebInspectorUI.xcodeproj/project.pbxproj: Add JavaScriptCore and WebCore as framework dependencies so Xcode builds them first. Source/WebKit2: * PlatformGTK.cmake: Copy over generated inspector backend commands files. Tools: * Scripts/build-webkit: build WebInspectorUI after WebCore but before WebKit. Canonical link: https://commits.webkit.org/148289@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2014-03-16 18:43:54 +00:00
JAVASCRIPTCORE_PRIVATE_HEADERS_engineering = $(BUILT_PRODUCTS_DIR)/JavaScriptCore.framework/PrivateHeaders;
SKIP_INSTALL[sdk=iphone*] = YES;