| 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': 'pnacl_irt_shim.a', | 14 'nlib_target': 'pnacl_irt_shim.a', |
| 15 'out_newlib64': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86_pnac
l/lib-x86-64/libpnacl_irt_shim.a', | 15 'out_newlib64': '<(PRODUCT_DIR)/libpnacl_irt_shim.a', |
| 16 'out_newlib_arm': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86_pn
acl/lib-arm/libpnacl_irt_shim.a', | 16 'out_newlib_arm': '<(PRODUCT_DIR)/libpnacl_irt_shim.a', |
| 17 'build_glibc': 0, | 17 'build_glibc': 0, |
| 18 'build_newlib': 1, | 18 'build_newlib': 1, |
| 19 'sources': [ | 19 'sources': [ |
| 20 'pnacl_shim.c', | 20 'pnacl_shim.c', |
| 21 'shim_entry.c', | 21 'shim_entry.c', |
| 22 'shim_ppapi.c', | 22 'shim_ppapi.c', |
| 23 ], | 23 ], |
| 24 'include_dirs': [ | 24 'include_dirs': [ |
| 25 '../../../..', | 25 '../../../..', |
| 26 ], | 26 ], |
| 27 'conditions': [ | 27 'conditions': [ |
| 28 ['target_arch=="arm"', { | 28 ['target_arch=="arm"', { |
| 29 'compile_flags': [ | 29 'compile_flags': [ |
| 30 '--pnacl-allow-translate', | 30 '--pnacl-allow-translate', |
| 31 '--pnacl-allow-native', | 31 '--pnacl-allow-native', |
| 32 '-arch', 'arm', | 32 '-arch', 'arm', |
| 33 ], | 33 ], |
| 34 }], | 34 }], |
| 35 ], | 35 ], |
| 36 }, | 36 }, |
| 37 'dependencies': [ | 37 'dependencies': [ |
| 38 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 38 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 39 ], | 39 ], |
| 40 }, | 40 }, |
| 41 ], | 41 ], |
| 42 } | 42 } |
| OLD | NEW |