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', | |
187 ], | 184 ], |
188 'sources': [ | 185 'sources': [ |
189 'nacl/loader/nacl_sandbox_linux.cc', | 186 'nacl/loader/nacl_sandbox_linux.cc', |
190 'nacl/loader/nacl_helper_linux.cc', | 187 'nacl/loader/nacl_helper_linux.cc', |
191 'nacl/loader/nacl_helper_linux.h', | 188 'nacl/loader/nacl_helper_linux.h', |
192 '../base/posix/unix_domain_socket_linux.cc', | 189 '../base/posix/unix_domain_socket_linux.cc', |
193 '../content/common/child_process_sandbox_support_impl_shm_linux.
cc', | 190 '../content/common/child_process_sandbox_support_impl_shm_linux.
cc', |
194 '../content/common/sandbox_linux/sandbox_bpf_base_policy_linux.c
c', | 191 '../content/common/sandbox_bpf_base_policy_linux.cc', |
195 '../content/common/sandbox_linux/sandbox_init_linux.cc', | 192 '../content/common/sandbox_init_linux.cc', |
196 '../content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc', | 193 '../content/common/sandbox_seccomp_bpf_linux.cc', |
197 '../content/public/common/content_switches.cc', | 194 '../content/public/common/content_switches.cc', |
198 ], | 195 ], |
199 'conditions': [ | 196 'conditions': [ |
200 ['toolkit_uses_gtk == 1', { | 197 ['toolkit_uses_gtk == 1', { |
201 'dependencies': [ | 198 'dependencies': [ |
202 '../build/linux/system.gyp:gtk', | 199 '../build/linux/system.gyp:gtk', |
203 ], | 200 ], |
204 }], | 201 }], |
205 ['use_glib == 1', { | 202 ['use_glib == 1', { |
206 'dependencies': [ | 203 'dependencies': [ |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 'nacl/common/nacl_types.h', | 359 'nacl/common/nacl_types.h', |
363 'nacl/common/pnacl_types.cc', | 360 'nacl/common/pnacl_types.cc', |
364 'nacl/common/pnacl_types.h', | 361 'nacl/common/pnacl_types.h', |
365 ], | 362 ], |
366 'include_dirs': [ | 363 'include_dirs': [ |
367 '..', | 364 '..', |
368 ], | 365 ], |
369 }, | 366 }, |
370 ] | 367 ] |
371 } | 368 } |
OLD | NEW |