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 'includes': [ | 6 'includes': [ |
7 '../../../../../native_client/build/untrusted.gypi', | 7 '../../../../../native_client/build/untrusted.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'pnacl_irt_shim', | 11 'target_name': 'pnacl_irt_shim', |
12 'type': 'none', | 12 'type': 'none', |
13 'variables': { | 13 'variables': { |
14 'nlib_target': 'libpnacl_irt_shim.a', | 14 'nlib_target': 'libpnacl_irt_shim.a', |
15 'out_newlib_arm': '>(tc_lib_dir_pnacl_translate)/lib-arm/libpnacl_irt_sh im.a', | 15 'out_newlib_arm': '>(tc_lib_dir_pnacl_translate)/lib-arm/libpnacl_irt_sh im.a', |
16 'out_newlib32': '>(tc_lib_dir_pnacl_translate)/lib-x86-32/libpnacl_irt_s him.a', | 16 'out_newlib32': '>(tc_lib_dir_pnacl_translate)/lib-x86-32/libpnacl_irt_s him.a', |
17 'out_newlib64': '>(tc_lib_dir_pnacl_translate)/lib-x86-64/libpnacl_irt_s him.a', | 17 'out_newlib64': '>(tc_lib_dir_pnacl_translate)/lib-x86-64/libpnacl_irt_s him.a', |
18 'out_newlib_mips': '>(tc_lib_dir_pnacl_translate)/lib-mips/libpnacl_irt_ shim.a', | |
jvoung (off chromium)
2014/02/06 00:39:56
lib-mips32 to be consistent w/ the other part? Doe
petarj
2014/02/20 00:23:18
This line is removed now.
| |
18 'build_glibc': 0, | 19 'build_glibc': 0, |
19 'build_newlib': 1, | 20 'build_newlib': 1, |
20 'force_arm_pnacl': 1, | 21 'force_arm_pnacl': 1, |
21 'sources': [ | 22 'sources': [ |
22 'pnacl_shim.c', | 23 'pnacl_shim.c', |
23 'shim_entry.c', | 24 'shim_entry.c', |
24 'shim_ppapi.c', | 25 'shim_ppapi.c', |
25 ], | 26 ], |
26 'include_dirs': [ | 27 'include_dirs': [ |
27 '../../../..', | 28 '../../../..', |
28 ], | 29 ], |
29 'extra_args': [ | 30 'extra_args': [ |
30 '--strip-debug', | 31 '--strip-debug', |
31 ], | 32 ], |
32 'conditions': [ | 33 'conditions': [ |
33 ['target_arch=="arm"', { | 34 ['target_arch=="arm"', { |
34 'compile_flags': [ | 35 'compile_flags': [ |
35 '--pnacl-allow-translate', | 36 '--pnacl-allow-translate', |
36 '--pnacl-allow-native', | 37 '--pnacl-allow-native', |
37 '-arch', 'arm', | 38 '-arch', 'arm', |
38 ], | 39 ], |
39 }], | 40 }], |
41 ['target_arch=="mipsel"', { | |
42 'compile_flags': [ | |
43 '--pnacl-allow-translate', | |
jvoung (off chromium)
2014/02/06 00:39:56
Currently have a CL to change this a bit. CC'ed yo
petarj
2014/02/20 00:23:18
It's le32-unknown-nacl.
| |
44 '--pnacl-allow-native', | |
45 '-arch', 'mips', | |
46 ], | |
47 }], | |
40 ], | 48 ], |
41 }, | 49 }, |
42 'dependencies': [ | 50 'dependencies': [ |
43 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 51 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
44 ], | 52 ], |
45 }, | 53 }, |
46 ], | 54 ], |
47 } | 55 } |
OLD | NEW |