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

Side by Side Diff: mojo/mojo.gyp

Issue 563953003: GN rules for everything in //mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « mojo/examples/wm_flow/BUILD.gn ('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 'includes': [ 16 'includes': [
17 'mojo_apps.gypi', 17 'mojo_apps.gypi',
18 'mojo_examples.gypi', 18 'mojo_examples.gypi',
19 'mojo_services.gypi', 19 'mojo_services.gypi',
20 'mojo_variables.gypi', 20 'mojo_variables.gypi',
21 ], 21 ],
22 'targets': [ 22 'targets': [
23 { 23 {
24 # GN version: //mojo
24 'target_name': 'mojo', 25 'target_name': 'mojo',
25 'type': 'none', 26 'type': 'none',
26 'dependencies': [ 27 'dependencies': [
27 'mojo_application_manager', 28 'mojo_application_manager',
28 'mojo_application_manager_unittests', 29 'mojo_application_manager_unittests',
29 'mojo_apps_js_unittests', 30 'mojo_apps_js_unittests',
30 'mojo_base.gyp:mojo_base', 31 'mojo_base.gyp:mojo_base',
31 'mojo_compositor_app', 32 'mojo_compositor_app',
32 'mojo_content_handler_demo', 33 'mojo_content_handler_demo',
33 'mojo_echo_client', 34 'mojo_echo_client',
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 ], 106 ],
106 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 107 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
107 'export_dependent_settings': [ 108 'export_dependent_settings': [
108 'mojo_base.gyp:mojo_cpp_bindings', 109 'mojo_base.gyp:mojo_cpp_bindings',
109 ], 110 ],
110 'dependencies': [ 111 'dependencies': [
111 'mojo_base.gyp:mojo_cpp_bindings', 112 'mojo_base.gyp:mojo_cpp_bindings',
112 ], 113 ],
113 }, 114 },
114 { 115 {
116 # GN version: //mojo/spy
115 'target_name': 'mojo_spy', 117 'target_name': 'mojo_spy',
116 'type': 'static_library', 118 'type': 'static_library',
117 'dependencies': [ 119 'dependencies': [
118 '../base/base.gyp:base', 120 '../base/base.gyp:base',
119 '../base/base.gyp:base_static', 121 '../base/base.gyp:base_static',
120 '../net/net.gyp:http_server', 122 '../net/net.gyp:http_server',
121 '../url/url.gyp:url_lib', 123 '../url/url.gyp:url_lib',
122 'mojo_application_manager', 124 'mojo_application_manager',
123 ], 125 ],
124 'variables': { 126 'variables': {
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', 442 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
441 'native_lib_target': 'libmojo_shell', 443 'native_lib_target': 'libmojo_shell',
442 }, 444 },
443 'includes': [ '../build/java_apk.gypi' ], 445 'includes': [ '../build/java_apk.gypi' ],
444 } 446 }
445 ], 447 ],
446 }], 448 }],
447 ['OS=="linux"', { 449 ['OS=="linux"', {
448 'targets': [ 450 'targets': [
449 { 451 {
452 # GN version: //mojo/dbus
450 'target_name': 'mojo_dbus_service', 453 'target_name': 'mojo_dbus_service',
451 'type': 'static_library', 454 'type': 'static_library',
452 'dependencies': [ 455 'dependencies': [
453 '../base/base.gyp:base', 456 '../base/base.gyp:base',
454 '../build/linux/system.gyp:dbus', 457 '../build/linux/system.gyp:dbus',
455 '../dbus/dbus.gyp:dbus', 458 '../dbus/dbus.gyp:dbus',
456 'mojo_base.gyp:mojo_application_chromium', 459 'mojo_base.gyp:mojo_application_chromium',
457 'mojo_base.gyp:mojo_common_lib', 460 'mojo_base.gyp:mojo_common_lib',
458 'mojo_base.gyp:mojo_system_impl', 461 'mojo_base.gyp:mojo_system_impl',
459 'mojo_external_service_bindings', 462 'mojo_external_service_bindings',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 'aura/context_factory_mojo.cc', 494 'aura/context_factory_mojo.cc',
492 'aura/context_factory_mojo.h', 495 'aura/context_factory_mojo.h',
493 'aura/screen_mojo.cc', 496 'aura/screen_mojo.cc',
494 'aura/screen_mojo.h', 497 'aura/screen_mojo.h',
495 'aura/window_tree_host_mojo.cc', 498 'aura/window_tree_host_mojo.cc',
496 'aura/window_tree_host_mojo.h', 499 'aura/window_tree_host_mojo.h',
497 'aura/window_tree_host_mojo_delegate.h', 500 'aura/window_tree_host_mojo_delegate.h',
498 ], 501 ],
499 }, 502 },
500 { 503 {
504 # GN version: //mojo/views
501 'target_name': 'mojo_views_support', 505 'target_name': 'mojo_views_support',
502 'type': 'static_library', 506 'type': 'static_library',
503 'dependencies': [ 507 'dependencies': [
504 '../base/base.gyp:base', 508 '../base/base.gyp:base',
505 '../base/base.gyp:base_i18n', 509 '../base/base.gyp:base_i18n',
506 '../skia/skia.gyp:skia', 510 '../skia/skia.gyp:skia',
507 '../skia/skia.gyp:skia',
508 '../third_party/icu/icu.gyp:icui18n', 511 '../third_party/icu/icu.gyp:icui18n',
509 '../third_party/icu/icu.gyp:icuuc', 512 '../third_party/icu/icu.gyp:icuuc',
510 '../ui/aura/aura.gyp:aura', 513 '../ui/aura/aura.gyp:aura',
511 '../ui/base/ui_base.gyp:ui_base', 514 '../ui/base/ui_base.gyp:ui_base',
512 '../ui/views/views.gyp:views', 515 '../ui/views/views.gyp:views',
513 '../ui/wm/wm.gyp:wm', 516 '../ui/wm/wm.gyp:wm',
514 'mojo_aura_support', 517 'mojo_aura_support',
515 'mojo_views_support_internal', 518 'mojo_views_support_internal',
516 'mojo_view_manager_bindings', 519 'mojo_view_manager_bindings',
517 ], 520 ],
518 'sources': [ 521 'sources': [
519 'views/input_method_mojo_linux.cc', 522 'views/input_method_mojo_linux.cc',
520 'views/input_method_mojo_linux.h', 523 'views/input_method_mojo_linux.h',
521 'views/native_widget_view_manager.cc', 524 'views/native_widget_view_manager.cc',
522 'views/native_widget_view_manager.h', 525 'views/native_widget_view_manager.h',
523 'views/views_init.cc', 526 'views/views_init.cc',
524 'views/views_init.h', 527 'views/views_init.h',
525 ], 528 ],
526 }, 529 },
527 { 530 {
531 # GN version: //mojo/views:views_internal
528 'target_name': 'mojo_views_support_internal', 532 'target_name': 'mojo_views_support_internal',
529 'type': '<(component)', 533 'type': '<(component)',
530 'dependencies': [ 534 'dependencies': [
531 '../base/base.gyp:base', 535 '../base/base.gyp:base',
532 '../base/base.gyp:base_i18n', 536 '../base/base.gyp:base_i18n',
533 '../base/base.gyp:base_static', 537 '../base/base.gyp:base_static',
534 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', 538 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
535 '../skia/skia.gyp:skia', 539 '../skia/skia.gyp:skia',
536 '../skia/skia.gyp:skia',
537 '../third_party/icu/icu.gyp:icui18n', 540 '../third_party/icu/icu.gyp:icui18n',
538 '../third_party/icu/icu.gyp:icuuc', 541 '../third_party/icu/icu.gyp:icuuc',
539 '../ui/base/ui_base.gyp:ui_base', 542 '../ui/base/ui_base.gyp:ui_base',
540 '../ui/gfx/gfx.gyp:gfx', 543 '../ui/gfx/gfx.gyp:gfx',
541 ], 544 ],
542 'sources': [ 545 'sources': [
543 'views/mojo_views_export.h', 546 'views/mojo_views_export.h',
544 'views/views_init_internal.cc', 547 'views/views_init_internal.cc',
545 'views/views_init_internal.h', 548 'views/views_init_internal.h',
546 ], 549 ],
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 'mojo_python_bindings', 614 'mojo_python_bindings',
612 'mojo_python_embedder', 615 'mojo_python_embedder',
613 'mojo_python_system', 616 'mojo_python_system',
614 ], 617 ],
615 'includes': [ '../third_party/cython/python_module.gypi' ], 618 'includes': [ '../third_party/cython/python_module.gypi' ],
616 }, 619 },
617 ], 620 ],
618 }], 621 }],
619 ], 622 ],
620 } 623 }
OLDNEW
« no previous file with comments | « mojo/examples/wm_flow/BUILD.gn ('k') | mojo/mojo_apps.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698