0f6d6eda0f69f5932b5b80d673b64c976c175591
[WebKit-https.git] / Source / ThirdParty / ANGLE / Configurations / Base.xcconfig
1 #include? "../../../../../Internal/Configurations/HaveInternalSDK.xcconfig"
2
3 USE_INTERNAL_SDK = $(USE_INTERNAL_SDK_$(CONFIGURATION));
4 USE_INTERNAL_SDK_Production = YES;
5 USE_INTERNAL_SDK_Debug = $(HAVE_INTERNAL_SDK);
6 USE_INTERNAL_SDK_Release = $(HAVE_INTERNAL_SDK);
7
8 ALWAYS_SEARCH_USER_PATHS = NO;
9
10 CLANG_CXX_LANGUAGE_STANDARD = gnu++14;
11 CLANG_CXX_LIBRARY = libc++;
12 CLANG_ENABLE_OBJC_WEAK = YES;
13 CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
14 CLANG_WARN_BOOL_CONVERSION = YES;
15 CLANG_WARN_CONSTANT_CONVERSION = YES;
16 CLANG_WARN_EMPTY_BODY = YES;
17 CLANG_WARN_ENUM_CONVERSION = YES;
18 CLANG_WARN_INT_CONVERSION = YES;
19 CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
20 CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
21 CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
22 CLANG_WARN_STRICT_PROTOTYPES = YES;
23 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
24 DEAD_CODE_STRIPPING = YES;
25 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
26 GCC_C_LANGUAGE_STANDARD = gnu99;
27 GCC_DEBUGGING_SYMBOLS = default;
28 GCC_ENABLE_CPP_EXCEPTIONS = NO;
29 GCC_ENABLE_CPP_RTTI = NO;
30 GCC_ENABLE_OBJC_EXCEPTIONS = YES;
31 ENABLE_STRICT_OBJC_MSGSEND = YES;
32 GCC_ENABLE_SYMBOL_SEPARATION = NO;
33 GCC_FAST_OBJC_DISPATCH = YES;
34 GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
35 GCC_NO_COMMON_BLOCKS = YES;
36 GCC_OBJC_CALL_CXX_CDTORS = YES;
37 GCC_OPTIMIZATION_LEVEL = s;
38 GCC_PRECOMPILE_PREFIX_HEADER = NO;
39 GCC_SYMBOLS_PRIVATE_EXTERN = YES;
40 GCC_THREADSAFE_STATICS = NO;
41 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
42 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
43 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
44 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
45 GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
46 GCC_WARN_ABOUT_RETURN_TYPE = YES;
47 GCC_WARN_UNDECLARED_SELECTOR = YES;
48 GCC_WARN_UNINITIALIZED_AUTOS = YES;
49 GCC_WARN_UNUSED_FUNCTION = YES;
50 GCC_WARN_UNUSED_VARIABLE = YES;
51 PREBINDING = NO;
52 STRIP_INSTALLED_PRODUCT = NO;
53 WARNING_CFLAGS = -Wglobal-constructors -Wno-newline-eof -Wno-inconsistent-missing-override;
54
55 SUPPORTED_PLATFORMS = iphoneos iphonesimulator macosx appletvos appletvsimulator watchos watchsimulator;
56
57 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier));
58 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100;
59 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200;
60 TARGET_MAC_OS_X_VERSION_MAJOR_13 = 101300;
61 TARGET_MAC_OS_X_VERSION_MAJOR_14 = 101400;
62 TARGET_MAC_OS_X_VERSION_MAJOR_15 = 101500;
63
64 SDKROOT = macosx.internal;
65
66 OTHER_CFLAGS = $(ASAN_OTHER_CFLAGS);
67 OTHER_CPLUSPLUSFLAGS = $(ASAN_OTHER_CPLUSPLUSFLAGS);
68 OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS);
69
70 WK_EMPTY_ = YES;
71 WK_NOT_ = YES;
72 WK_NOT_YES = NO;
73
74 WK_USE_ALTERNATE_FRAMEWORKS_DIR = $(WK_NOT_$(WK_EMPTY_$(WK_ALTERNATE_FRAMEWORKS_DIR)));
75
76 ANGLE_INSTALL_PATH_PREFIX = $(ANGLE_INSTALL_PATH_PREFIX_DEPLOYMENT_$(DEPLOYMENT_LOCATION));
77 ANGLE_INSTALL_PATH_PREFIX_DEPLOYMENT_YES = $(ANGLE_INSTALL_PATH_PREFIX_DEPLOYMENT_YES_USE_ALTERNATE_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR));
78 ANGLE_INSTALL_PATH_PREFIX_DEPLOYMENT_YES_USE_ALTERNATE_YES = $(WK_ALTERNATE_FRAMEWORKS_DIR)/;
79
80 WK_PLATFORM_NAME = $(WK_PLATFORM_NAME_USE_ALTERNATE_FRAMEWORKS_DIR_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR));
81 WK_PLATFORM_NAME_USE_ALTERNATE_FRAMEWORKS_DIR_YES = iphoneminimalsimulator;
82 WK_PLATFORM_NAME_USE_ALTERNATE_FRAMEWORKS_DIR_NO = $(PLATFORM_NAME);