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 '../native_client/build/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 'atomicops_internals_x86_gcc.cc', | |
27 'string16.cc', | 26 'string16.cc', |
28 'sync_socket_nacl.cc', | 27 'sync_socket_nacl.cc', |
29 'third_party/nspr/prtime.cc', | 28 'third_party/nspr/prtime.cc', |
30 'time_posix.cc', | 29 'time_posix.cc', |
31 ], | 30 ], |
32 }, | 31 }, |
32 'conditions': [ | |
33 # This is needed for third_party/nspr/prtime.cc | |
34 ['target_arch=="arm"', { | |
35 'defines': [ | |
36 '__arm__', | |
DaleCurtis
2012/08/23 19:16:40
Since my patch to switch this out for __ARMEL__ fa
bbudge
2012/08/23 20:32:30
Done. I'm adding it to common_untrusted.gypi so it
DaleCurtis
2012/08/23 20:38:58
It looks like there are #if checks inside the NaCl
bbudge
2012/08/23 21:16:37
I do see one untrusted (header) file that uses it,
| |
37 ], | |
38 }], | |
39 ], | |
33 'dependencies': [ | 40 'dependencies': [ |
34 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 41 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
35 ], | 42 ], |
36 }, | 43 }, |
37 ], | 44 ], |
38 }], | 45 }], |
39 ], | 46 ], |
40 } | 47 } |
OLD | NEW |