| OLD | NEW |
| 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 'variables': { | 7 'variables': { |
| 8 # Enable -Werror by default, but put it in a variable so it can | 8 # Enable -Werror by default, but put it in a variable so it can |
| 9 # be optionally disabled. | 9 # be optionally disabled. |
| 10 'werror%': '-Werror', | 10 'werror%': '-Werror', |
| 11 # 1 to use goma. | 11 # 1 to use goma. |
| 12 'use_goma%': 0, | 12 'use_goma%': 0, |
| 13 # Set to 1 to use nacl-clang rather than gcc newlib toolchain. |
| 14 # This is designed to be set globally by GYP_DEFINES and currently |
| 15 # only affects x86-32 and x86-64 newlib builds. |
| 16 'use_nacl_clang%': 0, |
| 13 }, | 17 }, |
| 14 'common_args': [ | 18 'common_args': [ |
| 15 'python', | 19 'python', |
| 16 '<(DEPTH)/native_client/build/build_nexe.py', | 20 '<(DEPTH)/native_client/build/build_nexe.py', |
| 17 '--root', '<(DEPTH)', | 21 '--root', '<(DEPTH)', |
| 18 # Horrible hack: postfix the product-dir with a fake child. | 22 # Horrible hack: postfix the product-dir with a fake child. |
| 19 # Without this hack, MSVS will expand the PRODUCT_DIR variable to a path | 23 # Without this hack, MSVS will expand the PRODUCT_DIR variable to a path |
| 20 # with a trailing backslash, and that backslash will escape the rightmost | 24 # with a trailing backslash, and that backslash will escape the rightmost |
| 21 # quote around the path causing serious problems parsing the resulting | 25 # quote around the path causing serious problems parsing the resulting |
| 22 # command line. The fake child prevents an accidental escape while also | 26 # command line. The fake child prevents an accidental escape while also |
| (...skipping 25 matching lines...) Expand all Loading... |
| 48 '-Wall', | 52 '-Wall', |
| 49 '-fdiagnostics-show-option', | 53 '-fdiagnostics-show-option', |
| 50 '<(werror)', | 54 '<(werror)', |
| 51 ], | 55 ], |
| 52 # The flag gomadir is one of the flag to enable goma on build_nexe.py. | 56 # The flag gomadir is one of the flag to enable goma on build_nexe.py. |
| 53 # It should be set only if use_goma is true. | 57 # It should be set only if use_goma is true. |
| 54 'conditions': [ | 58 'conditions': [ |
| 55 ['use_goma==0', { | 59 ['use_goma==0', { |
| 56 'gomadir%': '', | 60 'gomadir%': '', |
| 57 }], | 61 }], |
| 62 ['use_nacl_clang==1', { |
| 63 'newlib_nlib_arg': 'newlib_nlib_clang', |
| 64 'newlib_nexe_arg': 'newlib_nexe_clang', |
| 65 'arm_compile_flags': '', |
| 66 }, { |
| 67 'newlib_nlib_arg': 'newlib_nlib', |
| 68 'newlib_nexe_arg': 'newlib_nexe', |
| 69 'arm_compile_flags': '-Wno-unused-local-typedefs -Wno-psabi', |
| 70 }], |
| 58 ['OS=="android"', { | 71 ['OS=="android"', { |
| 59 'TOOLCHAIN_OS': 'linux', | 72 'TOOLCHAIN_OS': 'linux', |
| 60 }, { | 73 }, { |
| 61 'TOOLCHAIN_OS': '<(OS)', | 74 'TOOLCHAIN_OS': '<(OS)', |
| 62 }], | 75 }], |
| 63 ], | 76 ], |
| 64 }, | 77 }, |
| 65 'conditions': [ | 78 'conditions': [ |
| 66 ['target_arch=="ia32" or target_arch=="x64"', { | 79 ['target_arch=="ia32" or target_arch=="x64"', { |
| 67 # Common defaults for all x86 nacl-gcc targets | 80 # Common defaults for all x86 nacl-gcc targets |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 '>@(extra_deps)', | 246 '>@(extra_deps)', |
| 234 '>@(extra_deps_newlib64)', | 247 '>@(extra_deps_newlib64)', |
| 235 '^(source_list_newlib64)', | 248 '^(source_list_newlib64)', |
| 236 '<(DEPTH)/native_client/toolchain/<(TOOLCHAIN_OS)_x86/nacl_x
86_newlib/nacl_x86_newlib.json', | 249 '<(DEPTH)/native_client/toolchain/<(TOOLCHAIN_OS)_x86/nacl_x
86_newlib/nacl_x86_newlib.json', |
| 237 ], | 250 ], |
| 238 'outputs': ['>(out_newlib64)'], | 251 'outputs': ['>(out_newlib64)'], |
| 239 'action': [ | 252 'action': [ |
| 240 '<@(common_args)', | 253 '<@(common_args)', |
| 241 '>@(extra_args)', | 254 '>@(extra_args)', |
| 242 '--arch', 'x86-64', | 255 '--arch', 'x86-64', |
| 243 '--build', 'newlib_nexe_clang', | 256 '--build', '<(newlib_nexe_arg)', |
| 244 '--name', '>(out_newlib64)', | 257 '--name', '>(out_newlib64)', |
| 245 '--objdir', '>(objdir_newlib64)', | 258 '--objdir', '>(objdir_newlib64)', |
| 246 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i
nclude_dirs)', | 259 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i
nclude_dirs)', |
| 247 '--compile_flags=-m64 ^(compile_flags) >(_compile_flags)', | 260 '--compile_flags=-m64 ^(compile_flags) >(_compile_flags)', |
| 248 '--gomadir', '<(gomadir)', | 261 '--gomadir', '<(gomadir)', |
| 249 '--defines=^(defines) >(_defines)', | 262 '--defines=^(defines) >(_defines)', |
| 250 '--link_flags=-B>(tc_lib_dir_newlib64) -L>(tc_lib_dir_newlib6
4) ^(link_flags) >(_link_flags)', | 263 '--link_flags=-B>(tc_lib_dir_newlib64) -L>(tc_lib_dir_newlib6
4) ^(link_flags) >(_link_flags)', |
| 251 '--source-list=^(source_list_newlib64)', | 264 '--source-list=^(source_list_newlib64)', |
| 252 ], | 265 ], |
| 253 }, | 266 }, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 274 '>@(extra_deps)', | 287 '>@(extra_deps)', |
| 275 '>@(extra_deps_newlib64)', | 288 '>@(extra_deps_newlib64)', |
| 276 '^(source_list_newlib64)', | 289 '^(source_list_newlib64)', |
| 277 '<(DEPTH)/native_client/toolchain/<(TOOLCHAIN_OS)_x86/nacl_x
86_newlib/nacl_x86_newlib.json', | 290 '<(DEPTH)/native_client/toolchain/<(TOOLCHAIN_OS)_x86/nacl_x
86_newlib/nacl_x86_newlib.json', |
| 278 ], | 291 ], |
| 279 'outputs': ['>(out_newlib64)'], | 292 'outputs': ['>(out_newlib64)'], |
| 280 'action': [ | 293 'action': [ |
| 281 '<@(common_args)', | 294 '<@(common_args)', |
| 282 '>@(extra_args)', | 295 '>@(extra_args)', |
| 283 '--arch', 'x86-64', | 296 '--arch', 'x86-64', |
| 284 '--build', 'newlib_nlib_clang', | 297 '--build', '<(newlib_nlib_arg)', |
| 285 '--name', '>(out_newlib64)', | 298 '--name', '>(out_newlib64)', |
| 286 '--objdir', '>(objdir_newlib64)', | 299 '--objdir', '>(objdir_newlib64)', |
| 287 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i
nclude_dirs)', | 300 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i
nclude_dirs)', |
| 288 '--compile_flags=-m64 ^(compile_flags) >(_compile_flags)', | 301 '--compile_flags=-m64 ^(compile_flags) >(_compile_flags)', |
| 289 '--gomadir', '<(gomadir)', | 302 '--gomadir', '<(gomadir)', |
| 290 '--defines=^(defines) >(_defines)', | 303 '--defines=^(defines) >(_defines)', |
| 291 '--link_flags=-B>(tc_lib_dir_newlib64) ^(link_flags) >(_link_
flags)', | 304 '--link_flags=-B>(tc_lib_dir_newlib64) ^(link_flags) >(_link_
flags)', |
| 292 '--source-list=^(source_list_newlib64)', | 305 '--source-list=^(source_list_newlib64)', |
| 293 ], | 306 ], |
| 294 }, | 307 }, |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 '>@(extra_deps)', | 415 '>@(extra_deps)', |
| 403 '>@(extra_deps_newlib32)', | 416 '>@(extra_deps_newlib32)', |
| 404 '^(source_list_newlib32)', | 417 '^(source_list_newlib32)', |
| 405 '<(DEPTH)/native_client/toolchain/<(TOOLCHAIN_OS)_x86/nacl_x
86_newlib/nacl_x86_newlib.json', | 418 '<(DEPTH)/native_client/toolchain/<(TOOLCHAIN_OS)_x86/nacl_x
86_newlib/nacl_x86_newlib.json', |
| 406 ], | 419 ], |
| 407 'outputs': ['>(out_newlib32)'], | 420 'outputs': ['>(out_newlib32)'], |
| 408 'action': [ | 421 'action': [ |
| 409 '<@(common_args)', | 422 '<@(common_args)', |
| 410 '>@(extra_args)', | 423 '>@(extra_args)', |
| 411 '--arch', 'x86-32', | 424 '--arch', 'x86-32', |
| 412 '--build', 'newlib_nexe_clang', | 425 '--build', '<(newlib_nexe_arg)', |
| 413 '--name', '>(out_newlib32)', | 426 '--name', '>(out_newlib32)', |
| 414 '--objdir', '>(objdir_newlib32)', | 427 '--objdir', '>(objdir_newlib32)', |
| 415 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i
nclude_dirs)', | 428 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i
nclude_dirs)', |
| 416 '--compile_flags=-m32 ^(compile_flags) >(_compile_flags)', | 429 '--compile_flags=-m32 ^(compile_flags) >(_compile_flags)', |
| 417 '--gomadir', '<(gomadir)', | 430 '--gomadir', '<(gomadir)', |
| 418 '--defines=^(defines) >(_defines)', | 431 '--defines=^(defines) >(_defines)', |
| 419 '--link_flags=-m32 -B>(tc_lib_dir_newlib32) -L>(tc_lib_dir_ne
wlib32) ^(link_flags) >(_link_flags)', | 432 '--link_flags=-m32 -B>(tc_lib_dir_newlib32) -L>(tc_lib_dir_ne
wlib32) ^(link_flags) >(_link_flags)', |
| 420 '--source-list=^(source_list_newlib32)', | 433 '--source-list=^(source_list_newlib32)', |
| 421 ], | 434 ], |
| 422 }, | 435 }, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 443 '>@(extra_deps)', | 456 '>@(extra_deps)', |
| 444 '>@(extra_deps_newlib32)', | 457 '>@(extra_deps_newlib32)', |
| 445 '^(source_list_newlib32)', | 458 '^(source_list_newlib32)', |
| 446 '<(DEPTH)/native_client/toolchain/<(TOOLCHAIN_OS)_x86/nacl_x
86_newlib/nacl_x86_newlib.json', | 459 '<(DEPTH)/native_client/toolchain/<(TOOLCHAIN_OS)_x86/nacl_x
86_newlib/nacl_x86_newlib.json', |
| 447 ], | 460 ], |
| 448 'outputs': ['>(out_newlib32)'], | 461 'outputs': ['>(out_newlib32)'], |
| 449 'action': [ | 462 'action': [ |
| 450 '<@(common_args)', | 463 '<@(common_args)', |
| 451 '>@(extra_args)', | 464 '>@(extra_args)', |
| 452 '--arch', 'x86-32', | 465 '--arch', 'x86-32', |
| 453 '--build', 'newlib_nlib_clang', | 466 '--build', '<(newlib_nlib_arg)', |
| 454 '--name', '>(out_newlib32)', | 467 '--name', '>(out_newlib32)', |
| 455 '--objdir', '>(objdir_newlib32)', | 468 '--objdir', '>(objdir_newlib32)', |
| 456 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i
nclude_dirs)', | 469 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_i
nclude_dirs)', |
| 457 '--compile_flags=-m32 ^(compile_flags) >(_compile_flags)', | 470 '--compile_flags=-m32 ^(compile_flags) >(_compile_flags)', |
| 458 '--gomadir', '<(gomadir)', | 471 '--gomadir', '<(gomadir)', |
| 459 '--defines=^(defines) >(_defines)', | 472 '--defines=^(defines) >(_defines)', |
| 460 '--link_flags=-m32 -B>(tc_lib_dir_newlib32) ^(link_flags) >(_
link_flags)', | 473 '--link_flags=-m32 -B>(tc_lib_dir_newlib32) ^(link_flags) >(_
link_flags)', |
| 461 '--source-list=^(source_list_newlib32)', | 474 '--source-list=^(source_list_newlib32)', |
| 462 ], | 475 ], |
| 463 }, | 476 }, |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 ], | 698 ], |
| 686 'outputs': ['>(out_glibc_arm)'], | 699 'outputs': ['>(out_glibc_arm)'], |
| 687 'action': [ | 700 'action': [ |
| 688 '<@(common_args)', | 701 '<@(common_args)', |
| 689 '>@(extra_args)', | 702 '>@(extra_args)', |
| 690 '--arch', 'arm', | 703 '--arch', 'arm', |
| 691 '--build', 'glibc_nexe', | 704 '--build', 'glibc_nexe', |
| 692 '--name', '>(out_glibc_arm)', | 705 '--name', '>(out_glibc_arm)', |
| 693 '--objdir', '>(objdir_glibc_arm)', | 706 '--objdir', '>(objdir_glibc_arm)', |
| 694 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_inc
lude_dirs)', | 707 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_inc
lude_dirs)', |
| 695 '--compile_flags=^(compile_flags) >(_compile_flags)', | 708 '--compile_flags=<(arm_compile_flags) ^(compile_flags) >(_comp
ile_flags)', |
| 696 '--gomadir', '<(gomadir)', | 709 '--gomadir', '<(gomadir)', |
| 697 '--defines=^(defines) >(_defines)', | 710 '--defines=^(defines) >(_defines)', |
| 698 '--link_flags=-B>(tc_lib_dir_glibc_arm) -L>(tc_lib_dir_glibc_a
rm) ^(link_flags) >(_link_flags)', | 711 '--link_flags=-B>(tc_lib_dir_glibc_arm) -L>(tc_lib_dir_glibc_a
rm) ^(link_flags) >(_link_flags)', |
| 699 '--source-list=^(source_list_glibc_arm)', | 712 '--source-list=^(source_list_glibc_arm)', |
| 700 ], | 713 ], |
| 701 }, | 714 }, |
| 702 ], | 715 ], |
| 703 }], | 716 }], |
| 704 # arm glibc static library action | 717 # arm glibc static library action |
| 705 ['nlib_target!="" and build_glibc!=0 and disable_glibc==0', { | 718 ['nlib_target!="" and build_glibc!=0 and disable_glibc==0', { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 725 ], | 738 ], |
| 726 'outputs': ['>(out_glibc_arm)'], | 739 'outputs': ['>(out_glibc_arm)'], |
| 727 'action': [ | 740 'action': [ |
| 728 '<@(common_args)', | 741 '<@(common_args)', |
| 729 '>@(extra_args)', | 742 '>@(extra_args)', |
| 730 '--arch', 'arm', | 743 '--arch', 'arm', |
| 731 '--build', 'glibc_nlib', | 744 '--build', 'glibc_nlib', |
| 732 '--name', '>(out_glibc_arm)', | 745 '--name', '>(out_glibc_arm)', |
| 733 '--objdir', '>(objdir_glibc_arm)', | 746 '--objdir', '>(objdir_glibc_arm)', |
| 734 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_inc
lude_dirs)', | 747 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_inc
lude_dirs)', |
| 735 '--compile_flags=^(compile_flags) >(_compile_flags)', | 748 '--compile_flags=<(arm_compile_flags) ^(compile_flags) >(_comp
ile_flags)', |
| 736 '--gomadir', '<(gomadir)', | 749 '--gomadir', '<(gomadir)', |
| 737 '--defines=^(defines) >(_defines)', | 750 '--defines=^(defines) >(_defines)', |
| 738 '--link_flags=-B>(tc_lib_dir_glibc_arm) ^(link_flags) >(_link_
flags)', | 751 '--link_flags=-B>(tc_lib_dir_glibc_arm) ^(link_flags) >(_link_
flags)', |
| 739 '--source-list=^(source_list_glibc_arm)', | 752 '--source-list=^(source_list_glibc_arm)', |
| 740 ], | 753 ], |
| 741 }, | 754 }, |
| 742 ], | 755 ], |
| 743 }], | 756 }], |
| 744 # arm glibc shared library action | 757 # arm glibc shared library action |
| 745 ['nso_target!="" and build_glibc!=0 and disable_glibc==0', { | 758 ['nso_target!="" and build_glibc!=0 and disable_glibc==0', { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 765 ], | 778 ], |
| 766 'outputs': ['>(out_glibc_arm)'], | 779 'outputs': ['>(out_glibc_arm)'], |
| 767 'action': [ | 780 'action': [ |
| 768 '<@(common_args)', | 781 '<@(common_args)', |
| 769 '>@(extra_args)', | 782 '>@(extra_args)', |
| 770 '--arch', 'arm', | 783 '--arch', 'arm', |
| 771 '--build', 'glibc_nso', | 784 '--build', 'glibc_nso', |
| 772 '--name', '>(out_glibc_arm)', | 785 '--name', '>(out_glibc_arm)', |
| 773 '--objdir', '>(objdir_glibc_arm)', | 786 '--objdir', '>(objdir_glibc_arm)', |
| 774 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in
clude_dirs)', | 787 '--include-dirs=>(tc_include_dir_glibc) ^(include_dirs) >(_in
clude_dirs)', |
| 775 '--compile_flags=-fPIC ^(compile_flags) >(_compile_flags)', | 788 '--compile_flags=-fPIC <(arm_compile_flags) ^(compile_flags)
>(_compile_flags)', |
| 776 '--gomadir', '<(gomadir)', | 789 '--gomadir', '<(gomadir)', |
| 777 '--defines=^(defines) >(_defines)', | 790 '--defines=^(defines) >(_defines)', |
| 778 '--link_flags=-B>(tc_lib_dir_glibc_arm) ^(link_flags) >(_link
_flags)', | 791 '--link_flags=-B>(tc_lib_dir_glibc_arm) ^(link_flags) >(_link
_flags)', |
| 779 '--source-list=^(source_list_glibc_arm)', | 792 '--source-list=^(source_list_glibc_arm)', |
| 780 ], | 793 ], |
| 781 }, | 794 }, |
| 782 ], | 795 ], |
| 783 }], | 796 }], |
| 784 # arm newlib nexe action | 797 # arm newlib nexe action |
| 785 ['nexe_target!="" and build_newlib!=0 and disable_newlib==0', { | 798 ['nexe_target!="" and build_newlib!=0 and disable_newlib==0', { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 802 '>@(extra_deps)', | 815 '>@(extra_deps)', |
| 803 '>@(extra_deps_newlib_arm)', | 816 '>@(extra_deps_newlib_arm)', |
| 804 '^(source_list_newlib_arm)', | 817 '^(source_list_newlib_arm)', |
| 805 '<(DEPTH)/native_client/toolchain/<(TOOLCHAIN_OS)_x86/nacl_ar
m_newlib/nacl_arm_newlib.json', | 818 '<(DEPTH)/native_client/toolchain/<(TOOLCHAIN_OS)_x86/nacl_ar
m_newlib/nacl_arm_newlib.json', |
| 806 ], | 819 ], |
| 807 'outputs': ['>(out_newlib_arm)'], | 820 'outputs': ['>(out_newlib_arm)'], |
| 808 'action': [ | 821 'action': [ |
| 809 '<@(common_args)', | 822 '<@(common_args)', |
| 810 '>@(extra_args)', | 823 '>@(extra_args)', |
| 811 '--arch', 'arm', | 824 '--arch', 'arm', |
| 812 '--build', 'newlib_nexe_clang', | 825 '--build', '<(newlib_nexe_arg)', |
| 813 '--name', '>(out_newlib_arm)', | 826 '--name', '>(out_newlib_arm)', |
| 814 '--objdir', '>(objdir_newlib_arm)', | 827 '--objdir', '>(objdir_newlib_arm)', |
| 815 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in
clude_dirs)', | 828 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in
clude_dirs)', |
| 816 '--compile_flags=^(compile_flags) >(_compile_flags)', | 829 '--compile_flags=<(arm_compile_flags) ^(compile_flags) >(_comp
ile_flags)', |
| 817 '--gomadir', '<(gomadir)', | 830 '--gomadir', '<(gomadir)', |
| 818 '--defines=^(defines) >(_defines)', | 831 '--defines=^(defines) >(_defines)', |
| 819 '--link_flags=-B>(tc_lib_dir_newlib_arm) -L>(tc_lib_dir_newlib
_arm) ^(link_flags) >(_link_flags)', | 832 '--link_flags=-B>(tc_lib_dir_newlib_arm) -L>(tc_lib_dir_newlib
_arm) ^(link_flags) >(_link_flags)', |
| 820 '--source-list=^(source_list_newlib_arm)', | 833 '--source-list=^(source_list_newlib_arm)', |
| 821 ], | 834 ], |
| 822 }, | 835 }, |
| 823 ], | 836 ], |
| 824 }], | 837 }], |
| 825 # arm newlib library action | 838 # arm newlib library action |
| 826 ['nlib_target!="" and build_newlib!=0 and disable_newlib==0', { | 839 ['nlib_target!="" and build_newlib!=0 and disable_newlib==0', { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 843 '>@(extra_deps)', | 856 '>@(extra_deps)', |
| 844 '>@(extra_deps_newlib_arm)', | 857 '>@(extra_deps_newlib_arm)', |
| 845 '^(source_list_newlib_arm)', | 858 '^(source_list_newlib_arm)', |
| 846 '<(DEPTH)/native_client/toolchain/<(TOOLCHAIN_OS)_x86/nacl_ar
m_newlib/nacl_arm_newlib.json', | 859 '<(DEPTH)/native_client/toolchain/<(TOOLCHAIN_OS)_x86/nacl_ar
m_newlib/nacl_arm_newlib.json', |
| 847 ], | 860 ], |
| 848 'outputs': ['>(out_newlib_arm)'], | 861 'outputs': ['>(out_newlib_arm)'], |
| 849 'action': [ | 862 'action': [ |
| 850 '<@(common_args)', | 863 '<@(common_args)', |
| 851 '>@(extra_args)', | 864 '>@(extra_args)', |
| 852 '--arch', 'arm', | 865 '--arch', 'arm', |
| 853 '--build', 'newlib_nlib_clang', | 866 '--build', '<(newlib_nlib_arg)', |
| 854 '--name', '>(out_newlib_arm)', | 867 '--name', '>(out_newlib_arm)', |
| 855 '--objdir', '>(objdir_newlib_arm)', | 868 '--objdir', '>(objdir_newlib_arm)', |
| 856 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in
clude_dirs)', | 869 '--include-dirs=>(tc_include_dir_newlib) ^(include_dirs) >(_in
clude_dirs)', |
| 857 '--compile_flags=^(compile_flags) >(_compile_flags)', | 870 '--compile_flags=<(arm_compile_flags) ^(compile_flags) >(_comp
ile_flags)', |
| 858 '--gomadir', '<(gomadir)', | 871 '--gomadir', '<(gomadir)', |
| 859 '--defines=^(defines) >(_defines)', | 872 '--defines=^(defines) >(_defines)', |
| 860 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link
_flags)', | 873 '--link_flags=-B>(tc_lib_dir_newlib_arm) ^(link_flags) >(_link
_flags)', |
| 861 '--source-list=^(source_list_newlib_arm)', | 874 '--source-list=^(source_list_newlib_arm)', |
| 862 ], | 875 ], |
| 863 }, | 876 }, |
| 864 ], | 877 ], |
| 865 }], | 878 }], |
| 866 # arm irt nexe action | 879 # arm irt nexe action |
| 867 ['nexe_target!="" and build_irt!=0', { | 880 ['nexe_target!="" and build_irt!=0', { |
| (...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1945 ], | 1958 ], |
| 1946 }, | 1959 }, |
| 1947 ], | 1960 ], |
| 1948 }], | 1961 }], |
| 1949 ], | 1962 ], |
| 1950 }], # end MIPS | 1963 }], # end MIPS |
| 1951 # end pnacl actions for building ABI-biased native libraries | 1964 # end pnacl actions for building ABI-biased native libraries |
| 1952 ], # end conditions for pnacl biased nlib | 1965 ], # end conditions for pnacl biased nlib |
| 1953 }, | 1966 }, |
| 1954 } | 1967 } |
| OLD | NEW |