dino@apple.com | b9e1955 | 2020-06-17 01:17:32 +0000 | [diff] [blame] | 1 | #include "Version.xcconfig" |
| 2 | #include "WebKitTargetConditionals.xcconfig" |
| 3 | |
| 4 | PRODUCT_NAME = ANGLE-shared; |
| 5 | EXECUTABLE_PREFIX = lib; |
| 6 | |
commit-queue@webkit.org | 837de4d | 2021-04-28 21:59:00 +0000 | [diff] [blame] | 7 | ANGLE_OTHER_LDFLAGS = -allowable_client WebCore -allowable_client WebCoreTestSupport -framework QuartzCore -framework CoreGraphics -framework Foundation -framework IOSurface -framework Metal $(ANGLE_OTHER_LDFLAGS_$(WK_PLATFORM_NAME)) -Wl; |
dino@apple.com | b4d4ed8 | 2020-09-25 22:49:19 +0000 | [diff] [blame] | 8 | ANGLE_OTHER_LDFLAGS_iphoneos = -lz; |
dino@apple.com | b9e1955 | 2020-06-17 01:17:32 +0000 | [diff] [blame] | 9 | ANGLE_OTHER_LDFLAGS_iphonesimulator = $(ANGLE_OTHER_LDFLAGS_iphoneos); |
| 10 | ANGLE_OTHER_LDFLAGS_watchos = $(ANGLE_OTHER_LDFLAGS_iphoneos); |
| 11 | ANGLE_OTHER_LDFLAGS_watchsimulator = $(ANGLE_OTHER_LDFLAGS_iphonesimulator); |
| 12 | ANGLE_OTHER_LDFLAGS_appletvos = $(ANGLE_OTHER_LDFLAGS_iphoneos); |
| 13 | ANGLE_OTHER_LDFLAGS_appletvsimulator = $(ANGLE_OTHER_LDFLAGS_iphonesimulator); |
dino@apple.com | b4d4ed8 | 2020-09-25 22:49:19 +0000 | [diff] [blame] | 14 | ANGLE_OTHER_LDFLAGS_maccatalyst = -framework IOKit -lz; |
| 15 | ANGLE_OTHER_LDFLAGS_macosx = -framework IOKit -lz; |
dino@apple.com | b9e1955 | 2020-06-17 01:17:32 +0000 | [diff] [blame] | 16 | |
david_quesada@apple.com | 584d412 | 2022-05-26 01:16:04 +0000 | [diff] [blame] | 17 | INSTALL_PATH_PREFIX = $(INSTALL_PATH_PREFIX_USE_SYSTEM_CONTENT_PATH_$(USE_SYSTEM_CONTENT_PATH)_$(WK_NOT_$(USE_STAGING_INSTALL_PATH))); |
| 18 | INSTALL_PATH_PREFIX_USE_SYSTEM_CONTENT_PATH_YES_YES = $(SYSTEM_CONTENT_PATH); |
msaboff@apple.com | 26f9a854 | 2022-03-04 01:26:55 +0000 | [diff] [blame] | 19 | SECONDARY_STAGED_FRAMEWORK_DIRECTORY = $(SYSTEM_SECONDARY_CONTENT_PATH)$(SYSTEM_LIBRARY_DIR)/StagedFrameworks/Safari |
| 20 | STAGED_DYLIB_FRAMEWORK_PATH=/WebCore.framework/Versions/A/Frameworks |
msaboff@apple.com | b11440f | 2022-03-11 01:20:55 +0000 | [diff] [blame] | 21 | COPY_STAGED_FRAMEWORKS_TO_SECONDARY_PATH = $(COPY_STAGED_FRAMEWORKS_TO_SECONDARY_PATH_SDK_VARIANT_$(SDK_VARIANT)); |
| 22 | COPY_STAGED_FRAMEWORKS_TO_SECONDARY_PATH_SDK_VARIANT_ = NO |
| 23 | COPY_STAGED_FRAMEWORKS_TO_SECONDARY_PATH_SDK_VARIANT_iosmac = NO |
msaboff@apple.com | 89077c4 | 2022-01-05 19:42:45 +0000 | [diff] [blame] | 24 | |
| 25 | INSTALL_PATH = $(INSTALL_PATH_PREFIX)$(NORMAL_WEBCORE_FRAMEWORKS_DIR)/WebCore.framework/Frameworks; |
| 26 | INSTALL_PATH[sdk=macosx*] = $(INSTALL_PATH_USE_ALTERNATE_FRAMEWORKS_DIR_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR)); |
commit-queue@webkit.org | 6d6dc37 | 2021-04-20 05:19:31 +0000 | [diff] [blame] | 27 | INSTALL_PATH_USE_ALTERNATE_FRAMEWORKS_DIR_NO = $(INSTALL_PATH_USE_OVERRIDE_FRAMEWORKS_DIR_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR)); |
msaboff@apple.com | 89077c4 | 2022-01-05 19:42:45 +0000 | [diff] [blame] | 28 | INSTALL_PATH_USE_OVERRIDE_FRAMEWORKS_DIR_NO = $(INSTALL_PATH_PREFIX)$(NORMAL_WEBCORE_FRAMEWORKS_DIR)/WebCore.framework/Versions/A/Frameworks; |
commit-queue@webkit.org | 6d6dc37 | 2021-04-20 05:19:31 +0000 | [diff] [blame] | 29 | INSTALL_PATH_USE_OVERRIDE_FRAMEWORKS_DIR_YES = $(WK_OVERRIDE_FRAMEWORKS_DIR); |
msaboff@apple.com | 89077c4 | 2022-01-05 19:42:45 +0000 | [diff] [blame] | 30 | INSTALL_PATH_USE_ALTERNATE_FRAMEWORKS_DIR_YES = $(INSTALL_PATH_PREFIX)$(WK_ALTERNATE_FRAMEWORKS_DIR)/$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks/WebCore.framework/Versions/A/Frameworks; |
dino@apple.com | b9e1955 | 2020-06-17 01:17:32 +0000 | [diff] [blame] | 31 | |
msaboff@apple.com | 928d534 | 2022-03-18 00:46:15 +0000 | [diff] [blame] | 32 | DYLIB_INSTALL_NAME_BASE = $(NORMAL_WEBCORE_FRAMEWORKS_DIR)/WebCore.framework/Frameworks; |
dino@apple.com | 2653662 | 2020-11-20 01:16:15 +0000 | [diff] [blame] | 33 | DYLIB_INSTALL_NAME_BASE[sdk=macosx*] = $(DYLIB_INSTALL_NAME_BASE_USE_ALTERNATE_FRAMEWORKS_DIR_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR)); |
| 34 | DYLIB_INSTALL_NAME_BASE_USE_ALTERNATE_FRAMEWORKS_DIR_NO = $(DYLIB_INSTALL_NAME_BASE_WK_RELOCATABLE_FRAMEWORKS_$(WK_RELOCATABLE_FRAMEWORKS)); |
msaboff@apple.com | 92e82cf | 2022-02-04 01:16:05 +0000 | [diff] [blame] | 35 | DYLIB_INSTALL_NAME_BASE_USE_ALTERNATE_FRAMEWORKS_DIR_YES = $(WK_ALTERNATE_FRAMEWORKS_DIR)/$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks/WebCore.framework/Versions/A/Frameworks; |
| 36 | DYLIB_INSTALL_NAME_BASE_WK_RELOCATABLE_FRAMEWORKS_ = $(NORMAL_WEBCORE_FRAMEWORKS_DIR)/WebCore.framework/Versions/A/Frameworks; |
dino@apple.com | b9e1955 | 2020-06-17 01:17:32 +0000 | [diff] [blame] | 37 | DYLIB_INSTALL_NAME_BASE_WK_RELOCATABLE_FRAMEWORKS_YES = @loader_path/../../../; |
| 38 | |
kpiddington@apple.com | d93b2e6 | 2022-01-05 21:58:55 +0000 | [diff] [blame] | 39 | HEADER_SEARCH_PATHS = ${DERIVED_FILES_DIR} include src src/common/third_party/numerics third_party/base src/common/third_party/base third_party/zlib/google ${DERIVED_FILES_DIR}; |
dino@apple.com | b9e1955 | 2020-06-17 01:17:32 +0000 | [diff] [blame] | 40 | |
emw@apple.com | b917917 | 2022-06-02 18:29:45 +0000 | [diff] [blame] | 41 | ANGLE_HEADERS_FOLDER_PATH = $(WK_LIBRARY_HEADERS_FOLDER_PATH)/ANGLE; |
dino@apple.com | b9e1955 | 2020-06-17 01:17:32 +0000 | [diff] [blame] | 42 | |
| 43 | PUBLIC_HEADERS_FOLDER_PATH = $(ANGLE_HEADERS_FOLDER_PATH); |
| 44 | PUBLIC_HEADERS_FOLDER_PATH[sdk=macosx*] = $(PUBLIC_HEADERS_FOLDER_PATH_$(WK_PLATFORM_NAME)); |
| 45 | PUBLIC_HEADERS_FOLDER_PATH_macosx = $(ANGLE_HEADERS_FOLDER_PATH); |
| 46 | PUBLIC_HEADERS_FOLDER_PATH_maccatalyst = $(WK_ALTERNATE_FRAMEWORKS_DIR)/$(ANGLE_HEADERS_FOLDER_PATH); |
| 47 | |
commit-queue@webkit.org | 82c783c | 2021-12-16 17:51:47 +0000 | [diff] [blame] | 48 | GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) LIBGLESV2_IMPLEMENTATION LIBANGLE_IMPLEMENTATION ANGLE_CAPTURE_ENABLED=0 ANGLE_ENABLE_OPENGL ANGLE_ENABLE_GLSL ANGLE_ENABLE_ESSL GL_SILENCE_DEPRECATION GLES_SILENCE_DEPRECATION ANGLE_ENABLE_METAL ANGLE_METAL_XCODE_BUILDS_SHADERS ANGLE_ENABLE_APPLE_WORKAROUNDS ANGLE_ENABLE_METAL_OWNERSHIP_IDENTITY; |
dino@apple.com | 6b04a0c | 2021-12-07 19:51:36 +0000 | [diff] [blame] | 49 | |
commit-queue@webkit.org | 82c783c | 2021-12-16 17:51:47 +0000 | [diff] [blame] | 50 | GCC_PREPROCESSOR_DEFINITIONS[sdk=macosx*] = $(DEBUG_DEFINES) LIBGLESV2_IMPLEMENTATION LIBANGLE_IMPLEMENTATION ANGLE_CAPTURE_ENABLED=0 ANGLE_ENABLE_OPENGL ANGLE_ENABLE_GLSL ANGLE_ENABLE_ESSL GL_SILENCE_DEPRECATION GLES_SILENCE_DEPRECATION ANGLE_ENABLE_METAL ANGLE_METAL_XCODE_BUILDS_SHADERS ANGLE_ENABLE_APPLE_WORKAROUNDS ANGLE_ENABLE_OPENGL_DESKTOP ANGLE_ENABLE_METAL_OWNERSHIP_IDENTITY |
ddkilzer@apple.com | a5a6850 | 2020-11-04 21:17:51 +0000 | [diff] [blame] | 51 | |
| 52 | DEAD_CODE_STRIPPING = YES; |
| 53 | DEAD_CODE_STRIPPING[config=Debug] = NO; |
| 54 | |
| 55 | STRIP_INSTALLED_PRODUCT = YES; |
| 56 | STRIP_INSTALLED_PRODUCT[config=Debug] = NO; |
dino@apple.com | b9e1955 | 2020-06-17 01:17:32 +0000 | [diff] [blame] | 57 | |
| 58 | INSTALLHDRS_SCRIPT_PHASE = YES; |
| 59 | USE_HEADERMAP = NO; |
krollin@apple.com | bb322c6 | 2020-08-13 06:09:30 +0000 | [diff] [blame] | 60 | APPLY_RULES_IN_COPY_HEADERS = $(WK_USE_NEW_BUILD_SYSTEM); |