OLD | NEW |
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 # Essential components (and their tests) that are needed to build | 5 # Essential components (and their tests) that are needed to build |
6 # Chrome should be here. Other components that are useful only in | 6 # Chrome should be here. Other components that are useful only in |
7 # Mojo land like mojo_shell should be in mojo.gyp. | 7 # Mojo land like mojo_shell should be in mojo.gyp. |
8 { | 8 { |
9 'includes': [ | 9 'includes': [ |
10 'mojo_variables.gypi', | 10 'mojo_variables.gypi', |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 'mojo_public.gyp:mojo_public_test_utils', | 113 'mojo_public.gyp:mojo_public_test_utils', |
114 'mojo_url_type_converters', | 114 'mojo_url_type_converters', |
115 ], | 115 ], |
116 'sources': [ | 116 'sources': [ |
117 'common/common_type_converters_unittest.cc', | 117 'common/common_type_converters_unittest.cc', |
118 'message_pump/handle_watcher_unittest.cc', | 118 'message_pump/handle_watcher_unittest.cc', |
119 'message_pump/message_pump_mojo_unittest.cc', | 119 'message_pump/message_pump_mojo_unittest.cc', |
120 ], | 120 ], |
121 }, | 121 }, |
122 { | 122 { |
123 'target_name': 'mojo_application_bindings_mojom', | |
124 'type': 'none', | |
125 'variables': { | |
126 'mojom_files': [ | |
127 'services/catalog/public/interfaces/catalog.mojom', | |
128 'services/catalog/public/interfaces/resolver.mojom', | |
129 '../services/shell/public/interfaces/capabilities.mojom', | |
130 '../services/shell/public/interfaces/connector.mojom', | |
131 '../services/shell/public/interfaces/interface_provider.mojom', | |
132 '../services/shell/public/interfaces/shell.mojom', | |
133 '../services/shell/public/interfaces/shell_client.mojom', | |
134 '../services/shell/public/interfaces/shell_client_factory.mojom', | |
135 '../services/shell/public/interfaces/shell_resolver.mojom', | |
136 ], | |
137 }, | |
138 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], | |
139 }, | |
140 { | |
141 # GN version: //services/shell/public/cpp | |
142 'target_name': 'mojo_application_base', | |
143 'type': 'static_library', | |
144 'sources': [ | |
145 '../services/shell/public/cpp/application_runner.h', | |
146 '../services/shell/public/cpp/capabilities.h', | |
147 '../services/shell/public/cpp/connect.h', | |
148 '../services/shell/public/cpp/connection.h', | |
149 '../services/shell/public/cpp/connector.h', | |
150 '../services/shell/public/cpp/identity.h', | |
151 '../services/shell/public/cpp/initialize_base_and_icu.cc', | |
152 '../services/shell/public/cpp/initialize_base_and_icu.h', | |
153 '../services/shell/public/cpp/interface_binder.h', | |
154 '../services/shell/public/cpp/interface_factory.h', | |
155 '../services/shell/public/cpp/interface_factory_impl.h', | |
156 '../services/shell/public/cpp/interface_registry.h', | |
157 '../services/shell/public/cpp/lib/application_runner.cc', | |
158 '../services/shell/public/cpp/lib/capabilities.cc', | |
159 '../services/shell/public/cpp/lib/connection_impl.cc', | |
160 '../services/shell/public/cpp/lib/connection_impl.h', | |
161 '../services/shell/public/cpp/lib/connector_impl.cc', | |
162 '../services/shell/public/cpp/lib/connector_impl.h', | |
163 '../services/shell/public/cpp/lib/identity.cc', | |
164 '../services/shell/public/cpp/lib/interface_factory_binder.h', | |
165 '../services/shell/public/cpp/lib/interface_registry.cc', | |
166 '../services/shell/public/cpp/lib/message_loop_ref.cc', | |
167 '../services/shell/public/cpp/lib/names.cc', | |
168 '../services/shell/public/cpp/lib/shell_client.cc', | |
169 '../services/shell/public/cpp/lib/shell_connection.cc', | |
170 '../services/shell/public/cpp/message_loop_ref.h', | |
171 '../services/shell/public/cpp/names.h', | |
172 '../services/shell/public/cpp/shell.h', | |
173 '../services/shell/public/cpp/shell_client.h', | |
174 '../services/shell/public/cpp/shell_connection.h', | |
175 ], | |
176 'dependencies': [ | |
177 '../base/base.gyp:base_i18n', | |
178 'mojo_application_bindings', | |
179 'mojo_public.gyp:mojo_message_pump_lib', | |
180 ], | |
181 }, | |
182 { | |
183 # GN version: //mojo/public/interfaces/application:application | |
184 'target_name': 'mojo_application_bindings', | |
185 'type': 'static_library', | |
186 'dependencies': [ | |
187 'mojo_application_bindings_mojom', | |
188 'mojo_public.gyp:mojo_cpp_bindings', | |
189 ], | |
190 }, | |
191 { | |
192 # GN version: //mojo/test:test_support | 123 # GN version: //mojo/test:test_support |
193 'target_name': 'mojo_test_support', | 124 'target_name': 'mojo_test_support', |
194 'type': 'static_library', | 125 'type': 'static_library', |
195 'dependencies': [ | 126 'dependencies': [ |
196 '../base/base.gyp:base', | 127 '../base/base.gyp:base', |
197 ], | 128 ], |
198 'sources': [ | 129 'sources': [ |
199 'test/test_utils.h', | 130 'test/test_utils.h', |
200 'test/test_utils_posix.cc', | 131 'test/test_utils_posix.cc', |
201 'test/test_utils_win.cc', | 132 'test/test_utils_win.cc', |
202 ], | 133 ], |
203 }, | 134 }, |
204 { | |
205 # GN version: //services/shell/public/cpp/tests | |
206 'target_name': 'mojo_public_application_unittests', | |
207 'type': 'executable', | |
208 'dependencies': [ | |
209 '../base/base.gyp:base', | |
210 '../testing/gtest.gyp:gtest', | |
211 'mojo_application_base', | |
212 'mojo_edk.gyp:mojo_run_all_unittests', | |
213 ], | |
214 'sources': [ | |
215 '../services/shell/public/cpp/tests/interface_registry_unittest.cc', | |
216 ], | |
217 }, | |
218 { | |
219 # Technically, these should be in the mojo_services.gyp, but this causes | |
220 # a cycle since the ios generator can't have gyp files refer to each | |
221 # other, even if the targets don't form a cycle. | |
222 # | |
223 # GN version: //mojo/services/tracing:lib | |
224 'target_name': 'tracing_service', | |
225 'type': 'static_library', | |
226 'dependencies': [ | |
227 'mojo_services.gyp:tracing_service_bindings_lib', | |
228 'mojo_base.gyp:mojo_application_bindings', | |
229 'mojo_edk.gyp:mojo_system_impl', | |
230 ], | |
231 'sources': [ | |
232 'services/tracing/trace_data_sink.cc', | |
233 'services/tracing/trace_data_sink.h', | |
234 'services/tracing/trace_recorder_impl.cc', | |
235 'services/tracing/trace_recorder_impl.h', | |
236 'services/tracing/tracing_app.cc', | |
237 'services/tracing/tracing_app.h', | |
238 ], | |
239 }, | |
240 { | |
241 # GN version: //mojo/services/public/cpp | |
242 'target_name': 'tracing_service_lib', | |
243 'type': 'static_library', | |
244 'dependencies': [ | |
245 'mojo_services.gyp:tracing_service_bindings_lib', | |
246 'mojo_base.gyp:mojo_application_bindings', | |
247 'mojo_edk.gyp:mojo_system_impl', | |
248 ], | |
249 'sources': [ | |
250 'services/tracing/public/cpp/switches.cc', | |
251 'services/tracing/public/cpp/switches.h', | |
252 'services/tracing/public/cpp/tracing_impl.cc', | |
253 'services/tracing/public/cpp/tracing_impl.h', | |
254 'services/tracing/public/cpp/trace_provider_impl.cc', | |
255 'services/tracing/public/cpp/trace_provider_impl.h', | |
256 ], | |
257 }, | |
258 ], | 135 ], |
259 'conditions': [ | 136 'conditions': [ |
260 ['OS=="android"', { | 137 ['OS=="android"', { |
261 'targets': [ | 138 'targets': [ |
262 { | 139 { |
263 'target_name': 'mojo_jni_headers', | 140 'target_name': 'mojo_jni_headers', |
264 'type': 'none', | 141 'type': 'none', |
265 'dependencies': [ | 142 'dependencies': [ |
266 'mojo_java_set_jni_headers', | 143 'mojo_java_set_jni_headers', |
267 ], | 144 ], |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 '../build/isolate.gypi', | 204 '../build/isolate.gypi', |
328 ], | 205 ], |
329 'sources': [ | 206 'sources': [ |
330 'mojo_common_unittests.isolate', | 207 'mojo_common_unittests.isolate', |
331 ], | 208 ], |
332 }, | 209 }, |
333 ], | 210 ], |
334 }], | 211 }], |
335 ] | 212 ] |
336 } | 213 } |
OLD | NEW |