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