d8e21ef5482582f7c447c634f9ec3bfa087f1320
[WebKit.git] / Source / WebInspectorUI / Configurations / Base.xcconfig
1 COPY_PHASE_STRIP = NO;
2 DEAD_CODE_STRIPPING = YES;
3 DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
4 FRAMEWORK_SEARCH_PATHS = $(STAGED_FRAMEWORKS_SEARCH_PATH) $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks $(FRAMEWORK_SEARCH_PATHS_$(TARGET_MAC_OS_X_VERSION_MAJOR)) $(inherited);
5
6 STAGED_FRAMEWORKS_SEARCH_PATH = $(STAGED_FRAMEWORKS_SEARCH_PATH_$(USE_STAGING_INSTALL_PATH));
7 STAGED_FRAMEWORKS_SEARCH_PATH_YES = $(NEXT_ROOT)$(SYSTEM_LIBRARY_DIR)/StagedFrameworks/Safari;
8
9 CLANG_CXX_LANGUAGE_STANDARD = gnu++0x;
10 CLANG_CXX_LIBRARY = libc++;
11 CLANG_WARN_CXX0X_EXTENSIONS = NO;
12 CLANG_WARN__DUPLICATE_METHOD_MATCH = NO
13 GCC_C_LANGUAGE_STANDARD = gnu99;
14 GCC_DYNAMIC_NO_PIC = YES;
15 GCC_ENABLE_CPP_EXCEPTIONS = NO;
16 GCC_ENABLE_CPP_RTTI = NO;
17 GCC_ENABLE_OBJC_EXCEPTIONS = YES;
18 GCC_ENABLE_OBJC_GC = NO;
19 GCC_FAST_OBJC_DISPATCH = YES;
20 GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
21 GCC_OPTIMIZATION_LEVEL = s;
22 GCC_PRECOMPILE_PREFIX_HEADER = NO;
23 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) $(ENGINEERING_BUILD_DEFINES) WEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST;
24 GCC_THREADSAFE_STATICS = NO;
25 GCC_TREAT_WARNINGS_AS_ERRORS = YES;
26 GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
27 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
28 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
29 GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
30 GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
31 GCC_WARN_ABOUT_RETURN_TYPE = YES
32 GCC_WARN_ABOUT_RETURN_TYPE = YES;
33 GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES;
34 GCC_WARN_UNINITIALIZED_AUTOS = YES
35 GCC_WARN_UNUSED_VARIABLE = YES
36 GCC_WARN_UNUSED_VARIABLE = YES;
37 LINKER_DISPLAYS_MANGLED_NAMES = YES;
38 WARNING_CFLAGS = -Wall -W -Wchar-subscripts -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter -Wexit-time-destructors;
39
40 ENGINEERING_BUILD_DEFINES = $(ENGINEERING_BUILD_DEFINES_$(ENGINEERING_BUILD));
41 ENGINEERING_BUILD_DEFINES_1 = ENGINEERING_BUILD=1;
42
43 TARGET_MAC_OS_X_VERSION_MAJOR = $(MAC_OS_X_VERSION_MAJOR);
44
45 TARGETING_SAME_OS_X_VERSION = $(TARGETING_SAME_OS_X_VERSION_$(MAC_OS_X_VERSION_MAJOR)_$(TARGET_MAC_OS_X_VERSION_MAJOR));
46 TARGETING_SAME_OS_X_VERSION_1070_1070 = YES;
47 TARGETING_SAME_OS_X_VERSION_1080_1080 = YES;
48 TARGETING_SAME_OS_X_VERSION_1090_1090 = YES;
49
50 // Don't build against an SDK unless we're targeting an older OS version.
51 SDKROOT = $(SDKROOT_TARGETING_SAME_OS_X_VERSION_$(TARGETING_SAME_OS_X_VERSION));
52 SDKROOT_TARGETING_SAME_OS_X_VERSION_ = macosxinternal;
53
54 VALID_ARCHS = $(ARCHS_STANDARD_32_64_BIT);
55
56 WEBKIT_UMBRELLA_FRAMEWORKS_DIR = $(WEBKIT_UMBRELLA_FRAMEWORKS_DIR_$(USE_STAGING_INSTALL_PATH));
57 WEBKIT_UMBRELLA_FRAMEWORKS_DIR_ = $(WEBKIT_UMBRELLA_FRAMEWORKS_DIR_NO);
58 WEBKIT_UMBRELLA_FRAMEWORKS_DIR_NO = $(NEXT_ROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Versions/A/Frameworks;
59 WEBKIT_UMBRELLA_FRAMEWORKS_DIR_YES = $(NEXT_ROOT)$(SYSTEM_LIBRARY_DIR)/StagedFrameworks/Safari;
60
61 WEBCORE_PRIVATE_HEADERS_DIR = $(WEBKIT_UMBRELLA_FRAMEWORKS_DIR)/WebCore.framework/PrivateHeaders;
62 WEBCORE_RESOURCES_DIR = $(WEBKIT_UMBRELLA_FRAMEWORKS_DIR)/WebCore.framework/Resources;
63
64 OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH = -Wl,-dyld_env -Wl,DYLD_VERSIONED_FRAMEWORK_PATH=/System/Library/StagedFrameworks/Safari;
65
66 TOOLCHAINS = $(TOOLCHAINS_$(PLATFORM_NAME));
67 TOOLCHAINS_iphoneos = $(TOOLCHAINS);
68 TOOLCHAINS_iphonesimulator = $(TOOLCHAINS);
69 TOOLCHAINS_macosx = $(TOOLCHAINS_macosx_$(MAC_OS_X_VERSION_MAJOR));
70 TOOLCHAINS_macosx_1070 = $(TOOLCHAINS);
71 TOOLCHAINS_macosx_1080 = default;
72 TOOLCHAINS_macosx_1090 = $(TOOLCHAINS);