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

Side by Side Diff: mojo/mojo.gyp

Issue 346613004: Use loadable module instead of shared library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small nits Created 6 years, 5 months 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 | Annotate | Revision Log
« no previous file with comments | « mojo/environment/mojo_environment_impl_export.h ('k') | mojo/mojo_apps.gypi » ('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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 { 5 {
6 'target_defaults': { 6 'target_defaults': {
7 'conditions': [ 7 'conditions': [
8 ['mojo_shell_debug_url != ""', { 8 ['mojo_shell_debug_url != ""', {
9 'defines': [ 9 'defines': [
10 'MOJO_SHELL_DEBUG=1', 10 'MOJO_SHELL_DEBUG=1',
11 'MOJO_SHELL_DEBUG_URL="<(mojo_shell_debug_url)"', 11 'MOJO_SHELL_DEBUG_URL="<(mojo_shell_debug_url)"',
12 ], 12 ],
13 }], 13 }],
14 ], 14 ],
15 }, 15 },
16 'variables': { 16 'variables': {
17 'chromium_code': 1, 17 'chromium_code': 1,
18 'mojo_shell_debug_url%': "", 18 'mojo_shell_debug_url%': "",
19 'common_sources': [
viettrungluu 2014/06/30 16:27:18 Probably you should have a comment explaining why
qsr 2014/07/01 08:09:35 Done.
20 'common/common_type_converters.cc',
21 'common/common_type_converters.h',
22 'common/data_pipe_utils.cc',
23 'common/data_pipe_utils.h',
24 'common/handle_watcher.cc',
25 'common/handle_watcher.h',
26 'common/message_pump_mojo.cc',
27 'common/message_pump_mojo.h',
28 'common/message_pump_mojo_handler.h',
29 'common/time_helper.cc',
30 'common/time_helper.h',
31 ],
32 'environment_chromium_sources': [
33 'environment/default_async_waiter_impl.cc',
34 'environment/default_async_waiter_impl.h',
35 'environment/default_logger_impl.cc',
36 'environment/default_logger_impl.h',
37 'environment/environment.cc',
38 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.)
39 "public/cpp/environment/logging.h",
40 "public/cpp/environment/lib/logging.h",
41 ],
19 }, 42 },
20 'includes': [ 43 'includes': [
21 'mojo_apps.gypi', 44 'mojo_apps.gypi',
22 'mojo_examples.gypi', 45 'mojo_examples.gypi',
23 'mojo_public.gypi', 46 'mojo_public.gypi',
24 'mojo_services.gypi', 47 'mojo_services.gypi',
25 ], 48 ],
26 'targets': [ 49 'targets': [
27 { 50 {
28 'target_name': 'mojo', 51 'target_name': 'mojo',
29 'type': 'none', 52 'type': 'none',
30 'dependencies': [ 53 'dependencies': [
31 'mojo_apps_js_unittests', 54 'mojo_apps_js_unittests',
32 'mojo_compositor_app', 55 'mojo_compositor_app',
56 'mojo_common_embedded_lib',
33 'mojo_common_lib', 57 'mojo_common_lib',
34 'mojo_common_unittests', 58 'mojo_common_unittests',
35 'mojo_cpp_bindings', 59 'mojo_cpp_bindings',
36 'mojo_geometry_lib', 60 'mojo_geometry_lib',
37 'mojo_html_viewer', 61 'mojo_html_viewer',
38 'mojo_js', 62 'mojo_js',
39 'mojo_js_bindings', 63 'mojo_js_bindings',
40 'mojo_js_unittests', 64 'mojo_js_unittests',
41 'mojo_launcher', 65 'mojo_launcher',
42 'mojo_message_generator', 66 'mojo_message_generator',
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 'type': 'static_library', 339 'type': 'static_library',
316 'dependencies': [ 340 'dependencies': [
317 '../base/base.gyp:base', 341 '../base/base.gyp:base',
318 ], 342 ],
319 'sources': [ 343 'sources': [
320 'common/test/test_support_impl.cc', 344 'common/test/test_support_impl.cc',
321 'common/test/test_support_impl.h', 345 'common/test/test_support_impl.h',
322 ], 346 ],
323 }, 347 },
324 { 348 {
349 'target_name': 'mojo_common_embedded_lib',
viettrungluu 2014/06/30 16:27:17 It'd be nice if the non-embedded and embedded vers
qsr 2014/07/01 08:09:35 Done.
350 'type': 'static_library',
351 'defines': [
352 'MOJO_COMMON_EMBEDDED',
353 ],
354 'dependencies': [
355 '..//base/base.gyp:base',
356 '..//base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynami c_annotations',
357 'mojo_system',
358 ],
359 'sources': [
360 '<@(common_sources)',
361 ],
362 'all_dependent_settings': {
363 'defines': [
364 'MOJO_COMMON_EMBEDDED',
365 ],
366 },
367 },
368 {
325 # GN version: //mojo/common 369 # GN version: //mojo/common
326 'target_name': 'mojo_common_lib', 370 'target_name': 'mojo_common_lib',
327 'type': '<(component)', 371 'type': '<(component)',
328 'defines': [ 372 'defines': [
329 'MOJO_COMMON_IMPLEMENTATION', 373 'MOJO_COMMON_IMPLEMENTATION',
330 ], 374 ],
331 'dependencies': [ 375 'dependencies': [
332 '../base/base.gyp:base', 376 '../base/base.gyp:base',
333 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 377 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
334 'mojo_system_impl', 378 'mojo_system_impl',
335 ], 379 ],
336 'export_dependent_settings': [ 380 'export_dependent_settings': [
381 '../base/base.gyp:base',
337 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 382 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
338 'mojo_system_impl', 383 'mojo_system_impl',
339 ], 384 ],
340 'sources': [ 385 'sources': [
341 'common/common_type_converters.cc', 386 '<@(common_sources)',
342 'common/common_type_converters.h',
343 'common/data_pipe_utils.cc',
344 'common/data_pipe_utils.h',
345 'common/handle_watcher.cc',
346 'common/handle_watcher.h',
347 'common/message_pump_mojo.cc',
348 'common/message_pump_mojo.h',
349 'common/message_pump_mojo_handler.h',
350 'common/time_helper.cc',
351 'common/time_helper.h',
352 ], 387 ],
353 }, 388 },
354 { 389 {
355 'target_name': 'mojo_common_test_support', 390 'target_name': 'mojo_common_test_support',
356 'type': 'static_library', 391 'type': 'static_library',
357 'dependencies': [ 392 'dependencies': [
358 '../base/base.gyp:base', 393 '../base/base.gyp:base',
359 '../base/base.gyp:test_support_base', 394 '../base/base.gyp:test_support_base',
360 '../testing/gtest.gyp:gtest', 395 '../testing/gtest.gyp:gtest',
361 'mojo_system_impl', 396 'mojo_system_impl',
(...skipping 21 matching lines...) Expand all
383 'mojo_run_all_unittests', 418 'mojo_run_all_unittests',
384 ], 419 ],
385 'sources': [ 420 'sources': [
386 'common/common_type_converters_unittest.cc', 421 'common/common_type_converters_unittest.cc',
387 'common/handle_watcher_unittest.cc', 422 'common/handle_watcher_unittest.cc',
388 'common/message_pump_mojo_unittest.cc', 423 'common/message_pump_mojo_unittest.cc',
389 'common/test/multiprocess_test_helper_unittest.cc', 424 'common/test/multiprocess_test_helper_unittest.cc',
390 ], 425 ],
391 }, 426 },
392 { 427 {
393 # GN version: //mojo/environment:chromium 428 # GN version: //mojo/environment:chromium
viettrungluu 2014/06/30 16:27:18 Presumably you need to update the GN build as well
qsr 2014/07/01 08:09:35 Done.
394 'target_name': 'mojo_environment_chromium', 429 'target_name': 'mojo_environment_chromium',
395 'type': 'static_library', 430 'type': 'static_library',
396 'dependencies': [ 431 'dependencies': [
432 '../base/base.gyp:base',
433 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
397 'mojo_common_lib', 434 'mojo_common_lib',
398 'mojo_environment_chromium_impl', 435 'mojo_system_impl',
436 ],
437 'export_dependent_settings': [
438 '../base/base.gyp:base',
439 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
399 ], 440 ],
400 'sources': [ 441 'sources': [
401 'environment/environment.cc', 442 '<@(environment_chromium_sources)',
402 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.)
403 "public/cpp/environment/logging.h",
404 "public/cpp/environment/lib/logging.h",
405 ],
406 'include_dirs': [
407 '..',
408 ],
409 'export_dependent_settings': [
410 'mojo_environment_chromium_impl',
411 ], 443 ],
412 }, 444 },
413 { 445 {
414 # GN version: //mojo/environment:chromium_impl 446 'target_name': 'mojo_environment_chromium_embedded',
415 'target_name': 'mojo_environment_chromium_impl', 447 'type': 'static_library',
416 'type': '<(component)',
417 'defines': [
418 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION',
419 ],
420 'dependencies': [ 448 'dependencies': [
421 '../base/base.gyp:base', 449 '../base/base.gyp:base',
422 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 450 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
423 'mojo_common_lib' 451 'mojo_common_embedded_lib',
452 'mojo_system',
453 ],
454 'export_dependent_settings': [
455 '../base/base.gyp:base',
456 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
424 ], 457 ],
425 'sources': [ 458 'sources': [
426 'environment/default_async_waiter_impl.cc', 459 '<@(environment_chromium_sources)',
427 'environment/default_async_waiter_impl.h',
428 'environment/default_logger_impl.cc',
429 'environment/default_logger_impl.h',
430 ],
431 'include_dirs': [
432 '..',
433 ], 460 ],
434 }, 461 },
435 { 462 {
436 # GN version: //mojo/service_manager 463 # GN version: //mojo/service_manager
437 'target_name': 'mojo_service_manager', 464 'target_name': 'mojo_service_manager',
438 'type': '<(component)', 465 'type': '<(component)',
439 'defines': [ 466 'defines': [
440 'MOJO_SERVICE_MANAGER_IMPLEMENTATION', 467 'MOJO_SERVICE_MANAGER_IMPLEMENTATION',
441 ], 468 ],
442 'dependencies': [ 469 'dependencies': [
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 }], 590 }],
564 ], 591 ],
565 }, 592 },
566 { 593 {
567 'target_name': 'mojo_shell_test_support', 594 'target_name': 'mojo_shell_test_support',
568 'type': 'static_library', 595 'type': 'static_library',
569 'dependencies': [ 596 'dependencies': [
570 '../base/base.gyp:base', 597 '../base/base.gyp:base',
571 '../base/base.gyp:base_static', 598 '../base/base.gyp:base_static',
572 '../url/url.gyp:url_lib', 599 '../url/url.gyp:url_lib',
600 'mojo_common_lib',
573 'mojo_service_manager', 601 'mojo_service_manager',
574 'mojo_shell_lib', 602 'mojo_shell_lib',
575 'mojo_system_impl', 603 'mojo_system_impl',
576 ], 604 ],
577 'sources': [ 605 'sources': [
578 'shell/shell_test_helper.cc', 606 'shell/shell_test_helper.cc',
579 'shell/shell_test_helper.h', 607 'shell/shell_test_helper.h',
580 ], 608 ],
581 }, 609 },
582 { 610 {
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 'views/views_init_internal.h', 1019 'views/views_init_internal.h',
992 ], 1020 ],
993 'defines': [ 1021 'defines': [
994 'MOJO_VIEWS_IMPLEMENTATION', 1022 'MOJO_VIEWS_IMPLEMENTATION',
995 ], 1023 ],
996 }, 1024 },
997 ], 1025 ],
998 }], 1026 }],
999 ], 1027 ],
1000 } 1028 }
OLDNEW
« no previous file with comments | « mojo/environment/mojo_environment_impl_export.h ('k') | mojo/mojo_apps.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698