OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # re: untrusted.gypi -- Though this doesn't really use build_nexe.py or | 6 # re: untrusted.gypi -- Though this doesn't really use build_nexe.py or |
7 # anything, it depends on untrusted nexes from the toolchain and for the shim. | 7 # anything, it depends on untrusted nexes from the toolchain and for the shim. |
8 'includes': [ | 8 'includes': [ |
9 '../../../../../build/common_untrusted.gypi', | 9 '../../../../../build/common_untrusted.gypi', |
10 ], | 10 ], |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
13 'target_name': 'pnacl_support_extension', | 13 'target_name': 'pnacl_support_extension', |
14 'type': 'none', | 14 'type': 'none', |
15 'conditions': [ | 15 'conditions': [ |
16 ['disable_nacl==0 and disable_pnacl==0 and disable_nacl_untrusted==0', { | 16 ['disable_nacl==0 and disable_pnacl==0 and disable_nacl_untrusted==0', { |
17 'dependencies': [ | 17 'dependencies': [ |
18 '../../../../../ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl
_irt_shim.gyp:pnacl_irt_shim', | 18 '../../../../../ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl
_irt_shim.gyp:pnacl_irt_shim', |
19 '../../../../../native_client/tools.gyp:prep_toolchain', | 19 '../../../../../native_client/tools.gyp:prep_toolchain', |
20 ], | 20 ], |
| 21 'conditions': [ |
| 22 ['target_arch=="mipsel"', { |
| 23 'dependencies!': [ |
| 24 '../../../../../ppapi/native_client/src/untrusted/pnacl_irt_shim/p
nacl_irt_shim.gyp:pnacl_irt_shim', |
| 25 ], |
| 26 }], |
| 27 ], |
21 'sources': [ | 28 'sources': [ |
22 'pnacl_component_crx_gen.py', | 29 'pnacl_component_crx_gen.py', |
23 ], | 30 ], |
24 # We could use 'copies', but we want to rename the files | 31 # We could use 'copies', but we want to rename the files |
25 # in a white-listed way first. Thus use a script. | 32 # in a white-listed way first. Thus use a script. |
26 'actions': [ | 33 'actions': [ |
27 { | 34 { |
28 'action_name': 'generate_pnacl_support_extension', | 35 'action_name': 'generate_pnacl_support_extension', |
29 'inputs': [ | 36 'inputs': [ |
30 'pnacl_component_crx_gen.py', | 37 'pnacl_component_crx_gen.py', |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 'inputs': [ | 89 'inputs': [ |
83 '>(tc_lib_dir_pnacl_translate)/lib-arm/libpnacl_irt_sh
im.a', | 90 '>(tc_lib_dir_pnacl_translate)/lib-arm/libpnacl_irt_sh
im.a', |
84 ], | 91 ], |
85 'variables': { | 92 'variables': { |
86 'lib_overrides': [ | 93 'lib_overrides': [ |
87 # Use the freshly generated shim. | 94 # Use the freshly generated shim. |
88 '--lib_override=arm,>(tc_lib_dir_pnacl_translate)/li
b-arm/libpnacl_irt_shim.a', | 95 '--lib_override=arm,>(tc_lib_dir_pnacl_translate)/li
b-arm/libpnacl_irt_shim.a', |
89 ], | 96 ], |
90 }, | 97 }, |
91 }], | 98 }], |
| 99 ['target_arch=="mipsel"', { |
| 100 'outputs': [ |
| 101 '<(PRODUCT_DIR)/pnacl/pnacl_public_pnacl_json', |
| 102 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_crtbegin_o', |
| 103 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_ld_nexe', |
| 104 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_libcrt_platf
orm_a', |
| 105 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_libgcc_a', |
| 106 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_libgcc_eh_a'
, |
| 107 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_libpnacl_irt
_shim_dummy_a', |
| 108 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_llc_nexe', |
| 109 ], |
| 110 'variables': { |
| 111 'lib_overrides': [], |
| 112 }, |
| 113 }], |
92 ['target_arch=="ia32"', { | 114 ['target_arch=="ia32"', { |
93 'outputs': [ | 115 'outputs': [ |
94 '<(PRODUCT_DIR)/pnacl/pnacl_public_pnacl_json', | 116 '<(PRODUCT_DIR)/pnacl/pnacl_public_pnacl_json', |
95 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_crtbegin_o', | 117 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_crtbegin_o', |
96 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_ld_nexe', | 118 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_ld_nexe', |
97 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libcrt_platf
orm_a', | 119 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libcrt_platf
orm_a', |
98 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libgcc_a', | 120 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libgcc_a', |
99 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libgcc_eh_a'
, | 121 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libgcc_eh_a'
, |
100 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libpnacl_irt
_shim_a', | 122 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libpnacl_irt
_shim_a', |
101 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_pnacl_llc_ne
xe', | 123 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_pnacl_llc_ne
xe', |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 '--tool_revisions_path=<(DEPTH)/native_client/TOOL_REVISIONS', | 165 '--tool_revisions_path=<(DEPTH)/native_client/TOOL_REVISIONS', |
144 # ABI Version Number. | 166 # ABI Version Number. |
145 '1', | 167 '1', |
146 ], | 168 ], |
147 }, | 169 }, |
148 ], | 170 ], |
149 }], | 171 }], |
150 ], | 172 ], |
151 }], | 173 }], |
152 } | 174 } |
OLD | NEW |