| 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', |
| (...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 795 ], # end target_conditions for arm newlib (nexe/nlib) | 795 ], # end target_conditions for arm newlib (nexe/nlib) |
| 796 }, | 796 }, |
| 797 }], # end target_arch = arm | 797 }], # end target_arch = arm |
| 798 ['target_arch=="mipsel"', { | 798 ['target_arch=="mipsel"', { |
| 799 'target_defaults': { | 799 'target_defaults': { |
| 800 'target_conditions': [ | 800 'target_conditions': [ |
| 801 # mips newlib nexe action | 801 # mips newlib nexe action |
| 802 ['nexe_target!="" and build_newlib!=0', { | 802 ['nexe_target!="" and build_newlib!=0', { |
| 803 'variables': { | 803 'variables': { |
| 804 'tool_name': 'newlib', | 804 'tool_name': 'newlib', |
| 805 'out_newlib_mips%': '<(PRODUCT_DIR)/>(nexe_target)_newlib_mips.ne
xe', | 805 'out_newlib_mips%': '<(PRODUCT_DIR)/>(nexe_target)_newlib_mips32.
nexe', |
| 806 'objdir_newlib_mips%': '>(INTERMEDIATE_DIR)/<(tool_name)-mips/>(_
target_name)', | 806 'objdir_newlib_mips%': '>(INTERMEDIATE_DIR)/<(tool_name)-mips/>(_
target_name)', |
| 807 }, | 807 }, |
| 808 'actions': [ | 808 'actions': [ |
| 809 { | 809 { |
| 810 'action_name': 'build newlib mips nexe', | 810 'action_name': 'build newlib mips nexe', |
| 811 'variables': { | 811 'variables': { |
| 812 'source_list_newlib_mips%': '^|(<(tool_name)-mips.>(_target_na
me).source_list.gypcmd ^(_sources) ^(sources) ^(native_sources))', | 812 'source_list_newlib_mips%': '^|(<(tool_name)-mips.>(_target_na
me).source_list.gypcmd ^(_sources) ^(sources) ^(native_sources))', |
| 813 }, | 813 }, |
| 814 'msvs_cygwin_shell': 0, | 814 'msvs_cygwin_shell': 0, |
| 815 'description': 'building >(out_newlib_mips)', | 815 'description': 'building >(out_newlib_mips)', |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 '--link_flags=-B>(tc_lib_dir_newlib_mips) ^(link_flags) >(_lin
k_flags)', | 883 '--link_flags=-B>(tc_lib_dir_newlib_mips) ^(link_flags) >(_lin
k_flags)', |
| 884 '--source-list=^(source_list_newlib_mips)', | 884 '--source-list=^(source_list_newlib_mips)', |
| 885 ], | 885 ], |
| 886 }, | 886 }, |
| 887 ], | 887 ], |
| 888 }], | 888 }], |
| 889 # mips irt nexe action | 889 # mips irt nexe action |
| 890 ['nexe_target!="" and build_irt!=0', { | 890 ['nexe_target!="" and build_irt!=0', { |
| 891 'variables': { | 891 'variables': { |
| 892 'tool_name': 'irt', | 892 'tool_name': 'irt', |
| 893 'out_newlib_mips%': '<(PRODUCT_DIR)/>(nexe_target)_newlib_mips.ne
xe', | 893 'out_newlib_mips%': '<(PRODUCT_DIR)/>(nexe_target)_newlib_mips32.
nexe', |
| 894 'objdir_newlib_mips%': '>(INTERMEDIATE_DIR)/<(tool_name)-mips/>(_
target_name)', | 894 'objdir_newlib_mips%': '>(INTERMEDIATE_DIR)/<(tool_name)-mips/>(_
target_name)', |
| 895 }, | 895 }, |
| 896 'actions': [ | 896 'actions': [ |
| 897 { | 897 { |
| 898 'action_name': 'build IRT mips nexe', | 898 'action_name': 'build IRT mips nexe', |
| 899 'variables': { | 899 'variables': { |
| 900 'source_list_newlib_mips%': '^|(<(tool_name)-mips.>(_target_na
me).source_list.gypcmd ^(_sources) ^(sources))', | 900 'source_list_newlib_mips%': '^|(<(tool_name)-mips.>(_target_na
me).source_list.gypcmd ^(_sources) ^(sources))', |
| 901 }, | 901 }, |
| 902 'msvs_cygwin_shell': 0, | 902 'msvs_cygwin_shell': 0, |
| 903 'description': 'building >(out_newlib_mips)', | 903 'description': 'building >(out_newlib_mips)', |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1300 ], | 1300 ], |
| 1301 }, | 1301 }, |
| 1302 'target_conditions': [ | 1302 'target_conditions': [ |
| 1303 # pnacl actions for building pexes and translating them | 1303 # pnacl actions for building pexes and translating them |
| 1304 ['nexe_target!="" and disable_pnacl==0 and build_pnacl_newlib!=0 ' | 1304 ['nexe_target!="" and disable_pnacl==0 and build_pnacl_newlib!=0 ' |
| 1305 'and pnacl_native_biased==0', { | 1305 'and pnacl_native_biased==0', { |
| 1306 'variables': { | 1306 'variables': { |
| 1307 'out_pnacl_newlib_x86_32_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl
_newlib_x32.nexe', | 1307 'out_pnacl_newlib_x86_32_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl
_newlib_x32.nexe', |
| 1308 'out_pnacl_newlib_x86_64_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl
_newlib_x64.nexe', | 1308 'out_pnacl_newlib_x86_64_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl
_newlib_x64.nexe', |
| 1309 'out_pnacl_newlib_arm_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl_ne
wlib_arm.nexe', | 1309 'out_pnacl_newlib_arm_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl_ne
wlib_arm.nexe', |
| 1310 'out_pnacl_newlib_mips_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl_n
ewlib_mips.nexe', | 1310 'out_pnacl_newlib_mips_nexe%': '<(PRODUCT_DIR)/>(nexe_target)_pnacl_n
ewlib_mips32.nexe', |
| 1311 'out_pnacl_newlib_x86_32_nonsfi_nexe%': '<(PRODUCT_DIR)/>(nexe_target
)_pnacl_newlib_x32_nonsfi.nexe', | 1311 'out_pnacl_newlib_x86_32_nonsfi_nexe%': '<(PRODUCT_DIR)/>(nexe_target
)_pnacl_newlib_x32_nonsfi.nexe', |
| 1312 'tool_name': 'pnacl_newlib', | 1312 'tool_name': 'pnacl_newlib', |
| 1313 'inst_dir': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib', | 1313 'inst_dir': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_newlib', |
| 1314 'out_pnacl_newlib%': '<(PRODUCT_DIR)/>(nexe_target)_newlib.pexe', | 1314 'out_pnacl_newlib%': '<(PRODUCT_DIR)/>(nexe_target)_newlib.pexe', |
| 1315 'objdir_pnacl_newlib%': '>(INTERMEDIATE_DIR)/<(tool_name)/>(_target_n
ame)', | 1315 'objdir_pnacl_newlib%': '>(INTERMEDIATE_DIR)/<(tool_name)/>(_target_n
ame)', |
| 1316 'link_flags': [ | 1316 'link_flags': [ |
| 1317 '-O3', | 1317 '-O3', |
| 1318 ], | 1318 ], |
| 1319 'translate_flags': [], | 1319 'translate_flags': [], |
| 1320 }, | 1320 }, |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1767 ], | 1767 ], |
| 1768 }, | 1768 }, |
| 1769 ], | 1769 ], |
| 1770 }], | 1770 }], |
| 1771 ], | 1771 ], |
| 1772 }], # end MIPS | 1772 }], # end MIPS |
| 1773 # end pnacl actions for building ABI-biased native libraries | 1773 # end pnacl actions for building ABI-biased native libraries |
| 1774 ], # end conditions for pnacl biased nlib | 1774 ], # end conditions for pnacl biased nlib |
| 1775 }, | 1775 }, |
| 1776 } | 1776 } |
| OLD | NEW |