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

Side by Side Diff: mojo/mojo_services.gypi

Issue 534843002: Convert view manager to surfaces with uploading shim in client lib (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
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 'target_name': 'mojo_html_viewer', 8 'target_name': 'mojo_html_viewer',
9 'type': 'loadable_module', 9 'type': 'loadable_module',
10 'dependencies': [ 10 'dependencies': [
11 '../net/net.gyp:net', 11 '../net/net.gyp:net',
12 '../skia/skia.gyp:skia', 12 '../skia/skia.gyp:skia',
13 '../third_party/WebKit/public/blink.gyp:blink', 13 '../third_party/WebKit/public/blink.gyp:blink',
14 '../ui/native_theme/native_theme.gyp:native_theme', 14 '../ui/native_theme/native_theme.gyp:native_theme',
15 '../url/url.gyp:url_lib', 15 '../url/url.gyp:url_lib',
16 'mojo_base.gyp:mojo_common_lib', 16 'mojo_base.gyp:mojo_common_lib',
17 'mojo_base.gyp:mojo_cpp_bindings', 17 'mojo_base.gyp:mojo_cpp_bindings',
18 'mojo_base.gyp:mojo_utility', 18 'mojo_base.gyp:mojo_utility',
19 'mojo_base.gyp:mojo_application_chromium', 19 'mojo_base.gyp:mojo_application_chromium',
20 'mojo_launcher_bindings',
20 'mojo_navigation_bindings', 21 'mojo_navigation_bindings',
21 'mojo_network_bindings', 22 'mojo_network_bindings',
22 'mojo_launcher_bindings',
23 'mojo_view_manager_lib', 23 'mojo_view_manager_lib',
24 '<(mojo_system_for_loadable_module)', 24 '<(mojo_system_for_loadable_module)',
25 ], 25 ],
26 'include_dirs': [ 26 'include_dirs': [
27 'third_party/WebKit' 27 'third_party/WebKit'
28 ], 28 ],
29 'sources': [ 29 'sources': [
30 'services/html_viewer/blink_input_events_type_converters.cc', 30 'services/html_viewer/blink_input_events_type_converters.cc',
31 'services/html_viewer/blink_input_events_type_converters.h', 31 'services/html_viewer/blink_input_events_type_converters.h',
32 'services/html_viewer/blink_platform_impl.cc', 32 'services/html_viewer/blink_platform_impl.cc',
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 'mojo_geometry_lib', 151 'mojo_geometry_lib',
152 'mojo_surfaces_bindings', 152 'mojo_surfaces_bindings',
153 '<(mojo_system_for_component)', 153 '<(mojo_system_for_component)',
154 ], 154 ],
155 'export_dependent_settings': [ 155 'export_dependent_settings': [
156 'mojo_geometry_lib', 156 'mojo_geometry_lib',
157 'mojo_surfaces_bindings', 157 'mojo_surfaces_bindings',
158 ], 158 ],
159 'sources': [ 159 'sources': [
160 'services/public/cpp/surfaces/lib/surfaces_type_converters.cc', 160 'services/public/cpp/surfaces/lib/surfaces_type_converters.cc',
161 'services/public/cpp/surfaces/lib/surfaces_utils.cc',
161 'services/public/cpp/surfaces/surfaces_type_converters.h', 162 'services/public/cpp/surfaces/surfaces_type_converters.h',
163 'services/public/cpp/surfaces/surfaces_utils.h',
162 'services/public/cpp/surfaces/mojo_surfaces_export.h', 164 'services/public/cpp/surfaces/mojo_surfaces_export.h',
163 ], 165 ],
164 }, 166 },
165 { 167 {
166 # GN version: //mojo/services/public/cpp/surfaces/tests 168 # GN version: //mojo/services/public/cpp/surfaces/tests
167 'target_name': 'mojo_surfaces_lib_unittests', 169 'target_name': 'mojo_surfaces_lib_unittests',
168 'type': 'executable', 170 'type': 'executable',
169 'dependencies': [ 171 'dependencies': [
170 '../base/base.gyp:base', 172 '../base/base.gyp:base',
171 '../base/base.gyp:test_support_base', 173 '../base/base.gyp:test_support_base',
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 'sources': [ 494 'sources': [
493 'services/public/interfaces/view_manager/view_manager.mojom', 495 'services/public/interfaces/view_manager/view_manager.mojom',
494 'services/public/interfaces/view_manager/view_manager_constants.mojom', 496 'services/public/interfaces/view_manager/view_manager_constants.mojom',
495 ], 497 ],
496 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 498 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
497 'dependencies': [ 499 'dependencies': [
498 'mojo_base.gyp:mojo_application_bindings', 500 'mojo_base.gyp:mojo_application_bindings',
499 'mojo_base.gyp:mojo_cpp_bindings', 501 'mojo_base.gyp:mojo_cpp_bindings',
500 'mojo_geometry_bindings', 502 'mojo_geometry_bindings',
501 'mojo_input_events_bindings', 503 'mojo_input_events_bindings',
504 'mojo_surface_id_bindings',
502 ], 505 ],
503 'export_dependent_settings': [ 506 'export_dependent_settings': [
504 'mojo_base.gyp:mojo_application_bindings', 507 'mojo_base.gyp:mojo_application_bindings',
505 'mojo_base.gyp:mojo_cpp_bindings', 508 'mojo_base.gyp:mojo_cpp_bindings',
506 'mojo_geometry_bindings', 509 'mojo_geometry_bindings',
507 'mojo_input_events_bindings', 510 'mojo_input_events_bindings',
511 'mojo_surface_id_bindings',
508 ], 512 ],
509 }, 513 },
510 { 514 {
511 # GN version: //mojo/services/public/cpp/view_manager 515 # GN version: //mojo/services/public/cpp/view_manager
512 'target_name': 'mojo_view_manager_lib', 516 'target_name': 'mojo_view_manager_lib',
513 'type': 'static_library', 517 'type': 'static_library',
514 'dependencies': [ 518 'dependencies': [
515 '../base/base.gyp:base', 519 '../base/base.gyp:base',
516 '../skia/skia.gyp:skia', 520 '../skia/skia.gyp:skia',
517 '../ui/events/events.gyp:events', 521 '../ui/events/events.gyp:events',
518 '../ui/gfx/gfx.gyp:gfx', 522 '../ui/gfx/gfx.gyp:gfx',
519 '../ui/gfx/gfx.gyp:gfx_geometry', 523 '../ui/gfx/gfx.gyp:gfx_geometry',
524 '../third_party/khronos/khronos.gyp:khronos_headers',
520 'mojo_base.gyp:mojo_application_chromium', 525 'mojo_base.gyp:mojo_application_chromium',
521 'mojo_base.gyp:mojo_application_bindings', 526 'mojo_base.gyp:mojo_application_bindings',
522 'mojo_core_window_manager_bindings', 527 'mojo_core_window_manager_bindings',
523 'mojo_geometry_bindings', 528 'mojo_geometry_bindings',
524 'mojo_geometry_lib', 529 'mojo_geometry_lib',
530 'mojo_surfaces_bindings',
531 'mojo_surfaces_lib',
525 'mojo_view_manager_bindings', 532 'mojo_view_manager_bindings',
526 'mojo_view_manager_common', 533 'mojo_view_manager_common',
534 'mojo_gpu_bindings',
535 ],
536 'includes': [
537 'mojo_public_gles2_for_loadable_module.gypi',
527 ], 538 ],
528 'sources': [ 539 'sources': [
540 'services/public/cpp/view_manager/lib/bitmap_uploader.cc',
541 'services/public/cpp/view_manager/lib/bitmap_uploader.h',
529 'services/public/cpp/view_manager/lib/view.cc', 542 'services/public/cpp/view_manager/lib/view.cc',
530 'services/public/cpp/view_manager/lib/view_manager_client_factory.cc', 543 'services/public/cpp/view_manager/lib/view_manager_client_factory.cc',
531 'services/public/cpp/view_manager/lib/view_manager_client_impl.cc', 544 'services/public/cpp/view_manager/lib/view_manager_client_impl.cc',
532 'services/public/cpp/view_manager/lib/view_manager_client_impl.h', 545 'services/public/cpp/view_manager/lib/view_manager_client_impl.h',
533 'services/public/cpp/view_manager/lib/view_observer.cc', 546 'services/public/cpp/view_manager/lib/view_observer.cc',
534 'services/public/cpp/view_manager/lib/view_private.cc', 547 'services/public/cpp/view_manager/lib/view_private.cc',
535 'services/public/cpp/view_manager/lib/view_private.h', 548 'services/public/cpp/view_manager/lib/view_private.h',
536 'services/public/cpp/view_manager/view.h', 549 'services/public/cpp/view_manager/view.h',
537 'services/public/cpp/view_manager/view_manager.h', 550 'services/public/cpp/view_manager/view_manager.h',
538 'services/public/cpp/view_manager/view_manager_client_factory.h', 551 'services/public/cpp/view_manager/view_manager_client_factory.h',
539 'services/public/cpp/view_manager/view_manager_delegate.h', 552 'services/public/cpp/view_manager/view_manager_delegate.h',
540 'services/public/cpp/view_manager/view_observer.h', 553 'services/public/cpp/view_manager/view_observer.h',
541 'services/public/cpp/view_manager/window_manager_delegate.h', 554 'services/public/cpp/view_manager/window_manager_delegate.h',
542 ], 555 ],
543 'export_dependent_settings': [ 556 'export_dependent_settings': [
557 'mojo_gpu_bindings',
558 'mojo_surfaces_bindings',
544 'mojo_view_manager_bindings', 559 'mojo_view_manager_bindings',
545 ], 560 ],
546 }, 561 },
547 { 562 {
548 # GN version: //mojo/services/public/cpp/view_manager/tests:mojo_view_mana ger_lib_unittests 563 # GN version: //mojo/services/public/cpp/view_manager/tests:mojo_view_mana ger_lib_unittests
549 'target_name': 'mojo_view_manager_lib_unittests', 564 'target_name': 'mojo_view_manager_lib_unittests',
550 'type': 'executable', 565 'type': 'executable',
551 'dependencies': [ 566 'dependencies': [
552 '../base/base.gyp:base', 567 '../base/base.gyp:base',
553 '../base/base.gyp:test_support_base', 568 '../base/base.gyp:test_support_base',
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 ['use_aura==1', { 711 ['use_aura==1', {
697 'targets': [ 712 'targets': [
698 { 713 {
699 # GN version: //mojo/services/view_manager 714 # GN version: //mojo/services/view_manager
700 'target_name': 'mojo_view_manager', 715 'target_name': 'mojo_view_manager',
701 'type': '<(component)', 716 'type': '<(component)',
702 'dependencies': [ 717 'dependencies': [
703 '../base/base.gyp:base', 718 '../base/base.gyp:base',
704 '../cc/cc.gyp:cc', 719 '../cc/cc.gyp:cc',
705 '../skia/skia.gyp:skia', 720 '../skia/skia.gyp:skia',
706 '../ui/aura/aura.gyp:aura', 721 '../ui/aura/aura.gyp:aura',
sky 2014/09/03 22:45:28 You should be able to remove some of these depdend
jamesr 2014/09/03 23:32:47 Done.
707 '../ui/base/ui_base.gyp:ui_base', 722 '../ui/base/ui_base.gyp:ui_base',
708 '../ui/compositor/compositor.gyp:compositor', 723 '../ui/compositor/compositor.gyp:compositor',
709 '../ui/events/events.gyp:events', 724 '../ui/events/events.gyp:events',
710 '../ui/events/events.gyp:events_base', 725 '../ui/events/events.gyp:events_base',
711 '../ui/gfx/gfx.gyp:gfx', 726 '../ui/gfx/gfx.gyp:gfx',
712 '../ui/gfx/gfx.gyp:gfx_geometry', 727 '../ui/gfx/gfx.gyp:gfx_geometry',
713 '../ui/gl/gl.gyp:gl', 728 '../ui/gl/gl.gyp:gl',
714 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', 729 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
715 'mojo_base.gyp:mojo_common_lib', 730 'mojo_base.gyp:mojo_common_lib',
716 'mojo_base.gyp:mojo_application_chromium', 731 'mojo_base.gyp:mojo_application_chromium',
(...skipping 13 matching lines...) Expand all
730 'services/view_manager/access_policy.h', 745 'services/view_manager/access_policy.h',
731 'services/view_manager/access_policy_delegate.h', 746 'services/view_manager/access_policy_delegate.h',
732 'services/view_manager/connection_manager.cc', 747 'services/view_manager/connection_manager.cc',
733 'services/view_manager/connection_manager.h', 748 'services/view_manager/connection_manager.h',
734 'services/view_manager/context_factory_impl.cc', 749 'services/view_manager/context_factory_impl.cc',
735 'services/view_manager/context_factory_impl.h', 750 'services/view_manager/context_factory_impl.h',
736 'services/view_manager/default_access_policy.cc', 751 'services/view_manager/default_access_policy.cc',
737 'services/view_manager/default_access_policy.h', 752 'services/view_manager/default_access_policy.h',
738 'services/view_manager/display_manager.cc', 753 'services/view_manager/display_manager.cc',
739 'services/view_manager/display_manager.h', 754 'services/view_manager/display_manager.h',
740 'services/view_manager/display_manager_delegate.h',
741 'services/view_manager/ids.h', 755 'services/view_manager/ids.h',
742 'services/view_manager/main.cc', 756 'services/view_manager/main.cc',
743 'services/view_manager/screen_impl.cc',
744 'services/view_manager/screen_impl.h',
745 'services/view_manager/server_view.cc', 757 'services/view_manager/server_view.cc',
746 'services/view_manager/server_view.h', 758 'services/view_manager/server_view.h',
747 'services/view_manager/server_view_delegate.h', 759 'services/view_manager/server_view_delegate.h',
748 'services/view_manager/view_manager_export.h', 760 'services/view_manager/view_manager_export.h',
749 'services/view_manager/view_manager_init_service_context.cc', 761 'services/view_manager/view_manager_init_service_context.cc',
750 'services/view_manager/view_manager_init_service_context.h', 762 'services/view_manager/view_manager_init_service_context.h',
751 'services/view_manager/view_manager_init_service_impl.cc', 763 'services/view_manager/view_manager_init_service_impl.cc',
752 'services/view_manager/view_manager_init_service_impl.h', 764 'services/view_manager/view_manager_init_service_impl.h',
753 'services/view_manager/view_manager_service_impl.cc', 765 'services/view_manager/view_manager_service_impl.cc',
754 'services/view_manager/view_manager_service_impl.h', 766 'services/view_manager/view_manager_service_impl.h',
755 'services/view_manager/window_manager_access_policy.cc', 767 'services/view_manager/window_manager_access_policy.cc',
756 'services/view_manager/window_manager_access_policy.h', 768 'services/view_manager/window_manager_access_policy.h',
757 'services/view_manager/window_tree_host_impl.cc',
758 'services/view_manager/window_tree_host_impl.h',
759 ], 769 ],
760 'defines': [ 770 'defines': [
761 'MOJO_VIEW_MANAGER_IMPLEMENTATION', 771 'MOJO_VIEW_MANAGER_IMPLEMENTATION',
762 ], 772 ],
763 }, 773 },
764 { 774 {
765 # GN version: //mojo/services/public/cpp/view_manager/lib:run_unittest s 775 # GN version: //mojo/services/public/cpp/view_manager/lib:run_unittest s
766 'target_name': 'mojo_view_manager_run_unittests', 776 'target_name': 'mojo_view_manager_run_unittests',
767 'type': 'static_library', 777 'type': 'static_library',
768 'dependencies': [ 778 'dependencies': [
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 'dependencies': [ 903 'dependencies': [
894 '../ui/gfx/x/gfx_x11.gyp:gfx_x11', 904 '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
895 ], 905 ],
896 }], 906 }],
897 ], 907 ],
898 }, 908 },
899 ], 909 ],
900 }], 910 }],
901 ], 911 ],
902 } 912 }
OLDNEW
« no previous file with comments | « no previous file | mojo/services/native_viewport/viewport_surface.cc » ('j') | mojo/services/view_manager/connection_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698