summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-11 15:11:22 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-11 15:11:22 +0000
commit7afca868e97f8228878fc6d3db9194c5596ecf22 (patch)
tree091a2f277735f1455ba82de18f45cd0d7023ec8e
parent4bfc2dc9849a73b016e6cce048f04be71aad7e95 (diff)
downloadchromium_src-7afca868e97f8228878fc6d3db9194c5596ecf22.zip
chromium_src-7afca868e97f8228878fc6d3db9194c5596ecf22.tar.gz
chromium_src-7afca868e97f8228878fc6d3db9194c5596ecf22.tar.bz2
Adjust the all.gyp:All target for iOS
The initial iOS version was over-ambitious, and doesn't yet build. To get the build working, this: - only builds base:base on iOS, not base:*, and - disables warnings-as-errors in third-party code for iOS, since at least NSS and ICU have warnings for iOS. This also adds nss.gyp to the iOS build, now that its gyp support has landed BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10704153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146120 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--build/all.gyp8
-rw-r--r--build/common.gypi4
2 files changed, 10 insertions, 2 deletions
diff --git a/build/all.gyp b/build/all.gyp
index 0c9bfaa..6e292a3 100644
--- a/build/all.gyp
+++ b/build/all.gyp
@@ -10,7 +10,6 @@
'xcode_create_dependents_test_runner': 1,
'dependencies': [
'some.gyp:*',
- '../base/base.gyp:*',
# Add new dependencies to the !ios section just below, not here (see
# the comment there).
],
@@ -20,6 +19,7 @@
# as gyp files come online.
['OS!="ios"', {
'dependencies': [
+ '../base/base.gyp:*',
'../chrome/chrome.gyp:*',
'../content/content.gyp:*',
'../crypto/crypto.gyp:*',
@@ -67,13 +67,17 @@
'temp_gyp/googleurl.gyp:*',
'<(libjpeg_gyp_path):*',
],
+ }, {
+ 'dependencies': [
+ '../base/base.gyp:base',
+ ],
}],
['os_posix==1 and OS!="android" and OS!="ios"', {
'dependencies': [
'../third_party/yasm/yasm.gyp:*#host',
],
}],
- ['OS=="mac" or OS=="win"', {
+ ['OS=="mac" or OS=="ios" or OS=="win"', {
'dependencies': [
'../third_party/nss/nss.gyp:*',
],
diff --git a/build/common.gypi b/build/common.gypi
index 16dd15a..9953c57 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1650,6 +1650,10 @@
}],
[ 'OS=="ios"', {
'xcode_settings': {
+ # TODO(ios): Fix remaining warnings in third-party code, then
+ # remove this; the Mac cleanup didn't get everything that's
+ # flagged in an iOS build.
+ 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO',
'RUN_CLANG_STATIC_ANALYZER': 'NO',
},
}],