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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'nacl/nacl_defines.gypi', | 10 'nacl/nacl_defines.gypi', |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 ], | 174 ], |
175 'dependencies': [ | 175 'dependencies': [ |
176 'nacl', | 176 'nacl', |
177 'nacl_common', | 177 'nacl_common', |
178 '../crypto/crypto.gyp:crypto', | 178 '../crypto/crypto.gyp:crypto', |
179 '../sandbox/sandbox.gyp:libc_urandom_override', | 179 '../sandbox/sandbox.gyp:libc_urandom_override', |
180 '../sandbox/sandbox.gyp:sandbox', | 180 '../sandbox/sandbox.gyp:sandbox', |
181 ], | 181 ], |
182 'defines': [ | 182 'defines': [ |
183 '<@(nacl_defines)', | 183 '<@(nacl_defines)', |
| 184 # Allow .cc files to know if they're being compiled as part |
| 185 # of nacl_helper. |
| 186 'IN_NACL_HELPER=1', |
184 ], | 187 ], |
185 'sources': [ | 188 'sources': [ |
186 'nacl/loader/nacl_sandbox_linux.cc', | 189 'nacl/loader/nacl_sandbox_linux.cc', |
187 'nacl/loader/nacl_helper_linux.cc', | 190 'nacl/loader/nacl_helper_linux.cc', |
188 'nacl/loader/nacl_helper_linux.h', | 191 'nacl/loader/nacl_helper_linux.h', |
189 '../base/posix/unix_domain_socket_linux.cc', | 192 '../base/posix/unix_domain_socket_linux.cc', |
190 '../content/common/child_process_sandbox_support_impl_shm_linux.
cc', | 193 '../content/common/child_process_sandbox_support_impl_shm_linux.
cc', |
191 '../content/common/sandbox_bpf_base_policy_linux.cc', | 194 '../content/common/sandbox_linux/sandbox_bpf_base_policy_linux.c
c', |
192 '../content/common/sandbox_init_linux.cc', | 195 '../content/common/sandbox_linux/sandbox_init_linux.cc', |
193 '../content/common/sandbox_seccomp_bpf_linux.cc', | 196 '../content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc', |
194 '../content/public/common/content_switches.cc', | 197 '../content/public/common/content_switches.cc', |
195 ], | 198 ], |
196 'conditions': [ | 199 'conditions': [ |
197 ['toolkit_uses_gtk == 1', { | 200 ['toolkit_uses_gtk == 1', { |
198 'dependencies': [ | 201 'dependencies': [ |
199 '../build/linux/system.gyp:gtk', | 202 '../build/linux/system.gyp:gtk', |
200 ], | 203 ], |
201 }], | 204 }], |
202 ['use_glib == 1', { | 205 ['use_glib == 1', { |
203 'dependencies': [ | 206 'dependencies': [ |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 'nacl/common/nacl_types.h', | 362 'nacl/common/nacl_types.h', |
360 'nacl/common/pnacl_types.cc', | 363 'nacl/common/pnacl_types.cc', |
361 'nacl/common/pnacl_types.h', | 364 'nacl/common/pnacl_types.h', |
362 ], | 365 ], |
363 'include_dirs': [ | 366 'include_dirs': [ |
364 '..', | 367 '..', |
365 ], | 368 ], |
366 }, | 369 }, |
367 ] | 370 ] |
368 } | 371 } |
OLD | NEW |