From fcf337e98b9f055a6b48e6eb3bbb616218f4e3b5 Mon Sep 17 00:00:00 2001 From: "mmentovai@google.com" Date: Thu, 21 Aug 2008 23:03:26 +0000 Subject: Don't enable -Werror in Skia, it can't handle it (-Wunused even after my fixes, which I've upstreamed but not committed here). Turn on SK_DEBUG in the debug build, and turn off the precompiled header, because it's not getting the same macros set as the rest of the build, and SK_DEBUG winds up a mismatch. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1198 0039d316-1c4b-4281-b951-d872f2087c98 --- skia/skia.xcodeproj/project.pbxproj | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'skia/skia.xcodeproj') diff --git a/skia/skia.xcodeproj/project.pbxproj b/skia/skia.xcodeproj/project.pbxproj index 75a9ee6a..fa38e29 100644 --- a/skia/skia.xcodeproj/project.pbxproj +++ b/skia/skia.xcodeproj/project.pbxproj @@ -1023,6 +1023,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7B4DF44A0E5B5E5C004D7619 /* debug.xcconfig */; buildSettings = { + GCC_TREAT_WARNINGS_AS_ERRORS = NO; XCODEPROJ_DEPTH = ..; }; name = Debug; @@ -1031,6 +1032,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7B4DF44C0E5B5E5C004D7619 /* release.xcconfig */; buildSettings = { + GCC_TREAT_WARNINGS_AS_ERRORS = NO; XCODEPROJ_DEPTH = ..; }; name = Release; @@ -1039,7 +1041,11 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7B4DF44D0E5B5E5C004D7619 /* staticlib.xcconfig */; buildSettings = { - GCC_PREFIX_HEADER = skia_Prefix.pch; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(GCC_PREPROCESSOR_DEFINITIONS)", + SK_BUILD_FOR_MAC, + SK_DEBUG, + ); HEADER_SEARCH_PATHS = ( corecg, include, @@ -1055,7 +1061,10 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7B4DF44D0E5B5E5C004D7619 /* staticlib.xcconfig */; buildSettings = { - GCC_PREFIX_HEADER = skia_Prefix.pch; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(GCC_PREPROCESSOR_DEFINITIONS)", + SK_BUILD_FOR_MAC, + ); HEADER_SEARCH_PATHS = ( corecg, include, -- cgit v1.1