AX: AXIsolatedTree::updateChildren sometimes fails to update isolated subtrees when...
[WebKit.git] / Source / ThirdParty / ANGLE / Configurations / Base.xcconfig
1 #include? "../../../../../Internal/Configurations/HaveInternalSDK.xcconfig"
2 #include? "<DEVELOPER_DIR>/AppleInternal/XcodeConfig/PlatformSupport.xcconfig"
3 #include "SDKVariant.xcconfig"
4 #include "WebKitTargetConditionals.xcconfig"
5
6 CODE_SIGN_IDENTITY = -;
7 AD_HOC_CODE_SIGNING_ALLOWED = YES;
8
9 USE_INTERNAL_SDK = $(USE_INTERNAL_SDK_$(CONFIGURATION));
10 USE_INTERNAL_SDK_Production = YES;
11 USE_INTERNAL_SDK_Debug = $(HAVE_INTERNAL_SDK);
12 USE_INTERNAL_SDK_Release = $(HAVE_INTERNAL_SDK);
13
14 ALWAYS_SEARCH_USER_PATHS = NO;
15
16 CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
17 CLANG_CXX_LANGUAGE_STANDARD = c++2a;
18 CLANG_CXX_LIBRARY = libc++;
19 CLANG_ENABLE_OBJC_ARC = NO;
20 CLANG_ENABLE_OBJC_WEAK = YES;
21 CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
22 CLANG_WARN_BOOL_CONVERSION = YES;
23 CLANG_WARN_COMMA = YES;
24 CLANG_WARN_CONSTANT_CONVERSION = YES;
25 CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
26 CLANG_WARN_EMPTY_BODY = YES;
27 CLANG_WARN_ENUM_CONVERSION = YES;
28 CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
29 CLANG_WARN_INFINITE_RECURSION = YES;
30 CLANG_WARN_INT_CONVERSION = YES;
31 CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
32 CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
33 CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
34 CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
35 CLANG_WARN_SUSPICIOUS_MOVE = YES;
36 CLANG_WARN_STRICT_PROTOTYPES = YES;
37 CLANG_WARN_SUSPICIOUS_MOVE = YES;
38 CLANG_WARN_UNREACHABLE_CODE = YES;
39
40 ENABLE_BITCODE = NO;
41
42 GCC_C_LANGUAGE_STANDARD = gnu99;
43 GCC_DEBUGGING_SYMBOLS = default;
44 GCC_ENABLE_CPP_EXCEPTIONS = NO;
45 GCC_ENABLE_CPP_RTTI = NO;
46 GCC_ENABLE_OBJC_EXCEPTIONS = YES;
47 GCC_ENABLE_SYMBOL_SEPARATION = NO;
48 GCC_FAST_OBJC_DISPATCH = YES;
49 GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
50 GCC_NO_COMMON_BLOCKS = YES;
51 GCC_OBJC_CALL_CXX_CDTORS = YES;
52 GCC_PRECOMPILE_PREFIX_HEADER = NO;
53 GCC_SYMBOLS_PRIVATE_EXTERN = YES;
54 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
55 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
56 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
57 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
58 GCC_WARN_ABOUT_MISSING_NEWLINE = NO;
59 GCC_WARN_ABOUT_RETURN_TYPE = YES;
60 GCC_WARN_UNDECLARED_SELECTOR = YES;
61 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
62 GCC_WARN_UNUSED_FUNCTION = YES;
63 GCC_WARN_UNUSED_VARIABLE = YES;
64
65 PREBINDING = NO;
66
67 WARNING_CFLAGS = -Wformat=2 -Wglobal-constructors -Wno-inconsistent-missing-override -Wno-unknown-warning-option;
68
69 SUPPORTED_PLATFORMS = iphoneos iphonesimulator macosx appletvos appletvsimulator watchos watchsimulator;
70 SUPPORTS_MACCATALYST = YES;
71
72 TARGET_MACOS_LEGACY_VERSION_IDENTIFIER = $(TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_$(MACOSX_DEPLOYMENT_TARGET:base))
73 TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_10 = 10$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)
74
75 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR_$(TARGET_MACOS_LEGACY_VERSION_IDENTIFIER))
76 TARGET_MAC_OS_X_VERSION_MAJOR_ = $(MACOSX_DEPLOYMENT_TARGET:base:base)0000
77 TARGET_MAC_OS_X_VERSION_MAJOR_10_14 = 101400
78 TARGET_MAC_OS_X_VERSION_MAJOR_10_15 = 101500
79
80 // This is overridden in ANGLE-dynamic.xcconfig.
81 DEAD_CODE_STRIPPING = NO;
82
83 DEBUG_DEFINES = NDEBUG;
84 DEBUG_DEFINES[config=Debug] = ;
85
86 GCC_OPTIMIZATION_LEVEL = s;
87 GCC_OPTIMIZATION_LEVEL[config=Debug] = 0;
88
89 // This is overridden in ANGLE-dynamic.xcconfig.
90 STRIP_INSTALLED_PRODUCT = NO;
91
92 NORMAL_WEBCORE_FRAMEWORKS_DIR = $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
93 NORMAL_WEBCORE_FRAMEWORKS_DIR[sdk=macosx*] = $(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Versions/A/Frameworks;
94
95 WK_USE_OVERRIDE_FRAMEWORKS_DIR = $(WK_NOT_$(WK_EMPTY_$(WK_OVERRIDE_FRAMEWORKS_DIR)));
96
97 WK_OVERRIDE_FRAMEWORKS_DIR = $(WK_OVERRIDE_FRAMEWORKS_DIR_USE_STAGING_INSTALL_PATH_$(USE_STAGING_INSTALL_PATH));
98 WK_OVERRIDE_FRAMEWORKS_DIR_USE_STAGING_INSTALL_PATH_YES = $(WK_INSTALL_PATH_PREFIX)$(SYSTEM_LIBRARY_DIR)/StagedFrameworks/Safari;
99
100 WK_INSTALL_PATH_PREFIX = $(WK_INSTALL_PATH_PREFIX_DEPLOYMENT_$(DEPLOYMENT_LOCATION)_USE_STAGING_INSTALL_PATH_$(USE_STAGING_INSTALL_PATH)_USE_SYSTEM_CONTENT_PATH_$(USE_SYSTEM_CONTENT_PATH));
101 WK_INSTALL_PATH_PREFIX_DEPLOYMENT_YES_USE_STAGING_INSTALL_PATH_YES_USE_SYSTEM_CONTENT_PATH_YES = $(SYSTEM_SECONDARY_CONTENT_PATH);
102 WK_INSTALL_PATH_PREFIX_DEPLOYMENT_YES_USE_STAGING_INSTALL_PATH_YES_USE_SYSTEM_CONTENT_PATH_NO = $(PLATFORM_OOB_SYSTEM_CONTENT_DIR);
103 WK_INSTALL_PATH_PREFIX_DEPLOYMENT_YES_USE_STAGING_INSTALL_PATH_YES_USE_SYSTEM_CONTENT_PATH_ = $(PLATFORM_OOB_SYSTEM_CONTENT_DIR);
104
105 WK_LIBRARY_HEADERS_FOLDER_PATH = $(WK_LIBRARY_HEADERS_FOLDER_PATH_OVERRIDE_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
106 WK_LIBRARY_HEADERS_FOLDER_PATH_OVERRIDE_NO = /usr/local/include;
107 WK_LIBRARY_HEADERS_FOLDER_PATH_OVERRIDE_YES = /usr/local/include/safari-sdk;
108 WK_LIBRARY_INSTALL_PATH = $(WK_LIBRARY_INSTALL_PATH_OVERRIDE_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
109 WK_LIBRARY_INSTALL_PATH_OVERRIDE_NO = /usr/local/lib;
110 WK_LIBRARY_INSTALL_PATH_OVERRIDE_YES = /usr/local/lib/safari-sdk;
111
112 ANGLE_INSTALL_PATH_PREFIX = $(ANGLE_INSTALL_PATH_PREFIX_DEPLOYMENT_$(DEPLOYMENT_LOCATION));
113 ANGLE_INSTALL_PATH_PREFIX_DEPLOYMENT_YES = $(ANGLE_INSTALL_PATH_PREFIX_DEPLOYMENT_YES_USE_ALTERNATE_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR));
114 ANGLE_INSTALL_PATH_PREFIX_DEPLOYMENT_YES_USE_ALTERNATE_YES = $(WK_ALTERNATE_FRAMEWORKS_DIR)/;
115
116 OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS) $(ANGLE_OTHER_LDFLAGS) $(SOURCE_VERSION_LDFLAGS);
117
118 LLVM_LTO = $(WK_LLVM_LTO_$(WK_XCODE_SUPPORTS_LTO));
119 WK_LLVM_LTO_NO = NO;
120 WK_LLVM_LTO_YES = $(WK_USER_LTO_MODE);
121
122 WK_XCODE_SUPPORTS_LTO = $(WK_NOT_$(WK_XCODE_VERSION_BEFORE_10_2_$(XCODE_VERSION_MAJOR)));
123 WK_XCODE_SUPPORTS_LTO[arch=arm*] = $(WK_NOT_$(WK_XCODE_VERSION_BEFORE_11_4_$(XCODE_VERSION_MAJOR)));
124
125 WK_XCODE_VERSION_BEFORE_10_2_0800 = YES;
126 WK_XCODE_VERSION_BEFORE_10_2_0900 = YES;
127 WK_XCODE_VERSION_BEFORE_10_2_1000 = $(WK_XCODE_VERSION_BEFORE_10_2_1000_$(XCODE_VERSION_MINOR));
128 WK_XCODE_VERSION_BEFORE_10_2_1000_1000 = YES;
129 WK_XCODE_VERSION_BEFORE_10_2_1000_1010 = YES;
130
131 WK_XCODE_VERSION_BEFORE_11_4_0800 = YES;
132 WK_XCODE_VERSION_BEFORE_11_4_0900 = YES;
133 WK_XCODE_VERSION_BEFORE_11_4_1000 = YES;
134 WK_XCODE_VERSION_BEFORE_11_4_1100 = $(WK_XCODE_VERSION_BEFORE_11_4_1100_$(XCODE_VERSION_MINOR));
135 WK_XCODE_VERSION_BEFORE_11_4_1100_1100 = YES;
136 WK_XCODE_VERSION_BEFORE_11_4_1100_1110 = YES;
137 WK_XCODE_VERSION_BEFORE_11_4_1100_1120 = YES;
138 WK_XCODE_VERSION_BEFORE_11_4_1100_1130 = YES;
139
140 WK_USER_LTO_MODE = $(WK_USER_LTO_MODE_$(WK_LTO_MODE));
141 WK_USER_LTO_MODE_full = YES;
142 WK_USER_LTO_MODE_thin = YES_THIN;
143 WK_USER_LTO_MODE_none = NO;
144 WK_USER_LTO_MODE_ = $(WK_DEFAULT_LTO_MODE);
145 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_thin);
146
147 // Use a difference in the way the Legacy build sytem and XCBuild interpret
148 // xcconfig file to determine which is being used.
149 WK_WHICH_BUILD_SYSTEM = not_
150 WK_WHICH_BUILD_SYSTEM = $(inherited)legacy
151 WK_USE_NEW_BUILD_SYSTEM = $(WK_USE_NEW_BUILD_SYSTEM_$(WK_WHICH_BUILD_SYSTEM))
152 WK_USE_NEW_BUILD_SYSTEM_legacy = NO
153 WK_USE_NEW_BUILD_SYSTEM_not_legacy = YES
154
155 MTL_ENABLE_DEBUG_INFO = NO;