SDK_VARIANT build destinations should be separate from non-SDK_VARIANT builds
[WebKit-https.git] / Source / ThirdParty / ANGLE / Configurations / Base.xcconfig
1 #include? "../../../../../Internal/Configurations/HaveInternalSDK.xcconfig"
2 #include "SDKVariant.xcconfig"
3
4 CODE_SIGN_IDENTITY = -;
5
6 USE_INTERNAL_SDK = $(USE_INTERNAL_SDK_$(CONFIGURATION));
7 USE_INTERNAL_SDK_Production = YES;
8 USE_INTERNAL_SDK_Debug = $(HAVE_INTERNAL_SDK);
9 USE_INTERNAL_SDK_Release = $(HAVE_INTERNAL_SDK);
10
11 ALWAYS_SEARCH_USER_PATHS = NO;
12
13 CLANG_CXX_LANGUAGE_STANDARD = gnu++14;
14 CLANG_CXX_LIBRARY = libc++;
15 CLANG_ENABLE_OBJC_WEAK = YES;
16 CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
17 CLANG_WARN_BOOL_CONVERSION = YES;
18 CLANG_WARN_COMMA = YES;
19 CLANG_WARN_CONSTANT_CONVERSION = YES;
20 CLANG_WARN_EMPTY_BODY = YES;
21 CLANG_WARN_ENUM_CONVERSION = YES;
22 CLANG_WARN_INFINITE_RECURSION = YES;
23 CLANG_WARN_INT_CONVERSION = YES;
24 CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
25 CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
26 CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
27 CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
28 CLANG_WARN_SUSPICIOUS_MOVE = YES;
29 CLANG_WARN_STRICT_PROTOTYPES = YES;
30 CLANG_WARN_UNREACHABLE_CODE = YES;
31 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
32 DEAD_CODE_STRIPPING = YES;
33 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
34 GCC_C_LANGUAGE_STANDARD = gnu99;
35 GCC_DEBUGGING_SYMBOLS = default;
36 GCC_ENABLE_CPP_EXCEPTIONS = NO;
37 GCC_ENABLE_CPP_RTTI = NO;
38 GCC_ENABLE_OBJC_EXCEPTIONS = YES;
39 ENABLE_STRICT_OBJC_MSGSEND = YES;
40 GCC_ENABLE_SYMBOL_SEPARATION = NO;
41 GCC_FAST_OBJC_DISPATCH = YES;
42 GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
43 GCC_NO_COMMON_BLOCKS = YES;
44 GCC_OBJC_CALL_CXX_CDTORS = YES;
45 GCC_OPTIMIZATION_LEVEL = s;
46 GCC_PRECOMPILE_PREFIX_HEADER = NO;
47 GCC_SYMBOLS_PRIVATE_EXTERN = YES;
48 GCC_THREADSAFE_STATICS = NO;
49 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
50 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
51 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
52 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
53 GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
54 GCC_WARN_ABOUT_RETURN_TYPE = YES;
55 GCC_WARN_UNDECLARED_SELECTOR = YES;
56 CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
57 CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
58 GCC_WARN_UNINITIALIZED_AUTOS = YES;
59 GCC_WARN_UNUSED_FUNCTION = YES;
60 GCC_WARN_UNUSED_VARIABLE = YES;
61 PREBINDING = NO;
62 STRIP_INSTALLED_PRODUCT = NO;
63 WARNING_CFLAGS = -Wglobal-constructors -Wno-newline-eof -Wno-inconsistent-missing-override;
64
65 SUPPORTED_PLATFORMS = iphoneos iphonesimulator macosx appletvos appletvsimulator watchos watchsimulator;
66
67 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier));
68 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200;
69 TARGET_MAC_OS_X_VERSION_MAJOR_13 = 101300;
70 TARGET_MAC_OS_X_VERSION_MAJOR_14 = 101400;
71 TARGET_MAC_OS_X_VERSION_MAJOR_15 = 101500;
72
73 SDKROOT = macosx.internal;
74
75 OTHER_CFLAGS = $(ASAN_OTHER_CFLAGS);
76 OTHER_CPLUSPLUSFLAGS = $(ASAN_OTHER_CPLUSPLUSFLAGS);
77 OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS);
78
79 ANGLE_INSTALL_PATH_PREFIX = $(ANGLE_INSTALL_PATH_PREFIX_DEPLOYMENT_$(DEPLOYMENT_LOCATION));
80 ANGLE_INSTALL_PATH_PREFIX_DEPLOYMENT_YES = $(ANGLE_INSTALL_PATH_PREFIX_DEPLOYMENT_YES_USE_ALTERNATE_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR));
81 ANGLE_INSTALL_PATH_PREFIX_DEPLOYMENT_YES_USE_ALTERNATE_YES = $(WK_ALTERNATE_FRAMEWORKS_DIR)/;
82
83 LLVM_LTO = $(WK_LLVM_LTO_$(WK_XCODE_SUPPORTS_LTO));
84 WK_LLVM_LTO_NO = NO;
85 WK_LLVM_LTO_YES = $(WK_USER_LTO_MODE);
86
87 WK_XCODE_SUPPORTS_LTO = $(WK_NOT_$(WK_XCODE_VERSION_BEFORE_9_$(XCODE_VERSION_MAJOR)));
88 WK_XCODE_VERSION_BEFORE_9_0800 = YES;
89 WK_XCODE_VERSION_BEFORE_9_0700 = YES;
90
91 WK_USER_LTO_MODE = $(WK_USER_LTO_MODE_$(WK_LTO_MODE));
92 WK_USER_LTO_MODE_full = YES;
93 WK_USER_LTO_MODE_thin = YES_THIN;
94 WK_USER_LTO_MODE_none = NO;
95 WK_USER_LTO_MODE_ = $(WK_DEFAULT_LTO_MODE);
96 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_none);