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': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_translate/lib-arm
/libpnacl_irt_shim.a', | 15 'out_newlib_arm': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_translate/lib-arm
/libpnacl_irt_shim.a', |
16 'out_newlib32': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_translate/lib-x86-3
2/libpnacl_irt_shim.a', | 16 'out_newlib32': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_translate/lib-x86-3
2/libpnacl_irt_shim.a', |
17 'out_newlib64': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_translate/lib-x86-6
4/libpnacl_irt_shim.a', | 17 'out_newlib64': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_translate/lib-x86-6
4/libpnacl_irt_shim.a', |
18 'build_glibc': 0, | 18 'build_glibc': 0, |
19 'build_newlib': 1, | 19 'build_newlib': 1, |
| 20 'force_arm_pnacl': 1, |
20 'sources': [ | 21 'sources': [ |
21 'pnacl_shim.c', | 22 'pnacl_shim.c', |
22 'shim_entry.c', | 23 'shim_entry.c', |
23 'shim_ppapi.c', | 24 'shim_ppapi.c', |
24 ], | 25 ], |
25 'include_dirs': [ | 26 'include_dirs': [ |
26 '../../../..', | 27 '../../../..', |
27 ], | 28 ], |
28 'extra_args': [ | 29 'extra_args': [ |
29 '--strip-debug', | 30 '--strip-debug', |
30 ], | 31 ], |
31 'conditions': [ | 32 'conditions': [ |
32 ['target_arch=="arm"', { | 33 ['target_arch=="arm"', { |
33 'compile_flags': [ | 34 'compile_flags': [ |
34 '--pnacl-allow-translate', | 35 '--pnacl-allow-translate', |
35 '--pnacl-allow-native', | 36 '--pnacl-allow-native', |
36 '-arch', 'arm', | 37 '-arch', 'arm', |
37 ], | 38 ], |
38 }], | 39 }], |
39 ], | 40 ], |
40 }, | 41 }, |
41 'dependencies': [ | 42 'dependencies': [ |
42 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 43 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
43 ], | 44 ], |
44 }, | 45 }, |
45 ], | 46 ], |
46 } | 47 } |
OLD | NEW |