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

Side by Side Diff: mojo/mojo_base.gyp

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 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
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 # 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 '../third_party/mojo/mojo_variables.gypi', 10 'mojo_variables.gypi',
11 ], 11 ],
12 'targets': [ 12 'targets': [
13 { 13 {
14 'target_name': 'mojo_base', 14 'target_name': 'mojo_base',
15 'type': 'none', 15 'type': 'none',
16 'dependencies': [ 16 'dependencies': [
17 # NOTE: If adding a new dependency here, please consider whether it 17 # NOTE: If adding a new dependency here, please consider whether it
18 # should also be added to the list of Mojo-related dependencies of 18 # should also be added to the list of Mojo-related dependencies of
19 # build/all.gyp:All on iOS, as All cannot depend on the mojo_base 19 # build/all.gyp:All on iOS, as All cannot depend on the mojo_base
20 # target on iOS due to the presence of the js targets, which cause v8 20 # target on iOS due to the presence of the js targets, which cause v8
21 # to be built. 21 # to be built.
22 'mojo_common_lib', 22 'mojo_common_lib',
23 'mojo_common_unittests', 23 'mojo_common_unittests',
24 ], 24 ],
25 'conditions': [ 25 'conditions': [
26 ['OS == "android"', { 26 ['OS == "android"', {
27 'dependencies': [ 27 'dependencies': [
28 '../third_party/mojo/mojo_public.gyp:mojo_bindings_java', 28 '../mojo/mojo_public.gyp:mojo_bindings_java',
29 '../third_party/mojo/mojo_public.gyp:mojo_public_java', 29 '../mojo/mojo_public.gyp:mojo_public_java',
30 ], 30 ],
31 }], 31 }],
32 ] 32 ]
33 }, 33 },
34 { 34 {
35 'target_name': 'mojo_none', 35 'target_name': 'mojo_none',
36 'type': 'none', 36 'type': 'none',
37 }, 37 },
38 { 38 {
39 # GN version: //mojo/message_pump 39 # GN version: //mojo/message_pump
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 'type': 'executable', 126 'type': 'executable',
127 'dependencies': [ 127 'dependencies': [
128 '../base/base.gyp:base', 128 '../base/base.gyp:base',
129 '../base/base.gyp:test_support_base', 129 '../base/base.gyp:test_support_base',
130 '../base/base.gyp:base_message_loop_tests', 130 '../base/base.gyp:base_message_loop_tests',
131 '../testing/gtest.gyp:gtest', 131 '../testing/gtest.gyp:gtest',
132 '../url/url.gyp:url_lib', 132 '../url/url.gyp:url_lib',
133 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl', 133 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
134 '../third_party/mojo/mojo_edk.gyp:mojo_common_test_support', 134 '../third_party/mojo/mojo_edk.gyp:mojo_common_test_support',
135 '../third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests', 135 '../third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests',
136 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', 136 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
137 '../third_party/mojo/mojo_public.gyp:mojo_public_test_utils', 137 '../mojo/mojo_public.gyp:mojo_public_test_utils',
138 'mojo_common_lib', 138 'mojo_common_lib',
139 'mojo_environment_chromium', 139 'mojo_environment_chromium',
140 'mojo_message_pump_lib', 140 'mojo_message_pump_lib',
141 'mojo_url_type_converters', 141 'mojo_url_type_converters',
142 ], 142 ],
143 'sources': [ 143 'sources': [
144 'common/common_type_converters_unittest.cc', 144 'common/common_type_converters_unittest.cc',
145 'message_pump/handle_watcher_unittest.cc', 145 'message_pump/handle_watcher_unittest.cc',
146 'message_pump/message_pump_mojo_unittest.cc', 146 'message_pump/message_pump_mojo_unittest.cc',
147 ], 147 ],
148 }, 148 },
149 { 149 {
150 # GN version: //mojo/environment:chromium 150 # GN version: //mojo/environment:chromium
151 'target_name': 'mojo_environment_chromium', 151 'target_name': 'mojo_environment_chromium',
152 'type': 'static_library', 152 'type': 'static_library',
153 'dependencies': [ 153 'dependencies': [
154 'mojo_environment_chromium_impl', 154 'mojo_environment_chromium_impl',
155 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', 155 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
156 ], 156 ],
157 'sources': [ 157 'sources': [
158 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) 158 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.)
159 "../third_party/mojo/src/mojo/public/cpp/environment/async_waiter.h",
160 "../third_party/mojo/src/mojo/public/cpp/environment/lib/async_waiter.cc ",
161 "../third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc",
162 "../third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tra cking.cc",
163 "../third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tra cking.cc",
164 "../third_party/mojo/src/mojo/public/cpp/environment/logging.h",
165 "../third_party/mojo/src/mojo/public/cpp/environment/task_tracker.h",
166 'environment/environment.cc', 159 'environment/environment.cc',
160 "public/cpp/environment/async_waiter.h",
161 "public/cpp/environment/lib/async_waiter.cc",
162 "public/cpp/environment/lib/logging.cc",
163 "public/cpp/environment/lib/scoped_task_tracking.cc",
164 "public/cpp/environment/lib/scoped_task_tracking.cc",
165 "public/cpp/environment/logging.h",
166 "public/cpp/environment/task_tracker.h",
167 ], 167 ],
168 'include_dirs': [ 168 'include_dirs': [
169 '..', 169 '..',
170 '../third_party/mojo/src',
171 ], 170 ],
172 'direct_dependent_settings': {
173 'include_dirs': [
174 '../third_party/mojo/src',
175 ],
176 },
177 'export_dependent_settings': [ 171 'export_dependent_settings': [
178 'mojo_environment_chromium_impl', 172 'mojo_environment_chromium_impl',
179 ], 173 ],
180 }, 174 },
181 { 175 {
182 # GN version: //mojo/environment:chromium_impl 176 # GN version: //mojo/environment:chromium_impl
183 'target_name': 'mojo_environment_chromium_impl', 177 'target_name': 'mojo_environment_chromium_impl',
184 'type': '<(component)', 178 'type': '<(component)',
185 'defines': [ 179 'defines': [
186 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION', 180 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION',
187 ], 181 ],
188 'dependencies': [ 182 'dependencies': [
189 '../base/base.gyp:base', 183 '../base/base.gyp:base',
190 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 184 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
191 'mojo_message_pump_lib', 185 'mojo_message_pump_lib',
192 '<(mojo_system_for_component)', 186 '<(mojo_system_for_component)',
193 ], 187 ],
194 'sources': [ 188 'sources': [
195 'environment/default_async_waiter_impl.cc', 189 'environment/default_async_waiter_impl.cc',
196 'environment/default_async_waiter_impl.h', 190 'environment/default_async_waiter_impl.h',
197 'environment/default_logger_impl.cc', 191 'environment/default_logger_impl.cc',
198 'environment/default_logger_impl.h', 192 'environment/default_logger_impl.h',
199 'environment/default_run_loop_impl.cc', 193 'environment/default_run_loop_impl.cc',
200 'environment/default_run_loop_impl.h', 194 'environment/default_run_loop_impl.h',
201 'environment/default_task_tracker_impl.cc', 195 'environment/default_task_tracker_impl.cc',
202 'environment/default_task_tracker_impl.h', 196 'environment/default_task_tracker_impl.h',
203 ], 197 ],
204 'include_dirs': [ 198 'include_dirs': [
205 '..', 199 '..',
206 '../third_party/mojo/src',
207 ], 200 ],
208 'direct_dependent_settings': {
209 'include_dirs': [
210 '../third_party/mojo/src',
211 ],
212 },
213 }, 201 },
214 { 202 {
215 'target_name': 'mojo_application_bindings_mojom', 203 'target_name': 'mojo_application_bindings_mojom',
216 'type': 'none', 204 'type': 'none',
217 'variables': { 205 'variables': {
218 'mojom_files': [ 206 'mojom_files': [
219 'application/public/interfaces/application.mojom', 207 'application/public/interfaces/application.mojom',
220 'application/public/interfaces/content_handler.mojom', 208 'application/public/interfaces/content_handler.mojom',
221 'application/public/interfaces/service_provider.mojom', 209 'application/public/interfaces/service_provider.mojom',
222 'application/public/interfaces/shell.mojom', 210 'application/public/interfaces/shell.mojom',
223 ], 211 ],
224 }, 212 },
225 'dependencies': [ 213 'dependencies': [
226 'mojo_services.gyp:network_service_bindings_generation', 214 'mojo_services.gyp:network_service_bindings_generation',
227 ], 215 ],
228 'export_dependent_settings': [ 216 'export_dependent_settings': [
229 'mojo_services.gyp:network_service_bindings_generation', 217 'mojo_services.gyp:network_service_bindings_generation',
230 ], 218 ],
231 'includes': [ '../third_party/mojo/mojom_bindings_generator_explicit.gypi' ], 219 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ],
232 }, 220 },
233 { 221 {
234 # GN version: //mojo/application/public/cpp 222 # GN version: //mojo/application/public/cpp
235 'target_name': 'mojo_application_base', 223 'target_name': 'mojo_application_base',
236 'type': 'static_library', 224 'type': 'static_library',
237 'sources': [ 225 'sources': [
238 'application/public/cpp/app_lifetime_helper.h', 226 'application/public/cpp/app_lifetime_helper.h',
239 'application/public/cpp/application_connection.h', 227 'application/public/cpp/application_connection.h',
240 'application/public/cpp/application_delegate.h', 228 'application/public/cpp/application_delegate.h',
241 'application/public/cpp/application_impl.h', 229 'application/public/cpp/application_impl.h',
(...skipping 13 matching lines...) Expand all
255 'application/public/cpp/lib/service_registry.h', 243 'application/public/cpp/lib/service_registry.h',
256 'application/public/cpp/service_connector.h', 244 'application/public/cpp/service_connector.h',
257 'application/public/cpp/service_provider_impl.h', 245 'application/public/cpp/service_provider_impl.h',
258 ], 246 ],
259 'dependencies': [ 247 'dependencies': [
260 'mojo_application_bindings', 248 'mojo_application_bindings',
261 'mojo_message_pump_lib', 249 'mojo_message_pump_lib',
262 ], 250 ],
263 }, 251 },
264 { 252 {
265 # GN version: //mojo/public/interfaces/application:application 253 # GN version:public/interfaces/application:application
266 'target_name': 'mojo_application_bindings', 254 'target_name': 'mojo_application_bindings',
267 'type': 'static_library', 255 'type': 'static_library',
268 'dependencies': [ 256 'dependencies': [
269 'mojo_application_bindings_mojom', 257 'mojo_application_bindings_mojom',
270 'mojo_services.gyp:network_service_bindings_lib', 258 'mojo_services.gyp:network_service_bindings_lib',
271 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', 259 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
272 ], 260 ],
273 'export_dependent_settings': [ 261 'export_dependent_settings': [
274 'mojo_services.gyp:network_service_bindings_lib', 262 'mojo_services.gyp:network_service_bindings_lib',
275 ], 263 ],
276 }, 264 },
277 { 265 {
278 # GN version: //mojo/test:test_support 266 # GN version: //mojo/test:test_support
279 'target_name': 'mojo_test_support', 267 'target_name': 'mojo_test_support',
280 'type': 'static_library', 268 'type': 'static_library',
281 'dependencies': [ 269 'dependencies': [
282 '../base/base.gyp:base', 270 '../base/base.gyp:base',
283 ], 271 ],
284 'sources': [ 272 'sources': [
285 'test/test_utils.h', 273 'test/test_utils.h',
286 'test/test_utils_posix.cc', 274 'test/test_utils_posix.cc',
287 'test/test_utils_win.cc', 275 'test/test_utils_win.cc',
288 ], 276 ],
289 }, 277 },
290 { 278 {
291 # GN version: //mojo/application/public/cpp/tests 279 # GN version: //mojo/application/public/cpp/tests
292 'target_name': 'mojo_public_application_unittests', 280 'target_name': 'mojo_public_application_unittests',
293 'type': 'executable', 281 'type': 'executable',
294 'dependencies': [ 282 'dependencies': [
295 'mojo_application_base', 283 'mojo_application_base',
296 '../base/base.gyp:base', 284 '../base/base.gyp:base',
297 '../testing/gtest.gyp:gtest', 285 '../testing/gtest.gyp:gtest',
298 '../third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests', 286 '../third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests',
299 '../third_party/mojo/mojo_public.gyp:mojo_utility', 287 '../mojo/mojo_public.gyp:mojo_utility',
300 '../third_party/mojo/mojo_public.gyp:mojo_environment_standalone', 288 '../mojo/mojo_public.gyp:mojo_environment_standalone',
301 ], 289 ],
302 'sources': [ 290 'sources': [
303 'application/public/cpp/tests/service_registry_unittest.cc', 291 'application/public/cpp/tests/service_registry_unittest.cc',
304 ], 292 ],
305 }, 293 },
306 ], 294 ],
307 'conditions': [ 295 'conditions': [
308 ['OS=="android"', { 296 ['OS=="android"', {
309 'targets': [ 297 'targets': [
310 { 298 {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 'input_java_class': 'java/util/HashSet.class', 335 'input_java_class': 'java/util/HashSet.class',
348 }, 336 },
349 'includes': [ '../build/jar_file_jni_generator.gypi' ], 337 'includes': [ '../build/jar_file_jni_generator.gypi' ],
350 }, 338 },
351 { 339 {
352 'target_name': 'mojo_system_java', 340 'target_name': 'mojo_system_java',
353 'type': 'none', 341 'type': 'none',
354 'dependencies': [ 342 'dependencies': [
355 '../base/base.gyp:base_java', 343 '../base/base.gyp:base_java',
356 'libmojo_system_java', 344 'libmojo_system_java',
357 '../third_party/mojo/mojo_public.gyp:mojo_public_java', 345 '../mojo/mojo_public.gyp:mojo_public_java',
358 ], 346 ],
359 'variables': { 347 'variables': {
360 'java_in_dir': '<(DEPTH)/mojo/android/system', 348 'java_in_dir': '<(DEPTH)/mojo/android/system',
361 }, 349 },
362 'includes': [ '../build/java.gypi' ], 350 'includes': [ '../build/java.gypi' ],
363 }, 351 },
364 ], 352 ],
365 }], 353 }],
366 ['test_isolation_mode != "noop"', { 354 ['test_isolation_mode != "noop"', {
367 'targets': [ 355 'targets': [
368 { 356 {
369 'target_name': 'mojo_common_unittests_run', 357 'target_name': 'mojo_common_unittests_run',
370 'type': 'none', 358 'type': 'none',
371 'dependencies': [ 359 'dependencies': [
372 'mojo_common_unittests', 360 'mojo_common_unittests',
373 ], 361 ],
374 'includes': [ 362 'includes': [
375 '../build/isolate.gypi', 363 '../build/isolate.gypi',
376 ], 364 ],
377 'sources': [ 365 'sources': [
378 'mojo_common_unittests.isolate', 366 'mojo_common_unittests.isolate',
379 ], 367 ],
380 }, 368 },
381 ], 369 ],
382 }], 370 }],
383 ] 371 ]
384 } 372 }
OLDNEW
« chrome/browser/chromeos/BUILD.gn ('K') | « mojo/mojo.gyp ('k') | mojo/mojo_edk.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698