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', |
(...skipping 18 matching lines...) Expand all Loading... |
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 '../native_client/tools.gyp:prep_toolchain', |
40 ], | 40 ], |
41 }, | 41 }, |
42 { | 42 { |
43 'target_name': 'base_i18n_nacl', | 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_nacl.a', | 48 'nlib_target': 'libbase_i18n_nacl.a', |
49 'build_glibc': 0, | 49 'build_glibc': 0, |
50 'build_newlib': 0, | 50 'build_newlib': 0, |
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 '../native_client/tools.gyp:prep_toolchain', |
63 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icui18n_nacl', | 63 '../third_party/icu/icu_nacl.gyp:icudata_nacl', |
64 '<(DEPTH)/third_party/icu/icu_nacl.gyp:icuuc_nacl', | 64 '../third_party/icu/icu_nacl.gyp:icui18n_nacl', |
65 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 65 '../third_party/icu/icu_nacl.gyp:icuuc_nacl', |
66 ], | 66 ], |
67 }, | 67 }, |
68 ], | |
69 }], | |
70 ['disable_nacl==0', { | |
71 'targets': [ | |
72 { | 68 { |
73 'target_name': 'base_nacl_nonsfi', | 69 'target_name': 'base_nacl_nonsfi', |
74 'type': 'none', | 70 'type': 'none', |
75 'include_dirs': [ | |
76 '<(DEPTH)/native_client/src/public/linux_syscalls', | |
77 ], | |
78 'variables': { | 71 'variables': { |
79 'base_target': 1, | 72 'base_target': 1, |
80 'nacl_untrusted_build': 1, | 73 'nacl_untrusted_build': 1, |
81 'nlib_target': 'libbase_nacl_nonsfi.a', | 74 'nlib_target': 'libbase_nacl_nonsfi.a', |
82 'build_glibc': 0, | 75 'build_glibc': 0, |
83 'build_newlib': 0, | 76 'build_newlib': 0, |
84 'build_irt': 0, | 77 'build_irt': 0, |
85 'build_pnacl_newlib': 0, | 78 'build_pnacl_newlib': 0, |
86 'build_nonsfi_helper': 1, | 79 'build_nonsfi_helper': 1, |
87 | 80 |
(...skipping 21 matching lines...) Expand all Loading... |
109 'rand_util_posix.cc', | 102 'rand_util_posix.cc', |
110 | 103 |
111 # For CancelableSyncSocket. | 104 # For CancelableSyncSocket. |
112 'sync_socket_nacl.cc', | 105 'sync_socket_nacl.cc', |
113 ], | 106 ], |
114 }, | 107 }, |
115 'sources!': [ | 108 'sources!': [ |
116 'rand_util_nacl.cc', | 109 'rand_util_nacl.cc', |
117 ], | 110 ], |
118 'dependencies': [ | 111 'dependencies': [ |
119 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 112 '../native_client/tools.gyp:prep_toolchain', |
120 '<(DEPTH)/third_party/libevent/libevent_nacl_nonsfi.gyp:event_nacl_n
onsfi', | 113 '../third_party/libevent/libevent_nacl_nonsfi.gyp:event_nacl_nonsfi'
, |
121 ], | 114 ], |
122 }, | 115 }, |
123 ], | 116 ], |
124 }], | 117 }], |
125 ], | 118 ], |
126 } | 119 } |
OLD | NEW |