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 mojo/edk/mojo_edk.gyp. It's defined in | |
7 # this .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 'embedder/configuration.h', | |
16 'embedder/channel_info_forward.h', | |
17 'embedder/channel_init.cc', | |
18 'embedder/channel_init.h', | |
19 'embedder/embedder.cc', | |
20 'embedder/embedder.h', | |
21 'embedder/embedder_internal.h', | |
22 'embedder/entrypoints.cc', | |
23 'embedder/platform_channel_pair.cc', | |
24 'embedder/platform_channel_pair.h', | |
25 'embedder/platform_channel_pair_posix.cc', | |
26 'embedder/platform_channel_pair_win.cc', | |
27 'embedder/platform_channel_utils_posix.cc', | |
28 'embedder/platform_channel_utils_posix.h', | |
29 'embedder/platform_handle.cc', | |
30 'embedder/platform_handle.h', | |
31 'embedder/platform_handle_utils.h', | |
32 'embedder/platform_handle_utils_posix.cc', | |
33 'embedder/platform_handle_utils_win.cc', | |
34 'embedder/platform_handle_vector.h', | |
35 'embedder/platform_shared_buffer.h', | |
36 'embedder/platform_support.h', | |
37 'embedder/scoped_platform_handle.h', | |
38 'embedder/simple_platform_shared_buffer.cc', | |
39 'embedder/simple_platform_shared_buffer.h', | |
40 'embedder/simple_platform_shared_buffer_android.cc', | |
41 'embedder/simple_platform_shared_buffer_posix.cc', | |
42 'embedder/simple_platform_shared_buffer_win.cc', | |
43 'embedder/simple_platform_support.cc', | |
44 'embedder/simple_platform_support.h', | |
45 'system/awakable.h', | |
46 'system/awakable_list.cc', | |
47 'system/awakable_list.h', | |
48 'system/channel.cc', | |
49 'system/channel.h', | |
50 'system/channel_endpoint.cc', | |
51 'system/channel_endpoint.h', | |
52 'system/channel_endpoint_client.h', | |
53 'system/channel_endpoint_id.cc', | |
54 'system/channel_endpoint_id.h', | |
55 'system/channel_info.cc', | |
56 'system/channel_info.h', | |
57 'system/channel_manager.cc', | |
58 'system/channel_manager.h', | |
59 'system/configuration.cc', | |
60 'system/configuration.h', | |
61 'system/core.cc', | |
62 'system/core.h', | |
63 'system/data_pipe.cc', | |
64 'system/data_pipe.h', | |
65 'system/data_pipe_consumer_dispatcher.cc', | |
66 'system/data_pipe_consumer_dispatcher.h', | |
67 'system/data_pipe_producer_dispatcher.cc', | |
68 'system/data_pipe_producer_dispatcher.h', | |
69 'system/dispatcher.cc', | |
70 'system/dispatcher.h', | |
71 'system/endpoint_relayer.cc', | |
72 'system/endpoint_relayer.h', | |
73 'system/handle_signals_state.h', | |
74 'system/handle_table.cc', | |
75 'system/handle_table.h', | |
76 'system/incoming_endpoint.cc', | |
77 'system/incoming_endpoint.h', | |
78 'system/local_data_pipe.cc', | |
79 'system/local_data_pipe.h', | |
80 'system/local_message_pipe_endpoint.cc', | |
81 'system/local_message_pipe_endpoint.h', | |
82 'system/mapping_table.cc', | |
83 'system/mapping_table.h', | |
84 'system/memory.cc', | |
85 'system/memory.h', | |
86 'system/message_in_transit.cc', | |
87 'system/message_in_transit.h', | |
88 'system/message_in_transit_queue.cc', | |
89 'system/message_in_transit_queue.h', | |
90 'system/message_pipe.cc', | |
91 'system/message_pipe.h', | |
92 'system/message_pipe_dispatcher.cc', | |
93 'system/message_pipe_dispatcher.h', | |
94 'system/message_pipe_endpoint.cc', | |
95 'system/message_pipe_endpoint.h', | |
96 'system/options_validation.h', | |
97 'system/platform_handle_dispatcher.cc', | |
98 'system/platform_handle_dispatcher.h', | |
99 'system/proxy_message_pipe_endpoint.cc', | |
100 'system/proxy_message_pipe_endpoint.h', | |
101 'system/raw_channel.cc', | |
102 'system/raw_channel.h', | |
103 'system/raw_channel_posix.cc', | |
104 'system/raw_channel_win.cc', | |
105 'system/shared_buffer_dispatcher.cc', | |
106 'system/shared_buffer_dispatcher.h', | |
107 'system/simple_dispatcher.cc', | |
108 'system/simple_dispatcher.h', | |
109 'system/transport_data.cc', | |
110 'system/transport_data.h', | |
111 'system/waiter.cc', | |
112 'system/waiter.h', | |
113 # Test-only code: | |
114 # TODO(vtl): It's a little unfortunate that these end up in the same | |
115 # component as non-test-only code. In the static build, this code | |
116 # should hopefully be dead-stripped. | |
117 'embedder/test_embedder.cc', | |
118 'embedder/test_embedder.h', | |
119 ], | |
120 'all_dependent_settings': { | |
121 # Ensures that dependent projects import the core functions on Windows. | |
122 'defines': ['MOJO_USE_SYSTEM_IMPL'], | |
123 }, | |
124 'conditions': [ | |
125 ['OS=="android"', { | |
126 'dependencies': [ | |
127 '<(DEPTH)/third_party/ashmem/ashmem.gyp:ashmem', | |
128 ], | |
129 }], | |
130 ], | |
131 } | |
OLD | NEW |