OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 '../build/common_untrusted.gypi', | 7 '../build/common_untrusted.gypi', |
8 ], | 8 ], |
9 'conditions': [ | 9 'conditions': [ |
10 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 10 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
13 'target_name': 'nacl_io_untrusted', | 13 'target_name': 'nacl_io_untrusted', |
14 'type': 'none', | 14 'type': 'none', |
15 'variables': { | 15 'variables': { |
16 'nacl_untrusted_build': 1, | 16 'nacl_untrusted_build': 1, |
17 'nlib_target': 'libnacl_io.a', | 17 'nlib_target': 'libnacl_io.a', |
18 'build_newlib': 1, | 18 'build_newlib': 1, |
| 19 'build_pnacl_newlib': 1, |
19 }, | 20 }, |
20 'include_dirs': [ | 21 'include_dirs': [ |
21 '../native_client/src/untrusted/irt', | 22 '../native_client/src/untrusted/irt', |
22 'src/libraries', | 23 'src/libraries', |
23 'src/libraries/nacl_io/include', | 24 'src/libraries/nacl_io/include', |
24 'src/libraries/third_party/newlib-extras', | 25 'src/libraries/third_party/newlib-extras', |
25 ], | 26 ], |
26 'direct_dependent_settings': { | 27 'direct_dependent_settings': { |
27 'include_dirs': [ | 28 'include_dirs': [ |
28 'src/libraries', | 29 'src/libraries', |
29 'src/libraries/nacl_io/include', | 30 'src/libraries/nacl_io/include', |
30 'src/libraries/third_party/newlib-extras', | 31 'src/libraries/third_party/newlib-extras', |
31 ], | 32 ], |
32 }, | 33 }, |
33 'sources': [ | 34 'sources': [ |
34 '>!@pymod_do_main(dsc_info -s -l src/libraries/nacl_io nacl_io)', | 35 '>!@pymod_do_main(dsc_info -s -l src/libraries/nacl_io nacl_io)', |
35 ], | 36 ], |
36 'dependencies': [ | 37 'dependencies': [ |
37 '../native_client/tools.gyp:prep_toolchain', | 38 '../native_client/tools.gyp:prep_toolchain', |
38 '../ppapi/native_client/native_client.gyp:ppapi_lib', | 39 '../ppapi/native_client/native_client.gyp:ppapi_lib', |
39 ], | 40 ], |
40 }, | 41 }, |
41 ], | 42 ], |
42 }], | 43 }], |
43 ], | 44 ], |
44 } | 45 } |
OLD | NEW |