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

Side by Side Diff: mojo/mojo.gyp

Issue 259823005: Add GN targets for mojom generator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
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',
(...skipping 11 matching lines...) Expand all
22 'mojo_examples.gypi', 22 'mojo_examples.gypi',
23 'mojo_public.gypi', 23 'mojo_public.gypi',
24 'mojo_services.gypi', 24 'mojo_services.gypi',
25 ], 25 ],
26 'targets': [ 26 'targets': [
27 { 27 {
28 'target_name': 'mojo', 28 'target_name': 'mojo',
29 'type': 'none', 29 'type': 'none',
30 'dependencies': [ 30 'dependencies': [
31 'mojo_apps_js_unittests', 31 'mojo_apps_js_unittests',
32 'mojo_bindings',
33 'mojo_compositor_app', 32 'mojo_compositor_app',
34 'mojo_common_lib', 33 'mojo_common_lib',
35 'mojo_common_unittests', 34 'mojo_common_unittests',
35 'mojo_cpp_bindings',
36 'mojo_js', 36 'mojo_js',
37 'mojo_js_bindings',
37 'mojo_js_unittests', 38 'mojo_js_unittests',
38 'mojo_message_generator', 39 'mojo_message_generator',
39 'mojo_native_viewport_service', 40 'mojo_native_viewport_service',
40 'mojo_pepper_container_app', 41 'mojo_pepper_container_app',
41 'mojo_public_test_utils', 42 'mojo_public_test_utils',
42 'mojo_public_bindings_unittests', 43 'mojo_public_bindings_unittests',
43 'mojo_public_environment_unittests', 44 'mojo_public_environment_unittests',
44 'mojo_public_system_perftests', 45 'mojo_public_system_perftests',
45 'mojo_public_system_unittests', 46 'mojo_public_system_unittests',
46 'mojo_public_utility_unittests', 47 'mojo_public_utility_unittests',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 'target_name': 'mojo_external_service_bindings', 79 'target_name': 'mojo_external_service_bindings',
79 'type': 'static_library', 80 'type': 'static_library',
80 'sources': [ 81 'sources': [
81 'shell/external_service.mojom', 82 'shell/external_service.mojom',
82 ], 83 ],
83 'variables': { 84 'variables': {
84 'mojom_base_output_dir': 'mojo', 85 'mojom_base_output_dir': 'mojo',
85 }, 86 },
86 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 87 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
87 'export_dependent_settings': [ 88 'export_dependent_settings': [
88 'mojo_bindings', 89 'mojo_cpp_bindings',
89 ], 90 ],
90 'dependencies': [ 91 'dependencies': [
91 'mojo_bindings', 92 'mojo_cpp_bindings',
92 ], 93 ],
93 }, 94 },
94 { 95 {
95 'target_name': 'mojo_run_all_unittests', 96 'target_name': 'mojo_run_all_unittests',
96 'type': 'static_library', 97 'type': 'static_library',
97 'dependencies': [ 98 'dependencies': [
98 '../base/base.gyp:base', 99 '../base/base.gyp:base',
99 '../base/base.gyp:test_support_base', 100 '../base/base.gyp:test_support_base',
100 '../testing/gtest.gyp:gtest', 101 '../testing/gtest.gyp:gtest',
101 'mojo_system_impl', 102 'mojo_system_impl',
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 'common/test/test_utils_win.cc', 331 'common/test/test_utils_win.cc',
331 ], 332 ],
332 }, 333 },
333 { 334 {
334 'target_name': 'mojo_common_unittests', 335 'target_name': 'mojo_common_unittests',
335 'type': 'executable', 336 'type': 'executable',
336 'dependencies': [ 337 'dependencies': [
337 '../base/base.gyp:base', 338 '../base/base.gyp:base',
338 '../base/base.gyp:base_message_loop_tests', 339 '../base/base.gyp:base_message_loop_tests',
339 '../testing/gtest.gyp:gtest', 340 '../testing/gtest.gyp:gtest',
340 'mojo_bindings', 341 'mojo_cpp_bindings',
341 'mojo_environment_chromium', 342 'mojo_environment_chromium',
342 'mojo_common_lib', 343 'mojo_common_lib',
343 'mojo_common_test_support', 344 'mojo_common_test_support',
344 'mojo_public_test_utils', 345 'mojo_public_test_utils',
345 'mojo_run_all_unittests', 346 'mojo_run_all_unittests',
346 ], 347 ],
347 'sources': [ 348 'sources': [
348 'common/common_type_converters_unittest.cc', 349 'common/common_type_converters_unittest.cc',
349 'common/handle_watcher_unittest.cc', 350 'common/handle_watcher_unittest.cc',
350 'common/message_pump_mojo_unittest.cc', 351 'common/message_pump_mojo_unittest.cc',
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 'shell/desktop/mojo_main.cc', 521 'shell/desktop/mojo_main.cc',
521 ], 522 ],
522 }, 523 },
523 { 524 {
524 'target_name': 'mojo_service_manager_unittests', 525 'target_name': 'mojo_service_manager_unittests',
525 'type': 'executable', 526 'type': 'executable',
526 'dependencies': [ 527 'dependencies': [
527 '../base/base.gyp:base', 528 '../base/base.gyp:base',
528 '../testing/gtest.gyp:gtest', 529 '../testing/gtest.gyp:gtest',
529 '../url/url.gyp:url_lib', 530 '../url/url.gyp:url_lib',
530 'mojo_bindings',
531 'mojo_common_lib', 531 'mojo_common_lib',
532 'mojo_cpp_bindings',
532 'mojo_environment_chromium', 533 'mojo_environment_chromium',
533 'mojo_run_all_unittests', 534 'mojo_run_all_unittests',
534 'mojo_service_manager', 535 'mojo_service_manager',
535 'mojo_shell_client', 536 'mojo_shell_client',
536 ], 537 ],
537 'variables': { 538 'variables': {
538 'mojom_base_output_dir': 'mojo', 539 'mojom_base_output_dir': 'mojo',
539 }, 540 },
540 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 541 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
541 'sources': [ 542 'sources': [
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 'sources': [ 584 'sources': [
584 'bindings/js/run_js_tests.cc', 585 'bindings/js/run_js_tests.cc',
585 ], 586 ],
586 }, 587 },
587 { 588 {
588 'target_name': 'mojo_message_generator', 589 'target_name': 'mojo_message_generator',
589 'type': 'executable', 590 'type': 'executable',
590 'dependencies': [ 591 'dependencies': [
591 '../base/base.gyp:base', 592 '../base/base.gyp:base',
592 '../testing/gtest.gyp:gtest', 593 '../testing/gtest.gyp:gtest',
593 'mojo_bindings',
594 'mojo_common_lib', 594 'mojo_common_lib',
595 'mojo_cpp_bindings',
595 'mojo_environment_chromium', 596 'mojo_environment_chromium',
596 'mojo_system_impl', 597 'mojo_system_impl',
597 ], 598 ],
598 'sources': [ 599 'sources': [
599 'tools/message_generator.cc', 600 'tools/message_generator.cc',
600 ], 601 ],
601 }, 602 },
602 ], 603 ],
603 'conditions': [ 604 'conditions': [
604 ['OS=="android"', { 605 ['OS=="android"', {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 'mojo_js_unittests.isolate', 755 'mojo_js_unittests.isolate',
755 ], 756 ],
756 'sources': [ 757 'sources': [
757 'mojo_js_unittests.isolate', 758 'mojo_js_unittests.isolate',
758 ], 759 ],
759 }, 760 },
760 ], 761 ],
761 }], 762 }],
762 ], 763 ],
763 } 764 }
OLDNEW
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/mojo_examples.gypi » ('j') | mojo/public/cpp/bindings/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698