Chromium Code Reviews

Unified Diff: build/untrusted.gypi

Issue 11363175: Honor werror variable for untrusted builds. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/untrusted.gypi
diff --git a/build/untrusted.gypi b/build/untrusted.gypi
index a3a17437f8e0c11c4128ce77509d46011cde5681..158d28367c1a03225c7cd3a09993037c04c81b28 100755
--- a/build/untrusted.gypi
+++ b/build/untrusted.gypi
@@ -343,7 +343,7 @@
'--objdir', '>(objdir_newlib_arm)',
'--include-dirs=<(inst_dir)/include ^(include_dirs) >(_include_dirs)',
'--lib-dirs=>(lib_dirs_newlib_arm) ',
- '--compile_flags=--pnacl-frontend-triple=armv7-unknown-nacl-gnueabi -mfloat-abi=hard ^(pnacl_compile_flags) >(_pnacl_compile_flags) ^(compile_flags) >(_compile_flags)',
+ '--compile_flags=--pnacl-frontend-triple=armv7-unknown-nacl-gnueabi -mfloat-abi=hard ^(compile_flags) >(_compile_flags) ^(pnacl_compile_flags) >(_pnacl_compile_flags)',
'--defines=^(defines) >(_defines)',
'--link_flags=-arch arm --pnacl-allow-translate --pnacl-allow-native -B<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm ^(link_flags) >(_link_flags)',
'--source-list=^|(<(source_list_newlib_arm) ^(_sources) ^(sources))',
@@ -383,7 +383,7 @@
'--objdir', '>(objdir_newlib_arm)',
'--include-dirs=<(inst_dir)/include ^(include_dirs) >(_include_dirs)',
'--lib-dirs=>(lib_dirs_newlib_arm) ',
- '--compile_flags=--pnacl-frontend-triple=armv7-unknown-nacl-gnueabi -mfloat-abi=hard ^(pnacl_compile_flags) >(_pnacl_compile_flags) ^(compile_flags) >(_compile_flags)',
+ '--compile_flags=--pnacl-frontend-triple=armv7-unknown-nacl-gnueabi -mfloat-abi=hard ^(compile_flags) >(_compile_flags) ^(pnacl_compile_flags) >(_pnacl_compile_flags)',
'--defines=^(defines) >(_defines)',
'--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm ^(link_flags) >(_link_flags)',
'--source-list=^|(<(source_list_newlib_arm) ^(_sources) ^(sources))',
@@ -675,6 +675,14 @@
'pnacl_compile_flags': [
'-Wno-extra-semi',
'-Wno-unused-private-field',
+ # Copyied from common.gypi. These flags are needed to compile
Mark Seaborn 2012/11/10 02:24:19 'Copied'
+ # warning-free with clang.
+ # TODO(sbc): remove these once they are no longer needed in
+ # common.gypi.
+ '-Wno-unused-function',
+ '-Wno-char-subscripts',
+ '-Wno-c++11-extensions',
+ '-Wno-unnamed-type-template-args',
],
},
'target_conditions': [
@@ -718,7 +726,7 @@
'--objdir', '>(objdir_pnacl_newlib)',
'--include-dirs=<(inst_dir)/include ^(include_dirs) >(_include_dirs)',
'--lib-dirs=>(lib_dirs_pnacl_newlib)',
- '--compile_flags=^(pnacl_compile_flags) >(_pnacl_compile_flags) ^(compile_flags) >(_compile_flags)',
+ '--compile_flags=^(compile_flags) >(_compile_flags) ^(pnacl_compile_flags) >(_pnacl_compile_flags)',
'--defines=^(defines) >(_defines)',
'--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib/lib ^(link_flags) >(_link_flags)',
'--source-list=^|(<(source_list_pnacl_newlib) ^(_sources) ^(sources))',
@@ -829,7 +837,7 @@
'--objdir', '>(objdir_pnacl_newlib)',
'--include-dirs=<(inst_dir)/include ^(include_dirs) >(_include_dirs)',
'--lib-dirs=>(lib_dirs_pnacl_newlib) ',
- '--compile_flags=^(pnacl_compile_flags) >(_pnacl_compile_flags) ^(compile_flags) >(_compile_flags)',
+ '--compile_flags=^(compile_flags) >(_compile_flags) ^(pnacl_compile_flags) >(_pnacl_compile_flags)',
'--defines=^(defines) >(_defines)',
'--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib/lib ^(link_flags) >(_link_flags)',
'--source-list=^|(<(source_list_pnacl_newlib) ^(_sources) ^(sources))',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine