OLD | NEW |
| (Empty) |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'includes': [ | |
10 '../build/common_untrusted.gypi', | |
11 'ipc.gypi', | |
12 ], | |
13 'conditions': [ | |
14 ['disable_nacl==0 and disable_nacl_untrusted==0', { | |
15 'targets': [ | |
16 { | |
17 'target_name': 'ipc_nacl', | |
18 'type': 'none', | |
19 'variables': { | |
20 'ipc_target': 1, | |
21 'nacl_untrusted_build': 1, | |
22 'nlib_target': 'libipc_nacl.a', | |
23 'build_glibc': 0, | |
24 'build_newlib': 0, | |
25 'build_irt': 1, | |
26 }, | |
27 'dependencies': [ | |
28 'ipc.gyp:ipc_interfaces_mojom', | |
29 '../base/base_nacl.gyp:base_nacl', | |
30 '../mojo/mojo_public.gyp:mojo_interface_bindings_generation', | |
31 '../mojo/mojo_public_nacl.gyp:mojo_cpp_bindings_nacl', | |
32 '../mojo/mojo_public_nacl.gyp:mojo_cpp_system_nacl', | |
33 ], | |
34 }, | |
35 { | |
36 'target_name': 'ipc_nacl_nonsfi', | |
37 'type': 'none', | |
38 'variables': { | |
39 'ipc_target': 1, | |
40 'nacl_untrusted_build': 1, | |
41 'nlib_target': 'libipc_nacl_nonsfi.a', | |
42 'build_glibc': 0, | |
43 'build_newlib': 0, | |
44 'build_irt': 0, | |
45 'build_pnacl_newlib': 0, | |
46 'build_nonsfi_helper': 1, | |
47 | |
48 # Use linux IPC channel implementation for nacl_helper_nonsfi, | |
49 # instead of NaCl's IPC implementation (ipc_channel_nacl.cc), | |
50 # because nacl_helper_nonsfi will be running directly on Linux. | |
51 # ipc_channel_nacl.cc is excluded below. | |
52 'sources': [ | |
53 'ipc_channel.cc', | |
54 'ipc_channel_posix.cc', | |
55 ], | |
56 }, | |
57 'sources!': [ | |
58 'ipc_channel_nacl.cc', | |
59 ], | |
60 'dependencies': [ | |
61 'ipc.gyp:ipc_interfaces_mojom', | |
62 '../base/base_nacl.gyp:base_nacl_nonsfi', | |
63 '../mojo/mojo_public.gyp:mojo_interface_bindings_generation', | |
64 '../mojo/mojo_public_nacl.gyp:mojo_cpp_bindings_nacl', | |
65 '../mojo/mojo_public_nacl.gyp:mojo_cpp_system_nacl', | |
66 ], | |
67 }, | |
68 ], | |
69 }], | |
70 ], | |
71 } | |
OLD | NEW |