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

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_support_extension/pnacl_support_extension.gyp

Issue 175533002: [MIPS] Use IRT shim instead of dummy IRT shim (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 10 months 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
OLDNEW
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 ],
28 'sources': [ 21 'sources': [
29 'pnacl_component_crx_gen.py', 22 'pnacl_component_crx_gen.py',
30 ], 23 ],
31 # We could use 'copies', but we want to rename the files 24 # We could use 'copies', but we want to rename the files
32 # in a white-listed way first. Thus use a script. 25 # in a white-listed way first. Thus use a script.
33 'actions': [ 26 'actions': [
34 { 27 {
35 'action_name': 'generate_pnacl_support_extension', 28 'action_name': 'generate_pnacl_support_extension',
36 'inputs': [ 29 'inputs': [
37 'pnacl_component_crx_gen.py', 30 'pnacl_component_crx_gen.py',
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 }, 90 },
98 }], 91 }],
99 ['target_arch=="mipsel"', { 92 ['target_arch=="mipsel"', {
100 'outputs': [ 93 'outputs': [
101 '<(PRODUCT_DIR)/pnacl/pnacl_public_pnacl_json', 94 '<(PRODUCT_DIR)/pnacl/pnacl_public_pnacl_json',
102 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_crtbegin_o', 95 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_crtbegin_o',
103 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_ld_nexe', 96 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_ld_nexe',
104 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_libcrt_platf orm_a', 97 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_libcrt_platf orm_a',
105 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_libgcc_a', 98 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_libgcc_a',
106 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_libgcc_eh_a' , 99 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_libgcc_eh_a' ,
107 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_libpnacl_irt _shim_dummy_a', 100 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_libpnacl_irt _shim_a',
108 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_llc_nexe', 101 '<(PRODUCT_DIR)/pnacl/pnacl_public_mips32_llc_nexe',
109 ], 102 ],
103 'inputs': [
104 '>(tc_lib_dir_pnacl_translate)/lib-mips32/libpnacl_irt _shim.a',
105 ],
110 'variables': { 106 'variables': {
111 'lib_overrides': [], 107 'lib_overrides': [
108 # Use the freshly generated shim.
109 '--lib_override=mipsel,>(tc_lib_dir_pnacl_translate) /lib-mips32/libpnacl_irt_shim.a',
110 ],
112 }, 111 },
113 }], 112 }],
114 ['target_arch=="ia32"', { 113 ['target_arch=="ia32"', {
115 'outputs': [ 114 'outputs': [
116 '<(PRODUCT_DIR)/pnacl/pnacl_public_pnacl_json', 115 '<(PRODUCT_DIR)/pnacl/pnacl_public_pnacl_json',
117 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_crtbegin_o', 116 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_crtbegin_o',
118 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_ld_nexe', 117 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_ld_nexe',
119 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libcrt_platf orm_a', 118 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libcrt_platf orm_a',
120 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libgcc_a', 119 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libgcc_a',
121 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libgcc_eh_a' , 120 '<(PRODUCT_DIR)/pnacl/pnacl_public_x86_32_libgcc_eh_a' ,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 '--tool_revisions_path=<(DEPTH)/native_client/TOOL_REVISIONS', 164 '--tool_revisions_path=<(DEPTH)/native_client/TOOL_REVISIONS',
166 # ABI Version Number. 165 # ABI Version Number.
167 '1', 166 '1',
168 ], 167 ],
169 }, 168 },
170 ], 169 ],
171 }], 170 }],
172 ], 171 ],
173 }], 172 }],
174 } 173 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698