Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(627)

Side by Side 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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 # See native_client/Sconstruct for more details. 7 # See native_client/Sconstruct for more details.
8 # Expected address for beginning of data in for the IRT. 8 # Expected address for beginning of data in for the IRT.
9 'NACL_IRT_DATA_START': '0x3ef00000', 9 'NACL_IRT_DATA_START': '0x3ef00000',
10 # Expected address for beginning of code in for the IRT. 10 # Expected address for beginning of code in for the IRT.
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 '<(DEPTH)/native_client/build/build_nexe.py', 336 '<(DEPTH)/native_client/build/build_nexe.py',
337 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 337 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
338 '>@(extra_args)', 338 '>@(extra_args)',
339 '--arch', 'arm', 339 '--arch', 'arm',
340 '--build', 'newlib_nexe', 340 '--build', 'newlib_nexe',
341 '--root', '<(DEPTH)', 341 '--root', '<(DEPTH)',
342 '--name', '>(out_newlib_arm)', 342 '--name', '>(out_newlib_arm)',
343 '--objdir', '>(objdir_newlib_arm)', 343 '--objdir', '>(objdir_newlib_arm)',
344 '--include-dirs=<(inst_dir)/include ^(include_dirs) >(_include _dirs)', 344 '--include-dirs=<(inst_dir)/include ^(include_dirs) >(_include _dirs)',
345 '--lib-dirs=>(lib_dirs_newlib_arm) ', 345 '--lib-dirs=>(lib_dirs_newlib_arm) ',
346 '--compile_flags=--pnacl-frontend-triple=armv7-unknown-nacl-gn ueabi -mfloat-abi=hard ^(pnacl_compile_flags) >(_pnacl_compile_flags) ^(compile_ flags) >(_compile_flags)', 346 '--compile_flags=--pnacl-frontend-triple=armv7-unknown-nacl-gn ueabi -mfloat-abi=hard ^(compile_flags) >(_compile_flags) ^(pnacl_compile_flags) >(_pnacl_compile_flags)',
347 '--defines=^(defines) >(_defines)', 347 '--defines=^(defines) >(_defines)',
348 '--link_flags=-arch arm --pnacl-allow-translate --pnacl-allow- native -B<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm ^(link_flags) >(_link_flags )', 348 '--link_flags=-arch arm --pnacl-allow-translate --pnacl-allow- native -B<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm ^(link_flags) >(_link_flags )',
349 '--source-list=^|(<(source_list_newlib_arm) ^(_sources) ^(sour ces))', 349 '--source-list=^|(<(source_list_newlib_arm) ^(_sources) ^(sour ces))',
350 ], 350 ],
351 }, 351 },
352 ], 352 ],
353 }], 353 }],
354 ['nlib_target!="" and build_newlib!=0', { 354 ['nlib_target!="" and build_newlib!=0', {
355 'variables': { 355 'variables': {
356 'tool_name': 'newlib', 356 'tool_name': 'newlib',
(...skipping 19 matching lines...) Expand all
376 '<(DEPTH)/native_client/build/build_nexe.py', 376 '<(DEPTH)/native_client/build/build_nexe.py',
377 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 377 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
378 '>@(extra_args)', 378 '>@(extra_args)',
379 '--arch', 'arm', 379 '--arch', 'arm',
380 '--build', 'newlib_nlib', 380 '--build', 'newlib_nlib',
381 '--root', '<(DEPTH)', 381 '--root', '<(DEPTH)',
382 '--name', '>(out_newlib_arm)', 382 '--name', '>(out_newlib_arm)',
383 '--objdir', '>(objdir_newlib_arm)', 383 '--objdir', '>(objdir_newlib_arm)',
384 '--include-dirs=<(inst_dir)/include ^(include_dirs) >(_include _dirs)', 384 '--include-dirs=<(inst_dir)/include ^(include_dirs) >(_include _dirs)',
385 '--lib-dirs=>(lib_dirs_newlib_arm) ', 385 '--lib-dirs=>(lib_dirs_newlib_arm) ',
386 '--compile_flags=--pnacl-frontend-triple=armv7-unknown-nacl-gn ueabi -mfloat-abi=hard ^(pnacl_compile_flags) >(_pnacl_compile_flags) ^(compile_ flags) >(_compile_flags)', 386 '--compile_flags=--pnacl-frontend-triple=armv7-unknown-nacl-gn ueabi -mfloat-abi=hard ^(compile_flags) >(_compile_flags) ^(pnacl_compile_flags) >(_pnacl_compile_flags)',
387 '--defines=^(defines) >(_defines)', 387 '--defines=^(defines) >(_defines)',
388 '--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm ^( link_flags) >(_link_flags)', 388 '--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_newlib/libarm ^( link_flags) >(_link_flags)',
389 '--source-list=^|(<(source_list_newlib_arm) ^(_sources) ^(sour ces))', 389 '--source-list=^|(<(source_list_newlib_arm) ^(_sources) ^(sour ces))',
390 ], 390 ],
391 }, 391 },
392 ], 392 ],
393 }], 393 }],
394 ], 394 ],
395 }, 395 },
396 }], 396 }],
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 # These are only required for the IRT but are here for all 668 # These are only required for the IRT but are here for all
669 # nacl-gcc-compiled binaries because the IRT depends on other libs 669 # nacl-gcc-compiled binaries because the IRT depends on other libs
670 '-fasynchronous-unwind-tables', 670 '-fasynchronous-unwind-tables',
671 ], 671 ],
672 'newlib_tls_flags': [ 672 'newlib_tls_flags': [
673 '-mtls-use-call', 673 '-mtls-use-call',
674 ], 674 ],
675 'pnacl_compile_flags': [ 675 'pnacl_compile_flags': [
676 '-Wno-extra-semi', 676 '-Wno-extra-semi',
677 '-Wno-unused-private-field', 677 '-Wno-unused-private-field',
678 # Copyied from common.gypi. These flags are needed to compile
Mark Seaborn 2012/11/10 02:24:19 'Copied'
679 # warning-free with clang.
680 # TODO(sbc): remove these once they are no longer needed in
681 # common.gypi.
682 '-Wno-unused-function',
683 '-Wno-char-subscripts',
684 '-Wno-c++11-extensions',
685 '-Wno-unnamed-type-template-args',
678 ], 686 ],
679 }, 687 },
680 'target_conditions': [ 688 'target_conditions': [
681 ['nexe_target!="" and build_pnacl_newlib!=0', { 689 ['nexe_target!="" and build_pnacl_newlib!=0', {
682 'variables': { 690 'variables': {
683 'out_pnacl_newlib_x86_32_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnac l_newlib_x32.nexe', 691 'out_pnacl_newlib_x86_32_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnac l_newlib_x32.nexe',
684 'out_pnacl_newlib_x86_64_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnac l_newlib_x64.nexe', 692 'out_pnacl_newlib_x86_64_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnac l_newlib_x64.nexe',
685 'out_pnacl_newlib_arm_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl_n ewlib_arm.nexe', 693 'out_pnacl_newlib_arm_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl_n ewlib_arm.nexe',
686 'tool_name': 'pnacl_newlib', 694 'tool_name': 'pnacl_newlib',
687 'inst_dir': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib', 695 'inst_dir': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib',
(...skipping 23 matching lines...) Expand all
711 '<(DEPTH)/native_client/build/build_nexe.py', 719 '<(DEPTH)/native_client/build/build_nexe.py',
712 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 720 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
713 '>@(extra_args)', 721 '>@(extra_args)',
714 '--arch', 'pnacl', 722 '--arch', 'pnacl',
715 '--build', 'newlib_pexe', 723 '--build', 'newlib_pexe',
716 '--root', '<(DEPTH)', 724 '--root', '<(DEPTH)',
717 '--name', '>(out_pnacl_newlib)', 725 '--name', '>(out_pnacl_newlib)',
718 '--objdir', '>(objdir_pnacl_newlib)', 726 '--objdir', '>(objdir_pnacl_newlib)',
719 '--include-dirs=<(inst_dir)/include ^(include_dirs) >(_include_dir s)', 727 '--include-dirs=<(inst_dir)/include ^(include_dirs) >(_include_dir s)',
720 '--lib-dirs=>(lib_dirs_pnacl_newlib)', 728 '--lib-dirs=>(lib_dirs_pnacl_newlib)',
721 '--compile_flags=^(pnacl_compile_flags) >(_pnacl_compile_flags) ^( compile_flags) >(_compile_flags)', 729 '--compile_flags=^(compile_flags) >(_compile_flags) ^(pnacl_compil e_flags) >(_pnacl_compile_flags)',
722 '--defines=^(defines) >(_defines)', 730 '--defines=^(defines) >(_defines)',
723 '--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib/lib ^(l ink_flags) >(_link_flags)', 731 '--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib/lib ^(l ink_flags) >(_link_flags)',
724 '--source-list=^|(<(source_list_pnacl_newlib) ^(_sources) ^(source s))', 732 '--source-list=^|(<(source_list_pnacl_newlib) ^(_sources) ^(source s))',
725 ], 733 ],
726 }], 734 }],
727 'target_conditions': [ 735 'target_conditions': [
728 [ 'enable_x86_32!=0', { 736 [ 'enable_x86_32!=0', {
729 'actions': [{ 737 'actions': [{
730 'action_name': 'translate newlib pexe to x86-32 nexe', 738 'action_name': 'translate newlib pexe to x86-32 nexe',
731 'msvs_cygwin_shell': 0, 739 'msvs_cygwin_shell': 0,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 '<(DEPTH)/native_client/build/build_nexe.py', 830 '<(DEPTH)/native_client/build/build_nexe.py',
823 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/', 831 '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
824 '>@(extra_args)', 832 '>@(extra_args)',
825 '--arch', 'pnacl', 833 '--arch', 'pnacl',
826 '--build', 'newlib_plib', 834 '--build', 'newlib_plib',
827 '--root', '<(DEPTH)', 835 '--root', '<(DEPTH)',
828 '--name', '>(out_pnacl_newlib)', 836 '--name', '>(out_pnacl_newlib)',
829 '--objdir', '>(objdir_pnacl_newlib)', 837 '--objdir', '>(objdir_pnacl_newlib)',
830 '--include-dirs=<(inst_dir)/include ^(include_dirs) >(_include_dir s)', 838 '--include-dirs=<(inst_dir)/include ^(include_dirs) >(_include_dir s)',
831 '--lib-dirs=>(lib_dirs_pnacl_newlib) ', 839 '--lib-dirs=>(lib_dirs_pnacl_newlib) ',
832 '--compile_flags=^(pnacl_compile_flags) >(_pnacl_compile_flags) ^( compile_flags) >(_compile_flags)', 840 '--compile_flags=^(compile_flags) >(_compile_flags) ^(pnacl_compil e_flags) >(_pnacl_compile_flags)',
833 '--defines=^(defines) >(_defines)', 841 '--defines=^(defines) >(_defines)',
834 '--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib/lib ^(l ink_flags) >(_link_flags)', 842 '--link_flags=-B<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib/lib ^(l ink_flags) >(_link_flags)',
835 '--source-list=^|(<(source_list_pnacl_newlib) ^(_sources) ^(source s))', 843 '--source-list=^|(<(source_list_pnacl_newlib) ^(_sources) ^(source s))',
836 ], 844 ],
837 }, 845 },
838 ], 846 ],
839 }], 847 }],
840 ], 848 ],
841 }, 849 },
842 } 850 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698