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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/common_untrusted.gypi', | 10 '../build/common_untrusted.gypi', |
11 'base.gypi', | 11 'base.gypi', |
12 ], | 12 ], |
13 'conditions': [ | 13 'conditions': [ |
14 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 14 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
15 'targets': [ | 15 'targets': [ |
16 { | 16 { |
17 'target_name': 'base_untrusted', | 17 'target_name': 'base_untrusted', |
18 'type': 'none', | 18 'type': 'none', |
19 'variables': { | 19 'variables': { |
20 'base_target': 1, | 20 'base_target': 1, |
21 'nacl_untrusted_build': 1, | 21 'nacl_untrusted_build': 1, |
22 'nlib_target': 'libbase_untrusted.a', | 22 'nlib_target': 'libbase_untrusted.a', |
23 'build_glibc': 1, | 23 'build_glibc': 1, |
24 'build_newlib': 1, | 24 'build_newlib': 1, |
25 'sources': [ | 25 'sources': [ |
26 'string16.cc', | 26 'string16.cc', |
27 'sync_socket_nacl.cc', | 27 'sync_socket_nacl.cc', |
28 'third_party/nspr/prtime.cc', | |
29 'time_posix.cc', | 28 'time_posix.cc', |
30 ], | 29 ], |
31 }, | 30 }, |
32 'dependencies': [ | 31 'dependencies': [ |
33 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 32 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
34 ], | 33 ], |
35 }, | 34 }, |
36 ], | 35 ], |
37 }], | 36 }], |
38 ], | 37 ], |
39 } | 38 } |
OLD | NEW |