OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 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 'target_defaults': { | |
7 'variables': { | |
8 'ipc_target': 0, | |
9 }, | |
10 'target_conditions': [ | |
11 # This part is shared between the targets defined below. | |
12 ['ipc_target==1', { | |
13 'sources': [ | |
14 'attachment_broker.cc', | |
15 'attachment_broker.h', | |
16 'attachment_broker_messages.h', | |
17 'attachment_broker_privileged.cc', | |
18 'attachment_broker_privileged.h', | |
19 'attachment_broker_privileged_mac.cc', | |
20 'attachment_broker_privileged_mac.h', | |
21 'attachment_broker_privileged_win.cc', | |
22 'attachment_broker_privileged_win.h', | |
23 'attachment_broker_unprivileged.cc', | |
24 'attachment_broker_unprivileged.h', | |
25 'attachment_broker_unprivileged_mac.cc', | |
26 'attachment_broker_unprivileged_mac.h', | |
27 'attachment_broker_unprivileged_win.cc', | |
28 'attachment_broker_unprivileged_win.h', | |
29 'brokerable_attachment.cc', | |
30 'brokerable_attachment.h', | |
31 'brokerable_attachment_mac.cc', | |
32 'brokerable_attachment_win.cc', | |
33 'export_template.h', | |
34 'handle_attachment_win.cc', | |
35 'handle_attachment_win.h', | |
36 'handle_win.cc', | |
37 'handle_win.h', | |
38 'ipc_channel.cc', | |
39 'ipc_channel.h', | |
40 'ipc_channel_factory.cc', | |
41 'ipc_channel_factory.h', | |
42 'ipc_channel_common.cc', | |
43 'ipc_channel_handle.h', | |
44 'ipc_channel_mojo.cc', | |
45 'ipc_channel_mojo.h', | |
46 'ipc_channel_nacl.cc', | |
47 'ipc_channel_nacl.h', | |
48 'ipc_channel_posix.cc', | |
49 'ipc_channel_posix.h', | |
50 'ipc_channel_proxy.cc', | |
51 'ipc_channel_proxy.h', | |
52 'ipc_channel_reader.cc', | |
53 'ipc_channel_reader.h', | |
54 'ipc_channel_win.cc', | |
55 'ipc_channel_win.h', | |
56 'ipc_descriptors.h', | |
57 'ipc_endpoint.cc', | |
58 'ipc_endpoint.h', | |
59 'ipc_export.h', | |
60 'ipc_listener.h', | |
61 'ipc_logging.cc', | |
62 'ipc_logging.h', | |
63 'ipc_message.cc', | |
64 'ipc_message.h', | |
65 'ipc_message_attachment.cc', | |
66 'ipc_message_attachment.h', | |
67 'ipc_message_attachment_set.cc', | |
68 'ipc_message_attachment_set.h', | |
69 'ipc_message_generator.cc', | |
70 'ipc_message_generator.h', | |
71 'ipc_message_macros.h', | |
72 'ipc_message_pipe_reader.cc', | |
73 'ipc_message_pipe_reader.h', | |
74 'ipc_message_start.h', | |
75 'ipc_message_templates.h', | |
76 'ipc_message_templates_impl.h', | |
77 'ipc_message_utils.cc', | |
78 'ipc_message_utils.h', | |
79 'ipc_mojo_bootstrap.cc', | |
80 'ipc_mojo_bootstrap.h', | |
81 'ipc_mojo_handle_attachment.cc', | |
82 'ipc_mojo_handle_attachment.h', | |
83 'ipc_mojo_message_helper.cc', | |
84 'ipc_mojo_message_helper.h', | |
85 'ipc_mojo_param_traits.cc', | |
86 'ipc_mojo_param_traits.h', | |
87 'ipc_param_traits.h', | |
88 'ipc_platform_file.cc', | |
89 'ipc_platform_file.h', | |
90 'ipc_platform_file_attachment_posix.cc', | |
91 'ipc_platform_file_attachment_posix.h', | |
92 'ipc_sender.h', | |
93 'ipc_switches.cc', | |
94 'ipc_switches.h', | |
95 'ipc_sync_channel.cc', | |
96 'ipc_sync_channel.h', | |
97 'ipc_sync_message.cc', | |
98 'ipc_sync_message.h', | |
99 'ipc_sync_message_filter.cc', | |
100 'ipc_sync_message_filter.h', | |
101 'mach_port_attachment_mac.cc', | |
102 'mach_port_attachment_mac.h', | |
103 'mach_port_mac.cc', | |
104 'mach_port_mac.h', | |
105 'message_filter.cc', | |
106 'message_filter.h', | |
107 'message_filter_router.cc', | |
108 'message_filter_router.h', | |
109 'message_router.cc', | |
110 'message_router.h', | |
111 'mojo_event.cc', | |
112 'mojo_event.h', | |
113 'param_traits_log_macros.h', | |
114 'param_traits_macros.h', | |
115 'param_traits_read_macros.h', | |
116 'param_traits_write_macros.h', | |
117 'placeholder_brokerable_attachment.cc', | |
118 'placeholder_brokerable_attachment.h', | |
119 'struct_constructor_macros.h', | |
120 'struct_destructor_macros.h', | |
121 'unix_domain_socket_util.cc', | |
122 'unix_domain_socket_util.h', | |
123 ], | |
124 'defines': [ | |
125 'IPC_IMPLEMENTATION', | |
126 ], | |
127 'include_dirs': [ | |
128 '..', | |
129 ], | |
130 'target_conditions': [ | |
131 ['>(nacl_untrusted_build)==1', { | |
132 'sources!': [ | |
133 'ipc_channel.cc', | |
134 'ipc_channel_posix.cc', | |
135 'unix_domain_socket_util.cc', | |
136 ], | |
137 }], | |
138 ['OS == "win" or OS == "ios"', { | |
139 'sources!': [ | |
140 'unix_domain_socket_util.cc', | |
141 ], | |
142 }], | |
143 ], | |
144 }], | |
145 ], | |
146 }, | |
147 } | |
OLD | NEW |