REGRESSION (r284136): A slight horizontal rubberband kills scroll momentum
[WebKit-https.git] / Source / WebInspectorUI / 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
8 USE_INTERNAL_SDK = $(USE_INTERNAL_SDK_$(CONFIGURATION));
9 USE_INTERNAL_SDK_Production = YES;
10 USE_INTERNAL_SDK_Debug = $(HAVE_INTERNAL_SDK);
11 USE_INTERNAL_SDK_Release = $(HAVE_INTERNAL_SDK);
12
13 COPY_PHASE_STRIP = NO;
14 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
15
16 ALWAYS_SEARCH_USER_PATHS = NO;
17 FRAMEWORK_SEARCH_PATHS = $(WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR) $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks $(inherited);
18
19 CLANG_CXX_LANGUAGE_STANDARD = gnu++1z;
20 CLANG_CXX_LIBRARY = libc++;
21 CLANG_ENABLE_OBJC_WEAK = YES;
22 CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
23 CLANG_WARN_BOOL_CONVERSION = YES;
24 CLANG_WARN_COMMA = YES;
25 CLANG_WARN_CONSTANT_CONVERSION = YES;
26 CLANG_WARN_CXX0X_EXTENSIONS = NO;
27 CLANG_WARN_EMPTY_BODY = YES;
28 CLANG_WARN_ENUM_CONVERSION = YES;
29 CLANG_WARN_INFINITE_RECURSION = YES;
30 CLANG_WARN_INT_CONVERSION = YES;
31 CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
32 CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
33 CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
34 CLANG_WARN_SUSPICIOUS_MOVE = YES;
35 CLANG_WARN_STRICT_PROTOTYPES = YES;
36 CLANG_WARN_UNREACHABLE_CODE = YES;
37 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
38 ENABLE_STRICT_OBJC_MSGSEND = YES;
39 GCC_C_LANGUAGE_STANDARD = gnu99;
40 GCC_DYNAMIC_NO_PIC = YES;
41 GCC_ENABLE_CPP_EXCEPTIONS = NO;
42 GCC_ENABLE_CPP_RTTI = NO;
43 GCC_ENABLE_OBJC_EXCEPTIONS = YES;
44 GCC_FAST_OBJC_DISPATCH = YES;
45 GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
46 GCC_NO_COMMON_BLOCKS = YES;
47 GCC_PRECOMPILE_PREFIX_HEADER = NO;
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_MISSING_PROTOTYPES = YES;
55 GCC_WARN_ABOUT_RETURN_TYPE = YES
56 GCC_WARN_ABOUT_RETURN_TYPE = YES;
57 GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES;
58 CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
59 GCC_WARN_UNDECLARED_SELECTOR = YES;
60 CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
61 GCC_WARN_UNINITIALIZED_AUTOS = YES
62 GCC_WARN_UNUSED_FUNCTION = YES;
63 GCC_WARN_UNUSED_VARIABLE = YES
64 WARNING_CFLAGS = -Wall -W -Wcast-qual -Wchar-subscripts -Wconditional-uninitialized -Wformat=2 -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wexit-time-destructors -Wvla -Wliteral-conversion -Wthread-safety;
65
66 SUPPORTED_PLATFORMS = iphoneos iphonesimulator macosx appletvos appletvsimulator watchos watchsimulator;
67 SUPPORTS_MACCATALYST = YES;
68
69 TARGET_MACOS_LEGACY_VERSION_IDENTIFIER = $(TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_$(MACOSX_DEPLOYMENT_TARGET:base))
70 TARGET_MACOS_LEGACY_VERSION_IDENTIFIER_10 = 10$(MACOSX_DEPLOYMENT_TARGET:suffix:identifier)
71
72 TARGET_MAC_OS_X_VERSION_MAJOR = $(TARGET_MAC_OS_X_VERSION_MAJOR_$(TARGET_MACOS_LEGACY_VERSION_IDENTIFIER))
73 TARGET_MAC_OS_X_VERSION_MAJOR_ = $(MACOSX_DEPLOYMENT_TARGET:base:base)0000
74 TARGET_MAC_OS_X_VERSION_MAJOR_10_14 = 101400
75 TARGET_MAC_OS_X_VERSION_MAJOR_10_15 = 101500
76
77 DEAD_CODE_STRIPPING = YES;
78 DEAD_CODE_STRIPPING[config=Debug] = NO;
79
80 DEBUG_DEFINES = NDEBUG;
81 DEBUG_DEFINES[config=Debug] = ;
82
83 GCC_OPTIMIZATION_LEVEL = s;
84 GCC_OPTIMIZATION_LEVEL[config=Debug] = 0;
85
86 STRIP_INSTALLED_PRODUCT = YES;
87 STRIP_INSTALLED_PRODUCT[config=Debug] = NO;
88
89 SDKROOT = macosx.internal;
90
91 COMBINE_INSPECTOR_RESOURCES = YES;
92 COMBINE_TEST_RESOURCES = NO;
93
94 WK_USE_OVERRIDE_FRAMEWORKS_DIR = $(WK_NOT_$(WK_EMPTY_$(WK_OVERRIDE_FRAMEWORKS_DIR)));
95
96 WK_OVERRIDE_FRAMEWORKS_DIR = $(WK_OVERRIDE_FRAMEWORKS_DIR_USE_STAGING_INSTALL_PATH_$(USE_STAGING_INSTALL_PATH));
97 WK_OVERRIDE_FRAMEWORKS_DIR_USE_STAGING_INSTALL_PATH_YES = $(WK_INSTALL_PATH_PREFIX)$(SYSTEM_LIBRARY_DIR)/StagedFrameworks/Safari;
98
99 WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR = $(WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
100 WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR_YES = "$(WK_OVERRIDE_FRAMEWORKS_DIR)";
101
102 WK_INSTALL_PATH_PREFIX = $(WK_INSTALL_PATH_PREFIX_DEPLOYMENT_$(DEPLOYMENT_LOCATION)$(WK_MACOS_1015)_USE_STAGING_INSTALL_PATH_$(USE_STAGING_INSTALL_PATH));
103 WK_INSTALL_PATH_PREFIX_DEPLOYMENT_YES_MACOS_SINCE_1015_USE_STAGING_INSTALL_PATH_YES = $(PLATFORM_OOB_SYSTEM_CONTENT_DIR);
104
105 WK_COCOA_TOUCH = $(WK_COCOA_TOUCH_$(WK_PLATFORM_NAME));
106 WK_COCOA_TOUCH_iphoneos = cocoatouch;
107 WK_COCOA_TOUCH_iphonesimulator = cocoatouch;
108 WK_COCOA_TOUCH_maccatalyst = cocoatouch;
109 WK_COCOA_TOUCH_watchos = cocoatouch;
110 WK_COCOA_TOUCH_watchsimulator = cocoatouch;
111 WK_COCOA_TOUCH_appletvos = cocoatouch;
112 WK_COCOA_TOUCH_appletvsimulator = cocoatouch;
113 WK_IS_COCOA_TOUCH = $(WK_NOT_$(WK_EMPTY_$(WK_COCOA_TOUCH)));
114
115 LLVM_LTO = $(WK_LLVM_LTO_$(WK_XCODE_SUPPORTS_LTO));
116 WK_LLVM_LTO_NO = NO;
117 WK_LLVM_LTO_YES = $(WK_USER_LTO_MODE);
118
119 WK_XCODE_SUPPORTS_LTO = $(WK_NOT_$(WK_XCODE_VERSION_BEFORE_10_2_$(XCODE_VERSION_MAJOR)));
120 WK_XCODE_SUPPORTS_LTO[arch=arm*] = $(WK_NOT_$(WK_XCODE_VERSION_BEFORE_11_4_$(XCODE_VERSION_MAJOR)));
121
122 WK_XCODE_VERSION_BEFORE_10_2_0800 = YES;
123 WK_XCODE_VERSION_BEFORE_10_2_0900 = YES;
124 WK_XCODE_VERSION_BEFORE_10_2_1000 = $(WK_XCODE_VERSION_BEFORE_10_2_1000_$(XCODE_VERSION_MINOR));
125 WK_XCODE_VERSION_BEFORE_10_2_1000_1000 = YES;
126 WK_XCODE_VERSION_BEFORE_10_2_1000_1010 = YES;
127
128 WK_XCODE_VERSION_BEFORE_11_4_0800 = YES;
129 WK_XCODE_VERSION_BEFORE_11_4_0900 = YES;
130 WK_XCODE_VERSION_BEFORE_11_4_1000 = YES;
131 WK_XCODE_VERSION_BEFORE_11_4_1100 = $(WK_XCODE_VERSION_BEFORE_11_4_1100_$(XCODE_VERSION_MINOR));
132 WK_XCODE_VERSION_BEFORE_11_4_1100_1100 = YES;
133 WK_XCODE_VERSION_BEFORE_11_4_1100_1110 = YES;
134 WK_XCODE_VERSION_BEFORE_11_4_1100_1120 = YES;
135 WK_XCODE_VERSION_BEFORE_11_4_1100_1130 = YES;
136
137 WK_USER_LTO_MODE = $(WK_USER_LTO_MODE_$(WK_LTO_MODE));
138 WK_USER_LTO_MODE_full = YES;
139 WK_USER_LTO_MODE_thin = YES_THIN;
140 WK_USER_LTO_MODE_none = NO;
141 WK_USER_LTO_MODE_ = $(WK_DEFAULT_LTO_MODE);
142 WK_DEFAULT_LTO_MODE = $(WK_USER_LTO_MODE_thin);