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