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

Side by Side Diff: mojo/mojo_services.gypi

Issue 408853005: Convert bindings targets in mojo/mojo_services.gypi to GN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/BUILD.gn ('k') | mojo/services/BUILD.gn » ('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 (c) 2014 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //mojo/services/dbus_echo:bindings
8 'target_name': 'mojo_echo_bindings', 9 'target_name': 'mojo_echo_bindings',
9 'type': 'static_library', 10 'type': 'static_library',
10 'sources': [ 11 'sources': [
11 'services/dbus_echo/echo.mojom', 12 'services/dbus_echo/echo.mojom',
12 ], 13 ],
13 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 14 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
14 'export_dependent_settings': [ 15 'export_dependent_settings': [
15 'mojo_cpp_bindings', 16 'mojo_cpp_bindings',
16 ], 17 ],
17 'dependencies': [ 18 'dependencies': [
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 'mojo_geometry_lib', 79 'mojo_geometry_lib',
79 '<(mojo_system_for_component)', 80 '<(mojo_system_for_component)',
80 ], 81 ],
81 'sources': [ 82 'sources': [
82 'services/public/cpp/input_events/lib/input_events_type_converters.cc', 83 'services/public/cpp/input_events/lib/input_events_type_converters.cc',
83 'services/public/cpp/input_events/input_events_type_converters.h', 84 'services/public/cpp/input_events/input_events_type_converters.h',
84 'services/public/cpp/input_events/mojo_input_events_export.h', 85 'services/public/cpp/input_events/mojo_input_events_export.h',
85 ], 86 ],
86 }, 87 },
87 { 88 {
89 # GN version: //mojo/services/public/interfaces/input_events:bindings
88 'target_name': 'mojo_input_events_bindings', 90 'target_name': 'mojo_input_events_bindings',
89 'type': 'static_library', 91 'type': 'static_library',
90 'sources': [ 92 'sources': [
91 'services/public/interfaces/input_events/input_events.mojom', 93 'services/public/interfaces/input_events/input_events.mojom',
92 ], 94 ],
93 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 95 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
94 'export_dependent_settings': [ 96 'export_dependent_settings': [
95 'mojo_cpp_bindings', 97 'mojo_cpp_bindings',
96 ], 98 ],
97 'dependencies': [ 99 'dependencies': [
98 'mojo_cpp_bindings', 100 'mojo_cpp_bindings',
99 'mojo_geometry_bindings', 101 'mojo_geometry_bindings',
100 ], 102 ],
101 }, 103 },
102 { 104 {
105 # GN version: //mojo/services/public/interfaces/geometry:bindings
103 'target_name': 'mojo_geometry_bindings', 106 'target_name': 'mojo_geometry_bindings',
104 'type': 'static_library', 107 'type': 'static_library',
105 'sources': [ 108 'sources': [
106 'services/public/interfaces/geometry/geometry.mojom', 109 'services/public/interfaces/geometry/geometry.mojom',
107 ], 110 ],
108 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 111 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
109 'dependencies': [ 112 'dependencies': [
110 'mojo_cpp_bindings', 113 'mojo_cpp_bindings',
111 ], 114 ],
112 'export_dependent_settings': [ 115 'export_dependent_settings': [
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 'conditions': [ 220 'conditions': [
218 ['OS=="mac"', { 221 ['OS=="mac"', {
219 'xcode_settings': { 222 'xcode_settings': {
220 # Make it a run-path dependent library. 223 # Make it a run-path dependent library.
221 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 224 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
222 }, 225 },
223 }], 226 }],
224 ], 227 ],
225 }, 228 },
226 { 229 {
230 # GN version: //mojo/services/gles2:interfaces (for files generated from
231 # the mojom file)
232 # GN version: //mojo/services/gles2:bindings
227 'target_name': 'mojo_gles2_bindings', 233 'target_name': 'mojo_gles2_bindings',
228 'type': 'static_library', 234 'type': 'static_library',
229 'sources': [ 235 'sources': [
230 'services/gles2/command_buffer.mojom', 236 'services/gles2/command_buffer.mojom',
231 'services/gles2/command_buffer_type_conversions.cc', 237 'services/gles2/command_buffer_type_conversions.cc',
232 'services/gles2/command_buffer_type_conversions.h', 238 'services/gles2/command_buffer_type_conversions.h',
233 'services/gles2/mojo_buffer_backing.cc', 239 'services/gles2/mojo_buffer_backing.cc',
234 'services/gles2/mojo_buffer_backing.h', 240 'services/gles2/mojo_buffer_backing.h',
235 ], 241 ],
236 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 242 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
(...skipping 18 matching lines...) Expand all
255 ], 261 ],
256 'export_dependent_settings': [ 262 'export_dependent_settings': [
257 'mojo_gles2_bindings', 263 'mojo_gles2_bindings',
258 ], 264 ],
259 'sources': [ 265 'sources': [
260 'services/gles2/command_buffer_impl.cc', 266 'services/gles2/command_buffer_impl.cc',
261 'services/gles2/command_buffer_impl.h', 267 'services/gles2/command_buffer_impl.h',
262 ], 268 ],
263 }, 269 },
264 { 270 {
271 # GN version: //mojo/services/public/interfaces/native_viewport:bindings
265 'target_name': 'mojo_native_viewport_bindings', 272 'target_name': 'mojo_native_viewport_bindings',
266 'type': 'static_library', 273 'type': 'static_library',
267 'sources': [ 274 'sources': [
268 'services/public/interfaces/native_viewport/native_viewport.mojom', 275 'services/public/interfaces/native_viewport/native_viewport.mojom',
269 ], 276 ],
270 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 277 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
271 'export_dependent_settings': [ 278 'export_dependent_settings': [
272 'mojo_cpp_bindings', 279 'mojo_cpp_bindings',
273 ], 280 ],
274 'dependencies': [ 281 'dependencies': [
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 ], 330 ],
324 }], 331 }],
325 ['use_x11==1', { 332 ['use_x11==1', {
326 'dependencies': [ 333 'dependencies': [
327 '../ui/platform_window/x11/x11_window.gyp:x11_window', 334 '../ui/platform_window/x11/x11_window.gyp:x11_window',
328 ], 335 ],
329 }], 336 }],
330 ], 337 ],
331 }, 338 },
332 { 339 {
340 # GN version: //mojo/services/public/interfaces/navigation:bindings
333 'target_name': 'mojo_navigation_bindings', 341 'target_name': 'mojo_navigation_bindings',
334 'type': 'static_library', 342 'type': 'static_library',
335 'sources': [ 343 'sources': [
336 'services/public/interfaces/navigation/navigation.mojom', 344 'services/public/interfaces/navigation/navigation.mojom',
337 ], 345 ],
338 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 346 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
339 'export_dependent_settings': [ 347 'export_dependent_settings': [
340 'mojo_cpp_bindings', 348 'mojo_cpp_bindings',
341 ], 349 ],
342 'dependencies': [ 350 'dependencies': [
343 'mojo_cpp_bindings', 351 'mojo_cpp_bindings',
344 'mojo_network_bindings', 352 'mojo_network_bindings',
345 ], 353 ],
346 }, 354 },
347 { 355 {
356 # GN version: //mojo/services/public/interfaces/network:bindings
348 'target_name': 'mojo_network_bindings', 357 'target_name': 'mojo_network_bindings',
349 'type': 'static_library', 358 'type': 'static_library',
350 'sources': [ 359 'sources': [
351 'services/public/interfaces/network/network_error.mojom', 360 'services/public/interfaces/network/network_error.mojom',
352 'services/public/interfaces/network/network_service.mojom', 361 'services/public/interfaces/network/network_service.mojom',
353 'services/public/interfaces/network/url_loader.mojom', 362 'services/public/interfaces/network/url_loader.mojom',
354 ], 363 ],
355 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 364 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
356 'export_dependent_settings': [ 365 'export_dependent_settings': [
357 'mojo_cpp_bindings', 366 'mojo_cpp_bindings',
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 ], 435 ],
427 }, 436 },
428 { 437 {
429 'target_name': 'mojo_view_manager_common', 438 'target_name': 'mojo_view_manager_common',
430 'type': 'static_library', 439 'type': 'static_library',
431 'sources': [ 440 'sources': [
432 'services/public/cpp/view_manager/types.h', 441 'services/public/cpp/view_manager/types.h',
433 ], 442 ],
434 }, 443 },
435 { 444 {
445 # GN version: //mojo/services/public/interfaces/launcher:bindings
436 'target_name': 'mojo_launcher_bindings', 446 'target_name': 'mojo_launcher_bindings',
437 'type': 'static_library', 447 'type': 'static_library',
438 'sources': [ 448 'sources': [
439 'services/public/interfaces/launcher/launcher.mojom', 449 'services/public/interfaces/launcher/launcher.mojom',
440 ], 450 ],
441 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 451 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
442 'export_dependent_settings': [ 452 'export_dependent_settings': [
443 'mojo_cpp_bindings', 453 'mojo_cpp_bindings',
444 ], 454 ],
445 'dependencies': [ 455 'dependencies': [
(...skipping 13 matching lines...) Expand all
459 'mojo_launcher_bindings', 469 'mojo_launcher_bindings',
460 'mojo_network_bindings', 470 'mojo_network_bindings',
461 '<(mojo_system_for_loadable_module)', 471 '<(mojo_system_for_loadable_module)',
462 ], 472 ],
463 'sources': [ 473 'sources': [
464 'services/launcher/launcher.cc', 474 'services/launcher/launcher.cc',
465 'public/cpp/application/lib/mojo_main_chromium.cc', 475 'public/cpp/application/lib/mojo_main_chromium.cc',
466 ], 476 ],
467 }, 477 },
468 { 478 {
479 # GN version: //mojo/services/public/interfaces/view_manager:bindings
469 'target_name': 'mojo_view_manager_bindings', 480 'target_name': 'mojo_view_manager_bindings',
470 'type': 'static_library', 481 'type': 'static_library',
471 'sources': [ 482 'sources': [
472 'services/public/interfaces/view_manager/view_manager.mojom', 483 'services/public/interfaces/view_manager/view_manager.mojom',
473 'services/public/interfaces/view_manager/view_manager_constants.mojom', 484 'services/public/interfaces/view_manager/view_manager_constants.mojom',
474 ], 485 ],
475 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 486 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
476 'export_dependent_settings': [ 487 'export_dependent_settings': [
477 'mojo_cpp_bindings', 488 'mojo_cpp_bindings',
478 ], 489 ],
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 'mojo_view_manager_run_unittests' 558 'mojo_view_manager_run_unittests'
548 ], 559 ],
549 }, { # use_aura==0 560 }, { # use_aura==0
550 'dependencies': [ 561 'dependencies': [
551 'mojo_run_all_unittests', 562 'mojo_run_all_unittests',
552 ], 563 ],
553 }], 564 }],
554 ], 565 ],
555 }, 566 },
556 { 567 {
568 # GN version: //mojo/services/public/interfaces/surfaces:bindings
557 'target_name': 'mojo_surfaces_bindings', 569 'target_name': 'mojo_surfaces_bindings',
558 'type': 'static_library', 570 'type': 'static_library',
559 'sources': [ 571 'sources': [
560 'services/public/interfaces/surfaces/surfaces.mojom', 572 'services/public/interfaces/surfaces/surfaces.mojom',
561 'services/public/interfaces/surfaces/surface_id.mojom', 573 'services/public/interfaces/surfaces/surface_id.mojom',
562 'services/public/interfaces/surfaces/quads.mojom', 574 'services/public/interfaces/surfaces/quads.mojom',
563 ], 575 ],
564 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 576 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
565 'export_dependent_settings': [ 577 'export_dependent_settings': [
566 'mojo_cpp_bindings', 578 'mojo_cpp_bindings',
567 ], 579 ],
568 'dependencies': [ 580 'dependencies': [
569 'mojo_cpp_bindings', 581 'mojo_cpp_bindings',
570 'mojo_geometry_bindings', 582 'mojo_geometry_bindings',
571 'mojo_native_viewport_bindings', 583 'mojo_native_viewport_bindings',
572 ], 584 ],
573 }, 585 },
574 { 586 {
587 # GN version: //mojo/services/test_service:bindings
575 'target_name': 'mojo_test_service_bindings', 588 'target_name': 'mojo_test_service_bindings',
576 'type': 'static_library', 589 'type': 'static_library',
577 'sources': [ 590 'sources': [
578 # TODO(tim): Move to services/public/interfaces? 591 # TODO(tim): Move to services/public/interfaces?
592 'services/test_service/test_request_tracker.mojom',
579 'services/test_service/test_service.mojom', 593 'services/test_service/test_service.mojom',
580 'services/test_service/test_request_tracker.mojom',
581 ], 594 ],
582 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 595 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
583 'export_dependent_settings': [ 596 'export_dependent_settings': [
584 'mojo_cpp_bindings', 597 'mojo_cpp_bindings',
585 ], 598 ],
586 'dependencies': [ 599 'dependencies': [
587 'mojo_cpp_bindings', 600 'mojo_cpp_bindings',
588 ], 601 ],
589 }, 602 },
590 { 603 {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 'services/test_service/test_request_tracker_client_impl.h', 640 'services/test_service/test_request_tracker_client_impl.h',
628 'services/test_service/test_request_tracker_application.cc', 641 'services/test_service/test_request_tracker_application.cc',
629 'services/test_service/test_request_tracker_application.h', 642 'services/test_service/test_request_tracker_application.h',
630 'services/test_service/test_time_service_impl.cc', 643 'services/test_service/test_time_service_impl.cc',
631 'services/test_service/test_time_service_impl.h', 644 'services/test_service/test_time_service_impl.h',
632 'services/test_service/test_request_tracker_impl.cc', 645 'services/test_service/test_request_tracker_impl.cc',
633 'services/test_service/test_request_tracker_impl.h', 646 'services/test_service/test_request_tracker_impl.h',
634 ], 647 ],
635 }, 648 },
636 { 649 {
650 # GN version: //mojo/services/public/interfaces/window_manager:core_bindin gs
637 'target_name': 'mojo_core_window_manager_bindings', 651 'target_name': 'mojo_core_window_manager_bindings',
638 'type': 'static_library', 652 'type': 'static_library',
639 'sources': [ 653 'sources': [
640 'services/public/interfaces/window_manager/window_manager.mojom', 654 'services/public/interfaces/window_manager/window_manager.mojom',
641 ], 655 ],
642 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 656 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
643 'export_dependent_settings': [ 657 'export_dependent_settings': [
644 'mojo_cpp_bindings', 658 'mojo_cpp_bindings',
645 ], 659 ],
646 'dependencies': [ 660 'dependencies': [
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 'mojo_system_impl', 866 'mojo_system_impl',
853 ], 867 ],
854 'sources': [ 868 'sources': [
855 'services/dbus_echo/dbus_echo_service.cc', 869 'services/dbus_echo/dbus_echo_service.cc',
856 ], 870 ],
857 }, 871 },
858 ], 872 ],
859 }], 873 }],
860 ], 874 ],
861 } 875 }
OLDNEW
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698