Build libwebrtc and dependencies with Xcode
[WebKit-https.git] / Source / ThirdParty / libwebrtc / 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 CLANG_CXX_LANGUAGE_STANDARD = gnu++14;
9 CLANG_CXX_LIBRARY = libc++;
10 CLANG_WARN_BOOL_CONVERSION = YES;
11 CLANG_WARN_CONSTANT_CONVERSION = YES;
12 CLANG_WARN_EMPTY_BODY = YES;
13 CLANG_WARN_ENUM_CONVERSION = YES;
14 CLANG_WARN_INT_CONVERSION = YES;
15 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
16 DEAD_CODE_STRIPPING = YES;
17 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
18 GCC_C_LANGUAGE_STANDARD = gnu99;
19 GCC_DEBUGGING_SYMBOLS = default;
20 GCC_ENABLE_CPP_EXCEPTIONS = NO;
21 GCC_ENABLE_CPP_RTTI = NO;
22 GCC_ENABLE_OBJC_EXCEPTIONS = YES;
23 ENABLE_STRICT_OBJC_MSGSEND = YES;
24 GCC_ENABLE_SYMBOL_SEPARATION = NO;
25 GCC_FAST_OBJC_DISPATCH = YES;
26 GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
27 GCC_NO_COMMON_BLOCKS = YES;
28 GCC_OBJC_CALL_CXX_CDTORS = YES;
29 GCC_OPTIMIZATION_LEVEL = s;
30 GCC_PRECOMPILE_PREFIX_HEADER = NO;
31 GCC_SYMBOLS_PRIVATE_EXTERN = YES;
32 GCC_THREADSAFE_STATICS = NO;
33 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
34 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
35 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
36 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
37 GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
38 GCC_WARN_ABOUT_RETURN_TYPE = YES;
39 GCC_WARN_UNDECLARED_SELECTOR = YES;
40 GCC_WARN_UNINITIALIZED_AUTOS = YES;
41 GCC_WARN_UNUSED_FUNCTION = YES;
42 GCC_WARN_UNUSED_VARIABLE = YES;
43 PREBINDING = NO;
44 STRIP_INSTALLED_PRODUCT = NO;
45 WARNING_CFLAGS = -Wexit-time-destructors -Wglobal-constructors;
46
47 SUPPORTED_PLATFORMS = iphoneos iphonesimulator macosx appletvos appletvsimulator watchos watchsimulator;
48
49 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier));
50 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;
51 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100;
52 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200;
53 TARGET_MAC_OS_X_VERSION_MAJOR_13 = 101300;
54
55 SDKROOT = macosx.internal;
56
57 OTHER_CFLAGS = $(ASAN_OTHER_CFLAGS);
58 OTHER_CPLUSPLUSFLAGS = $(ASAN_OTHER_CPLUSPLUSFLAGS);
59 OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS);