OLD | NEW |
| (Empty) |
1 # Copyright (c) 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 # The dictionary here is defined for use by the "mojo_system_impl" and | |
6 # "mojo_system_impl_win64" targets in third_party/mojo/mojo_edk.gyp. It's define
d in this | |
7 # .gypi file so the sections aren't duplicated. | |
8 { | |
9 'defines': [ | |
10 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', | |
11 'MOJO_SYSTEM_IMPLEMENTATION', | |
12 'MOJO_USE_SYSTEM_IMPL', | |
13 ], | |
14 'sources': [ | |
15 'src/mojo/edk/embedder/configuration.h', | |
16 'src/mojo/edk/embedder/channel_info_forward.h', | |
17 'src/mojo/edk/embedder/embedder.cc', | |
18 'src/mojo/edk/embedder/embedder.h', | |
19 'src/mojo/edk/embedder/embedder_internal.h', | |
20 'src/mojo/edk/embedder/entrypoints.cc', | |
21 'src/mojo/edk/embedder/platform_channel_pair.cc', | |
22 'src/mojo/edk/embedder/platform_channel_pair.h', | |
23 'src/mojo/edk/embedder/platform_channel_pair_posix.cc', | |
24 'src/mojo/edk/embedder/platform_channel_pair_win.cc', | |
25 'src/mojo/edk/embedder/platform_channel_utils_posix.cc', | |
26 'src/mojo/edk/embedder/platform_channel_utils_posix.h', | |
27 'src/mojo/edk/embedder/platform_handle.cc', | |
28 'src/mojo/edk/embedder/platform_handle.h', | |
29 'src/mojo/edk/embedder/platform_handle_utils.h', | |
30 'src/mojo/edk/embedder/platform_handle_utils_posix.cc', | |
31 'src/mojo/edk/embedder/platform_handle_utils_win.cc', | |
32 'src/mojo/edk/embedder/platform_handle_vector.h', | |
33 'src/mojo/edk/embedder/platform_shared_buffer.h', | |
34 'src/mojo/edk/embedder/platform_support.h', | |
35 'src/mojo/edk/embedder/scoped_platform_handle.h', | |
36 'src/mojo/edk/embedder/simple_platform_shared_buffer.cc', | |
37 'src/mojo/edk/embedder/simple_platform_shared_buffer.h', | |
38 'src/mojo/edk/embedder/simple_platform_shared_buffer_android.cc', | |
39 'src/mojo/edk/embedder/simple_platform_shared_buffer_posix.cc', | |
40 'src/mojo/edk/embedder/simple_platform_shared_buffer_win.cc', | |
41 'src/mojo/edk/embedder/simple_platform_support.cc', | |
42 'src/mojo/edk/embedder/simple_platform_support.h', | |
43 'src/mojo/edk/system/awakable.h', | |
44 'src/mojo/edk/system/awakable_list.cc', | |
45 'src/mojo/edk/system/awakable_list.h', | |
46 'src/mojo/edk/system/async_waiter.cc', | |
47 'src/mojo/edk/system/async_waiter.h', | |
48 'src/mojo/edk/system/channel.cc', | |
49 'src/mojo/edk/system/channel.h', | |
50 'src/mojo/edk/system/channel_endpoint.cc', | |
51 'src/mojo/edk/system/channel_endpoint.h', | |
52 'src/mojo/edk/system/channel_endpoint_client.h', | |
53 'src/mojo/edk/system/channel_endpoint_id.cc', | |
54 'src/mojo/edk/system/channel_endpoint_id.h', | |
55 'src/mojo/edk/system/channel_id.h', | |
56 'src/mojo/edk/system/channel_manager.cc', | |
57 'src/mojo/edk/system/channel_manager.h', | |
58 'src/mojo/edk/system/configuration.cc', | |
59 'src/mojo/edk/system/configuration.h', | |
60 'src/mojo/edk/system/connection_identifier.h', | |
61 'src/mojo/edk/system/connection_manager.cc', | |
62 'src/mojo/edk/system/connection_manager.h', | |
63 'src/mojo/edk/system/connection_manager_messages.h', | |
64 'src/mojo/edk/system/core.cc', | |
65 'src/mojo/edk/system/core.h', | |
66 'src/mojo/edk/system/data_pipe.cc', | |
67 'src/mojo/edk/system/data_pipe.h', | |
68 'src/mojo/edk/system/data_pipe_consumer_dispatcher.cc', | |
69 'src/mojo/edk/system/data_pipe_consumer_dispatcher.h', | |
70 'src/mojo/edk/system/data_pipe_impl.cc', | |
71 'src/mojo/edk/system/data_pipe_impl.h', | |
72 'src/mojo/edk/system/data_pipe_producer_dispatcher.cc', | |
73 'src/mojo/edk/system/data_pipe_producer_dispatcher.h', | |
74 'src/mojo/edk/system/dispatcher.cc', | |
75 'src/mojo/edk/system/dispatcher.h', | |
76 'src/mojo/edk/system/endpoint_relayer.cc', | |
77 'src/mojo/edk/system/endpoint_relayer.h', | |
78 'src/mojo/edk/system/handle_signals_state.h', | |
79 'src/mojo/edk/system/handle_table.cc', | |
80 'src/mojo/edk/system/handle_table.h', | |
81 'src/mojo/edk/system/incoming_endpoint.cc', | |
82 'src/mojo/edk/system/incoming_endpoint.h', | |
83 'src/mojo/edk/system/ipc_support.cc', | |
84 'src/mojo/edk/system/ipc_support.h', | |
85 'src/mojo/edk/system/local_data_pipe_impl.cc', | |
86 'src/mojo/edk/system/local_data_pipe_impl.h', | |
87 'src/mojo/edk/system/local_message_pipe_endpoint.cc', | |
88 'src/mojo/edk/system/local_message_pipe_endpoint.h', | |
89 'src/mojo/edk/system/mapping_table.cc', | |
90 'src/mojo/edk/system/mapping_table.h', | |
91 'src/mojo/edk/system/master_connection_manager.cc', | |
92 'src/mojo/edk/system/master_connection_manager.h', | |
93 'src/mojo/edk/system/memory.cc', | |
94 'src/mojo/edk/system/memory.h', | |
95 'src/mojo/edk/system/message_in_transit.cc', | |
96 'src/mojo/edk/system/message_in_transit.h', | |
97 'src/mojo/edk/system/message_in_transit_queue.cc', | |
98 'src/mojo/edk/system/message_in_transit_queue.h', | |
99 'src/mojo/edk/system/message_pipe.cc', | |
100 'src/mojo/edk/system/message_pipe.h', | |
101 'src/mojo/edk/system/message_pipe_dispatcher.cc', | |
102 'src/mojo/edk/system/message_pipe_dispatcher.h', | |
103 'src/mojo/edk/system/message_pipe_endpoint.cc', | |
104 'src/mojo/edk/system/message_pipe_endpoint.h', | |
105 'src/mojo/edk/system/mutex.cc', | |
106 'src/mojo/edk/system/mutex.h', | |
107 'src/mojo/edk/system/options_validation.h', | |
108 'src/mojo/edk/system/platform_handle_dispatcher.cc', | |
109 'src/mojo/edk/system/platform_handle_dispatcher.h', | |
110 'src/mojo/edk/system/process_identifier.h', | |
111 'src/mojo/edk/system/proxy_message_pipe_endpoint.cc', | |
112 'src/mojo/edk/system/proxy_message_pipe_endpoint.h', | |
113 'src/mojo/edk/system/remote_consumer_data_pipe_impl.cc', | |
114 'src/mojo/edk/system/remote_consumer_data_pipe_impl.h', | |
115 'src/mojo/edk/system/remote_data_pipe_ack.h', | |
116 'src/mojo/edk/system/remote_producer_data_pipe_impl.cc', | |
117 'src/mojo/edk/system/remote_producer_data_pipe_impl.h', | |
118 'src/mojo/edk/system/raw_channel.cc', | |
119 'src/mojo/edk/system/raw_channel.h', | |
120 'src/mojo/edk/system/raw_channel_posix.cc', | |
121 'src/mojo/edk/system/raw_channel_win.cc', | |
122 'src/mojo/edk/system/shared_buffer_dispatcher.cc', | |
123 'src/mojo/edk/system/shared_buffer_dispatcher.h', | |
124 'src/mojo/edk/system/simple_dispatcher.cc', | |
125 'src/mojo/edk/system/simple_dispatcher.h', | |
126 'src/mojo/edk/system/slave_connection_manager.cc', | |
127 'src/mojo/edk/system/slave_connection_manager.h', | |
128 'src/mojo/edk/system/thread_annotations.h', | |
129 'src/mojo/edk/system/transport_data.cc', | |
130 'src/mojo/edk/system/transport_data.h', | |
131 'src/mojo/edk/system/unique_identifier.cc', | |
132 'src/mojo/edk/system/unique_identifier.h', | |
133 'src/mojo/edk/system/wait_set_dispatcher.cc', | |
134 'src/mojo/edk/system/wait_set_dispatcher.h', | |
135 'src/mojo/edk/system/waiter.cc', | |
136 'src/mojo/edk/system/waiter.h', | |
137 # Test-only code: | |
138 # TODO(vtl): It's a little unfortunate that these end up in the same | |
139 # component as non-test-only code. In the static build, this code | |
140 # should hopefully be dead-stripped. | |
141 'src/mojo/edk/embedder/test_embedder.cc', | |
142 'src/mojo/edk/embedder/test_embedder.h', | |
143 ], | |
144 'all_dependent_settings': { | |
145 # Ensures that dependent projects import the core functions on Windows. | |
146 'defines': ['MOJO_USE_SYSTEM_IMPL'], | |
147 }, | |
148 'conditions': [ | |
149 ['OS=="android"', { | |
150 'dependencies': [ | |
151 '<(DEPTH)/third_party/ashmem/ashmem.gyp:ashmem', | |
152 ], | |
153 }], | |
154 ], | |
155 } | |
OLD | NEW |