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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 # Allow .cc files to know if they're being compiled as part | 184 # Allow .cc files to know if they're being compiled as part |
185 # of nacl_helper. | 185 # of nacl_helper. |
186 'IN_NACL_HELPER=1', | 186 'IN_NACL_HELPER=1', |
187 ], | 187 ], |
188 'sources': [ | 188 'sources': [ |
189 'nacl/loader/nacl_sandbox_linux.cc', | 189 'nacl/loader/nacl_sandbox_linux.cc', |
190 'nacl/loader/nacl_helper_linux.cc', | 190 'nacl/loader/nacl_helper_linux.cc', |
191 'nacl/loader/nacl_helper_linux.h', | 191 'nacl/loader/nacl_helper_linux.h', |
192 '../base/posix/unix_domain_socket_linux.cc', | 192 '../base/posix/unix_domain_socket_linux.cc', |
193 '../content/common/child_process_sandbox_support_impl_shm_linux.
cc', | 193 '../content/common/child_process_sandbox_support_impl_shm_linux.
cc', |
194 '../content/common/sandbox_linux/sandbox_bpf_base_policy_linux.c
c', | |
195 '../content/common/sandbox_linux/sandbox_init_linux.cc', | |
196 '../content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc', | 194 '../content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc', |
197 '../content/public/common/content_switches.cc', | 195 '../content/public/common/content_switches.cc', |
198 ], | 196 ], |
199 'conditions': [ | 197 'conditions': [ |
200 ['toolkit_uses_gtk == 1', { | 198 ['toolkit_uses_gtk == 1', { |
201 'dependencies': [ | 199 'dependencies': [ |
202 '../build/linux/system.gyp:gtk', | 200 '../build/linux/system.gyp:gtk', |
203 ], | 201 ], |
204 }], | 202 }], |
205 ['use_glib == 1', { | 203 ['use_glib == 1', { |
206 'dependencies': [ | 204 'dependencies': [ |
207 '../build/linux/system.gyp:glib', | 205 '../build/linux/system.gyp:glib', |
208 ], | 206 ], |
209 }], | 207 }], |
210 ['os_posix == 1 and OS != "mac"', { | 208 ['os_posix == 1 and OS != "mac"', { |
211 'conditions': [ | 209 'conditions': [ |
212 ['linux_use_tcmalloc==1', { | 210 ['linux_use_tcmalloc==1', { |
213 'dependencies': [ | 211 'dependencies': [ |
214 '../base/allocator/allocator.gyp:allocator', | 212 '../base/allocator/allocator.gyp:allocator', |
215 ], | 213 ], |
216 }], | 214 }], |
217 ], | 215 ], |
218 }], | 216 }], |
| 217 ['use_seccomp_bpf == 1', { |
| 218 'sources': [ |
| 219 '../content/common/sandbox_linux/sandbox_bpf_base_policy_lin
ux.cc', |
| 220 '../content/common/sandbox_linux/sandbox_init_linux.cc', |
| 221 ], |
| 222 'defines': ['USE_SECCOMP_BPF'], |
| 223 }], |
219 ], | 224 ], |
220 'cflags': ['-fPIE'], | 225 'cflags': ['-fPIE'], |
221 'link_settings': { | 226 'link_settings': { |
222 'ldflags': ['-pie'], | 227 'ldflags': ['-pie'], |
223 }, | 228 }, |
224 }, | 229 }, |
225 ], | 230 ], |
226 }], | 231 }], |
227 ['OS=="win" and target_arch=="ia32"', { | 232 ['OS=="win" and target_arch=="ia32"', { |
228 'targets': [ | 233 'targets': [ |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 'nacl/common/nacl_types.h', | 367 'nacl/common/nacl_types.h', |
363 'nacl/common/pnacl_types.cc', | 368 'nacl/common/pnacl_types.cc', |
364 'nacl/common/pnacl_types.h', | 369 'nacl/common/pnacl_types.h', |
365 ], | 370 ], |
366 'include_dirs': [ | 371 'include_dirs': [ |
367 '..', | 372 '..', |
368 ], | 373 ], |
369 }, | 374 }, |
370 ] | 375 ] |
371 } | 376 } |
OLD | NEW |