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
|
# 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 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': [
'edk/embedder/configuration.h',
'edk/embedder/channel_info_forward.h',
'edk/embedder/channel_init.cc',
'edk/embedder/channel_init.h',
'edk/embedder/embedder.cc',
'edk/embedder/embedder.h',
'edk/embedder/embedder_internal.h',
'edk/embedder/entrypoints.cc',
'edk/embedder/platform_channel_pair.cc',
'edk/embedder/platform_channel_pair.h',
'edk/embedder/platform_channel_pair_posix.cc',
'edk/embedder/platform_channel_pair_win.cc',
'edk/embedder/platform_channel_utils_posix.cc',
'edk/embedder/platform_channel_utils_posix.h',
'edk/embedder/platform_handle.cc',
'edk/embedder/platform_handle.h',
'edk/embedder/platform_handle_utils.h',
'edk/embedder/platform_handle_utils_posix.cc',
'edk/embedder/platform_handle_utils_win.cc',
'edk/embedder/platform_handle_vector.h',
'edk/embedder/platform_shared_buffer.h',
'edk/embedder/platform_support.h',
'edk/embedder/scoped_platform_handle.h',
'edk/embedder/simple_platform_shared_buffer.cc',
'edk/embedder/simple_platform_shared_buffer.h',
'edk/embedder/simple_platform_shared_buffer_android.cc',
'edk/embedder/simple_platform_shared_buffer_posix.cc',
'edk/embedder/simple_platform_shared_buffer_win.cc',
'edk/embedder/simple_platform_support.cc',
'edk/embedder/simple_platform_support.h',
'edk/system/awakable.h',
'edk/system/awakable_list.cc',
'edk/system/awakable_list.h',
'edk/system/async_waiter.cc',
'edk/system/async_waiter.h',
'edk/system/channel.cc',
'edk/system/channel.h',
'edk/system/channel_endpoint.cc',
'edk/system/channel_endpoint.h',
'edk/system/channel_endpoint_client.h',
'edk/system/channel_endpoint_id.cc',
'edk/system/channel_endpoint_id.h',
'edk/system/channel_info.cc',
'edk/system/channel_info.h',
'edk/system/channel_manager.cc',
'edk/system/channel_manager.h',
'edk/system/configuration.cc',
'edk/system/configuration.h',
'edk/system/core.cc',
'edk/system/core.h',
'edk/system/data_pipe.cc',
'edk/system/data_pipe.h',
'edk/system/data_pipe_consumer_dispatcher.cc',
'edk/system/data_pipe_consumer_dispatcher.h',
'edk/system/data_pipe_producer_dispatcher.cc',
'edk/system/data_pipe_producer_dispatcher.h',
'edk/system/dispatcher.cc',
'edk/system/dispatcher.h',
'edk/system/endpoint_relayer.cc',
'edk/system/endpoint_relayer.h',
'edk/system/handle_signals_state.h',
'edk/system/handle_table.cc',
'edk/system/handle_table.h',
'edk/system/incoming_endpoint.cc',
'edk/system/incoming_endpoint.h',
'edk/system/local_data_pipe.cc',
'edk/system/local_data_pipe.h',
'edk/system/local_message_pipe_endpoint.cc',
'edk/system/local_message_pipe_endpoint.h',
'edk/system/mapping_table.cc',
'edk/system/mapping_table.h',
'edk/system/memory.cc',
'edk/system/memory.h',
'edk/system/message_in_transit.cc',
'edk/system/message_in_transit.h',
'edk/system/message_in_transit_queue.cc',
'edk/system/message_in_transit_queue.h',
'edk/system/message_pipe.cc',
'edk/system/message_pipe.h',
'edk/system/message_pipe_dispatcher.cc',
'edk/system/message_pipe_dispatcher.h',
'edk/system/message_pipe_endpoint.cc',
'edk/system/message_pipe_endpoint.h',
'edk/system/options_validation.h',
'edk/system/platform_handle_dispatcher.cc',
'edk/system/platform_handle_dispatcher.h',
'edk/system/proxy_message_pipe_endpoint.cc',
'edk/system/proxy_message_pipe_endpoint.h',
'edk/system/raw_channel.cc',
'edk/system/raw_channel.h',
'edk/system/raw_channel_posix.cc',
'edk/system/raw_channel_win.cc',
'edk/system/shared_buffer_dispatcher.cc',
'edk/system/shared_buffer_dispatcher.h',
'edk/system/simple_dispatcher.cc',
'edk/system/simple_dispatcher.h',
'edk/system/transport_data.cc',
'edk/system/transport_data.h',
'edk/system/waiter.cc',
'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.
'edk/embedder/test_embedder.cc',
'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',
],
}],
],
}
|