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_nacl', |
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_nacl.a', |
23 'build_glibc': 1, | 23 'build_glibc': 1, |
24 'build_newlib': 1, | 24 'build_newlib': 1, |
25 'build_irt': 1, | 25 'build_irt': 1, |
26 'build_pnacl_newlib': 1, | 26 'build_pnacl_newlib': 1, |
27 'sources': [ | 27 'sources': [ |
28 'base_switches.cc', | 28 'base_switches.cc', |
29 'base_switches.h', | 29 'base_switches.h', |
30 'strings/string16.cc', | 30 'strings/string16.cc', |
31 'sync_socket_nacl.cc', | 31 'sync_socket_nacl.cc', |
32 'time/time_posix.cc', | 32 'time/time_posix.cc', |
33 ], | 33 ], |
34 'gcc_compile_flags': [ | 34 'gcc_compile_flags': [ |
35 '-fno-strict-aliasing', | 35 '-fno-strict-aliasing', |
36 ], | 36 ], |
37 }, | 37 }, |
38 'dependencies': [ | 38 'dependencies': [ |
39 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 39 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
40 ], | 40 ], |
41 }, | 41 }, |
42 { | 42 { |
43 'target_name': 'base_i18n_untrusted', | 43 'target_name': 'base_i18n_nacl', |
44 'type': 'none', | 44 'type': 'none', |
45 'variables': { | 45 'variables': { |
46 'base_i18n_target': 1, | 46 'base_i18n_target': 1, |
47 'nacl_untrusted_build': 1, | 47 'nacl_untrusted_build': 1, |
48 'nlib_target': 'libbase_i18n_untrusted.a', | 48 'nlib_target': 'libbase_i18n_nacl.a', |
49 'build_glibc': 0, | 49 'build_glibc': 0, |
50 'build_newlib': 1, | 50 'build_newlib': 1, |
51 'build_irt': 0, | 51 'build_irt': 0, |
52 'build_pnacl_newlib': 1, | 52 'build_pnacl_newlib': 1, |
53 'sources': [ | 53 'sources': [ |
54 'base_switches.cc', | 54 'base_switches.cc', |
55 'base_switches.h', | 55 'base_switches.h', |
56 'strings/string16.cc', | 56 'strings/string16.cc', |
57 'sync_socket_nacl.cc', | 57 'sync_socket_nacl.cc', |
58 'time/time_posix.cc', | 58 'time/time_posix.cc', |
59 ], | 59 ], |
60 }, | 60 }, |
61 'dependencies': [ | 61 'dependencies': [ |
62 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icudata_nacl', | 62 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icudata_nacl', |
63 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icui18n_nacl', | 63 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icui18n_nacl', |
64 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icuuc_nacl', | 64 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icuuc_nacl', |
65 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 65 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
66 ], | 66 ], |
67 }, | 67 }, |
68 ], | 68 ], |
69 }], | 69 }], |
70 ], | 70 ], |
71 } | 71 } |
OLD | NEW |