Versioning.
[WebKit-https.git] / Source / WebInspectorUI / 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 COPY_PHASE_STRIP = NO;
9 DEAD_CODE_STRIPPING = YES;
10 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
11
12 ALWAYS_SEARCH_USER_PATHS = NO;
13 FRAMEWORK_SEARCH_PATHS = $(WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR) $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks $(inherited);
14
15 CLANG_CXX_LANGUAGE_STANDARD = gnu++14;
16 CLANG_CXX_LIBRARY = libc++;
17 CLANG_WARN_BOOL_CONVERSION = YES;
18 CLANG_WARN_CONSTANT_CONVERSION = YES;
19 CLANG_WARN_CXX0X_EXTENSIONS = NO;
20 CLANG_WARN_EMPTY_BODY = YES;
21 CLANG_WARN_ENUM_CONVERSION = YES;
22 CLANG_WARN_INT_CONVERSION = YES;
23 CLANG_WARN_UNREACHABLE_CODE = YES;
24 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
25 ENABLE_STRICT_OBJC_MSGSEND = YES;
26 GCC_C_LANGUAGE_STANDARD = gnu99;
27 GCC_DYNAMIC_NO_PIC = YES;
28 GCC_ENABLE_CPP_EXCEPTIONS = NO;
29 GCC_ENABLE_CPP_RTTI = NO;
30 GCC_ENABLE_OBJC_EXCEPTIONS = YES;
31 GCC_FAST_OBJC_DISPATCH = YES;
32 GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
33 GCC_NO_COMMON_BLOCKS = YES;
34 GCC_OPTIMIZATION_LEVEL = s;
35 GCC_PRECOMPILE_PREFIX_HEADER = NO;
36 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) $(ENGINEERING_BUILD_DEFINES);
37 GCC_THREADSAFE_STATICS = NO;
38 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
39 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
40 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
41 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
42 GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
43 GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
44 GCC_WARN_ABOUT_RETURN_TYPE = YES
45 GCC_WARN_ABOUT_RETURN_TYPE = YES;
46 GCC_WARN_NON_VIRTUAL_DESTRUCTOR = 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 WARNING_CFLAGS = -Wall -W -Wchar-subscripts -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wexit-time-destructors;
52
53 ENGINEERING_BUILD_DEFINES = $(ENGINEERING_BUILD_DEFINES_$(ENGINEERING_BUILD));
54 ENGINEERING_BUILD_DEFINES_1 = ENGINEERING_BUILD=1;
55
56 SUPPORTED_PLATFORMS = iphoneos iphonesimulator macosx tvos tvsimulator watchos watchsimulator;
57
58 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier));
59 TARGET_MAC_OS_X_VERSION_MAJOR_10 = 101000;
60 TARGET_MAC_OS_X_VERSION_MAJOR_11 = 101100;
61 TARGET_MAC_OS_X_VERSION_MAJOR_12 = 101200;
62 TARGET_MAC_OS_X_VERSION_MAJOR_13 = 101300;
63 TARGET_MAC_OS_X_VERSION_MAJOR_14 = 101400;
64
65 SDKROOT = macosx.internal;
66
67 OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH = -Wl,-dyld_env -Wl,DYLD_VERSIONED_FRAMEWORK_PATH=/System/Library/StagedFrameworks/Safari;
68
69 OTHER_CFLAGS = $(ASAN_OTHER_CFLAGS);
70 OTHER_CPLUSPLUSFLAGS = $(ASAN_OTHER_CPLUSPLUSFLAGS);
71 OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS);
72
73 COMBINE_INSPECTOR_RESOURCES = YES;
74 COMBINE_TEST_RESOURCES = NO;
75
76 WK_EMPTY_ = YES;
77 WK_NOT_ = YES;
78 WK_NOT_YES = NO;
79
80 WK_USE_OVERRIDE_FRAMEWORKS_DIR = $(WK_NOT_$(WK_EMPTY_$(WK_OVERRIDE_FRAMEWORKS_DIR)));
81
82 WK_OVERRIDE_FRAMEWORKS_DIR = $(WK_OVERRIDE_FRAMEWORKS_DIR_USE_STAGING_INSTALL_PATH_$(USE_STAGING_INSTALL_PATH));
83 WK_OVERRIDE_FRAMEWORKS_DIR_USE_STAGING_INSTALL_PATH_YES = $(SYSTEM_LIBRARY_DIR)/StagedFrameworks/Safari;
84
85 WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR = $(WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
86 WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR_YES = "$(WK_OVERRIDE_FRAMEWORKS_DIR)";