OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # | |
3 # 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 |
4 # found in the LICENSE file. | 3 # found in the LICENSE file. |
5 | 4 |
6 { | 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
7 'includes': [ | 9 'includes': [ |
8 '../build/common_untrusted.gypi', | 10 '../build/common_untrusted.gypi', |
9 ], | 11 ], |
10 'conditions': [ | 12 'conditions': [ |
11 ['disable_nacl==0 and disable_nacl_untrusted==0', { | 13 ['disable_nacl==0 and disable_nacl_untrusted==0', { |
12 'targets': [ | 14 'targets': [ |
13 { | 15 { |
14 'target_name': 'tracing_nacl', | 16 'target_name': 'child_process_sandbox_support_nacl_nonsfi', |
15 'type': 'none', | 17 'type': 'none', |
16 'defines!': ['CONTENT_IMPLEMENTATION'], | |
17 'dependencies': [ | |
18 '../base/base_nacl.gyp:base_nacl', | |
19 '../base/base_nacl.gyp:base_nacl_nonsfi', | |
20 '../ipc/ipc_nacl.gyp:ipc_nacl', | |
21 '../ipc/ipc_nacl.gyp:ipc_nacl_nonsfi', | |
22 '../native_client/tools.gyp:prep_toolchain', | |
23 ], | |
24 'include_dirs': [ | |
25 '..', | |
26 ], | |
27 'variables': { | 18 'variables': { |
28 'nacl_untrusted_build': 1, | 19 'nacl_untrusted_build': 1, |
29 'nlib_target': 'libtracing_nacl.a', | 20 'nlib_target': 'libchild_process_sandbox_support_nacl_nonsfi.a', |
30 'build_glibc': 0, | 21 'build_glibc': 0, |
31 'build_newlib': 0, | 22 'build_newlib': 0, |
32 'build_irt': 1, | 23 'build_irt': 0, |
33 'build_pnacl_newlib': 0, | 24 'build_pnacl_newlib': 0, |
34 'build_nonsfi_helper': 1, | 25 'build_nonsfi_helper': 1, |
| 26 |
| 27 'sources': [ |
| 28 # For SendZygoteChildPing(). |
| 29 'common/child_process_sandbox_support_impl_linux.cc', |
| 30 'public/common/child_process_sandbox_support_linux.h', |
| 31 'public/common/content_descriptors.h', |
| 32 'public/common/zygote_fork_delegate_linux.h', |
| 33 |
| 34 # TODO(hidehiko): Add sandbox code. |
| 35 ], |
35 }, | 36 }, |
36 'sources': [ | 37 'dependencies': [ |
37 'tracing/child_trace_message_filter.cc', | 38 '../base/base_nacl.gyp:base_nacl_nonsfi', |
38 'tracing/child_trace_message_filter.h', | 39 '../native_client/tools.gyp:prep_toolchain', |
39 'tracing/tracing_messages.cc', | |
40 'tracing/tracing_messages.h', | |
41 ], | 40 ], |
42 }, | 41 }, |
43 ], | 42 ], |
44 }], | 43 }], |
45 ], | 44 ], |
46 } | 45 } |
OLD | NEW |