Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(352)

Side by Side Diff: mojo/edk/system/BUILD.gn

Issue 728133002: Update mojo sdk to rev e01f9a49449381a5eb430c1fd88bf2cae73ec35a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + ios gyp fixes Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/edk/mojo_edk_tests.gyp ('k') | mojo/edk/system/channel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 config("system_config") { 5 config("system_config") {
6 defines = [ 6 defines = [
7 # Ensures that dependent projects import the core functions on Windows. 7 # Ensures that dependent projects import the core functions on Windows.
8 "MOJO_USE_SYSTEM_IMPL", 8 "MOJO_USE_SYSTEM_IMPL",
9 ] 9 ]
10 } 10 }
11 11
12 component("system") { 12 component("system") {
13 output_name = "mojo_system_impl" 13 output_name = "mojo_system_impl"
14 14
15 deps = [
16 "//base",
17 "//base/third_party/dynamic_annotations",
18 "//mojo/edk/embedder",
19 ]
20
21 defines = [
22 "MOJO_SYSTEM_IMPL_IMPLEMENTATION",
23 "MOJO_SYSTEM_IMPLEMENTATION",
24 ]
25
26 all_dependent_configs = [ ":system_config" ]
27
28 sources = [ 15 sources = [
29 "channel.cc", 16 "channel.cc",
30 "channel.h", 17 "channel.h",
31 "channel_endpoint.cc", 18 "channel_endpoint.cc",
32 "channel_endpoint.h", 19 "channel_endpoint.h",
33 "channel_endpoint_id.cc", 20 "channel_endpoint_id.cc",
34 "channel_endpoint_id.h", 21 "channel_endpoint_id.h",
35 "channel_info.cc", 22 "channel_info.cc",
36 "channel_info.h", 23 "channel_info.h",
37 "constants.h", 24 "channel_manager.cc",
25 "channel_manager.h",
26 "configuration.cc",
27 "configuration.h",
38 "core.cc", 28 "core.cc",
39 "core.h", 29 "core.h",
40 "data_pipe.cc", 30 "data_pipe.cc",
41 "data_pipe.h", 31 "data_pipe.h",
42 "data_pipe_consumer_dispatcher.cc", 32 "data_pipe_consumer_dispatcher.cc",
43 "data_pipe_consumer_dispatcher.h", 33 "data_pipe_consumer_dispatcher.h",
44 "data_pipe_producer_dispatcher.cc", 34 "data_pipe_producer_dispatcher.cc",
45 "data_pipe_producer_dispatcher.h", 35 "data_pipe_producer_dispatcher.h",
46 "dispatcher.cc", 36 "dispatcher.cc",
47 "dispatcher.h", 37 "dispatcher.h",
48 "entrypoints.cc",
49 "handle_signals_state.h", 38 "handle_signals_state.h",
50 "handle_table.cc", 39 "handle_table.cc",
51 "handle_table.h", 40 "handle_table.h",
52 "local_data_pipe.cc", 41 "local_data_pipe.cc",
53 "local_data_pipe.h", 42 "local_data_pipe.h",
54 "local_message_pipe_endpoint.cc", 43 "local_message_pipe_endpoint.cc",
55 "local_message_pipe_endpoint.h", 44 "local_message_pipe_endpoint.h",
56 "mapping_table.cc", 45 "mapping_table.cc",
57 "mapping_table.h", 46 "mapping_table.h",
58 "memory.cc", 47 "memory.cc",
(...skipping 21 matching lines...) Expand all
80 "shared_buffer_dispatcher.h", 69 "shared_buffer_dispatcher.h",
81 "simple_dispatcher.cc", 70 "simple_dispatcher.cc",
82 "simple_dispatcher.h", 71 "simple_dispatcher.h",
83 "transport_data.cc", 72 "transport_data.cc",
84 "transport_data.h", 73 "transport_data.h",
85 "waiter.cc", 74 "waiter.cc",
86 "waiter.h", 75 "waiter.h",
87 "waiter_list.cc", 76 "waiter_list.cc",
88 "waiter_list.h", 77 "waiter_list.h",
89 ] 78 ]
79
80 defines = [
81 "MOJO_SYSTEM_IMPL_IMPLEMENTATION",
82 "MOJO_SYSTEM_IMPLEMENTATION",
83 ]
84
85 all_dependent_configs = [ ":system_config" ]
86
87 public_deps = [
88 "//mojo/edk/embedder",
89 "//mojo/edk/embedder:platform",
90 "//mojo/public/c/system",
91 ]
92
93 deps = [
94 "//base",
95 "//base/third_party/dynamic_annotations",
96 ]
97
98 allow_circular_includes_from = [ "//mojo/edk/embedder" ]
90 } 99 }
91 100
92 # GYP version: mojo/edk/mojo_edk.gyp:mojo_system_unittests 101 # GYP version: mojo/edk/mojo_edk.gyp:mojo_system_unittests
93 test("mojo_system_unittests") { 102 test("mojo_system_unittests") {
94 deps = [
95 ":system",
96 "//base",
97 "//mojo/edk/embedder:embedder_unittests",
98 "//mojo/edk/test:test_support",
99 "//testing/gtest",
100 ]
101
102 sources = [ 103 sources = [
103 "../test/multiprocess_test_helper_unittest.cc", 104 "../test/multiprocess_test_helper_unittest.cc",
104 "channel_endpoint_id_unittest.cc", 105 "channel_endpoint_id_unittest.cc",
105 "channel_unittest.cc", 106 "channel_unittest.cc",
106 "core_test_base.cc", 107 "core_test_base.cc",
107 "core_test_base.h", 108 "core_test_base.h",
108 "core_unittest.cc", 109 "core_unittest.cc",
109 "data_pipe_unittest.cc", 110 "data_pipe_unittest.cc",
110 "dispatcher_unittest.cc", 111 "dispatcher_unittest.cc",
111 "local_data_pipe_unittest.cc", 112 "local_data_pipe_unittest.cc",
112 "memory_unittest.cc", 113 "memory_unittest.cc",
113 "message_pipe_dispatcher_unittest.cc", 114 "message_pipe_dispatcher_unittest.cc",
114 "message_pipe_test_utils.cc", 115 "message_pipe_test_utils.cc",
115 "message_pipe_test_utils.h", 116 "message_pipe_test_utils.h",
116 "message_pipe_unittest.cc", 117 "message_pipe_unittest.cc",
117 "multiprocess_message_pipe_unittest.cc", 118 "multiprocess_message_pipe_unittest.cc",
118 "options_validation_unittest.cc", 119 "options_validation_unittest.cc",
119 "platform_handle_dispatcher_unittest.cc", 120 "platform_handle_dispatcher_unittest.cc",
120 "raw_channel_unittest.cc", 121 "raw_channel_unittest.cc",
121 "remote_message_pipe_unittest.cc", 122 "remote_message_pipe_unittest.cc",
122 "run_all_unittests.cc", 123 "run_all_unittests.cc",
123 "shared_buffer_dispatcher_unittest.cc", 124 "shared_buffer_dispatcher_unittest.cc",
124 "simple_dispatcher_unittest.cc", 125 "simple_dispatcher_unittest.cc",
126 # TODO(vtl): Factor test_utils.* into their own source set.
125 "test_utils.cc", 127 "test_utils.cc",
126 "test_utils.h", 128 "test_utils.h",
127 "waiter_list_unittest.cc", 129 "waiter_list_unittest.cc",
128 "waiter_test_utils.cc", 130 "waiter_test_utils.cc",
129 "waiter_test_utils.h", 131 "waiter_test_utils.h",
130 "waiter_unittest.cc", 132 "waiter_unittest.cc",
131 ] 133 ]
134
135 deps = [
136 ":system",
137 "//base",
138 "//base/test:test_support",
139 "//mojo/edk/embedder:embedder_unittests",
140 "//mojo/edk/test:test_support",
141 "//testing/gtest",
142 ]
143
144 allow_circular_includes_from = [ "//mojo/edk/embedder:embedder_unittests" ]
132 } 145 }
133 146
134 # GYP version: mojo/edk/mojo_edk.gyp:mojo_message_pipe_perftests 147 # GYP version: mojo/edk/mojo_edk.gyp:mojo_message_pipe_perftests
135 test("mojo_message_pipe_perftests") { 148 test("mojo_message_pipe_perftests") {
136 deps = [
137 ":system",
138 "//base",
139 "//base/test:test_support",
140 "//base/test:test_support_perf",
141 "//mojo/edk/test:test_support",
142 "//testing/gtest",
143 ]
144
145 sources = [ 149 sources = [
146 "message_pipe_perftest.cc", 150 "message_pipe_perftest.cc",
147 "message_pipe_test_utils.h", 151 "message_pipe_test_utils.h",
148 "message_pipe_test_utils.cc", 152 "message_pipe_test_utils.cc",
149 "test_utils.cc", 153 "test_utils.cc",
150 "test_utils.h", 154 "test_utils.h",
151 ] 155 ]
156
157 deps = [
158 ":system",
159 "//base",
160 "//base/test:test_support",
161 "//base/test:test_support_perf",
162 "//mojo/edk/test:test_support",
163 "//testing/gtest",
164 ]
152 } 165 }
OLDNEW
« no previous file with comments | « mojo/edk/mojo_edk_tests.gyp ('k') | mojo/edk/system/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698