diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-17 15:38:53 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-17 15:38:53 +0000 |
commit | 16199f153a7702b105c1deafc9c3e9aaad152048 (patch) | |
tree | ff7cb9fcadc7df93d094f9ad4c06641f9767ecb2 /mojo/mojo_services.gypi | |
parent | 936754086aedb9662f6852c7a0b4882c8ade0b4b (diff) | |
download | chromium_src-16199f153a7702b105c1deafc9c3e9aaad152048.zip chromium_src-16199f153a7702b105c1deafc9c3e9aaad152048.tar.gz chromium_src-16199f153a7702b105c1deafc9c3e9aaad152048.tar.bz2 |
Add the skeleton of a window manager service and a CreateWindow method.
R=sky@chromium.org
BUG=
Review URL: https://codereview.chromium.org/396563002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283786 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/mojo_services.gypi')
-rw-r--r-- | mojo/mojo_services.gypi | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/mojo/mojo_services.gypi b/mojo/mojo_services.gypi index f31f11c..c7ffa7f 100644 --- a/mojo/mojo_services.gypi +++ b/mojo/mojo_services.gypi @@ -633,6 +633,20 @@ 'services/test_service/test_request_tracker_impl.h', ], }, + { + 'target_name': 'mojo_core_window_manager_bindings', + 'type': 'static_library', + 'sources': [ + 'services/public/interfaces/window_manager/window_manager.mojom', + ], + 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], + 'export_dependent_settings': [ + 'mojo_cpp_bindings', + ], + 'dependencies': [ + 'mojo_cpp_bindings', + ], + }, ], 'conditions': [ ['use_aura==1', { @@ -761,6 +775,63 @@ }, 'includes': [ 'build/package_app.gypi' ], }, + { + 'target_name': 'mojo_core_window_manager', + 'type': 'loadable_module', + 'dependencies': [ + '../base/base.gyp:base', + '../ui/base/ui_base.gyp:ui_base', + '../ui/gfx/gfx.gyp:gfx', + '../ui/gfx/gfx.gyp:gfx_geometry', + '../ui/wm/wm.gyp:wm', + 'mojo_application', + 'mojo_aura_support', + 'mojo_common_lib', + 'mojo_core_window_manager_bindings', + 'mojo_environment_chromium', + 'mojo_view_manager_lib', + '<(mojo_system_for_loadable_module)', + ], + 'sources': [ + 'public/cpp/application/lib/mojo_main_chromium.cc', + 'services/window_manager/window_manager_app.cc', + 'services/window_manager/window_manager_app.h', + 'services/window_manager/window_manager_service_impl.cc', + 'services/window_manager/window_manager_service_impl.h', + ], + }, + { + 'target_name': 'mojo_core_window_manager_unittests', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:test_support_base', + '../testing/gtest.gyp:gtest', + '../ui/gl/gl.gyp:gl', + 'mojo_core_window_manager_bindings', + 'mojo_environment_chromium', + 'mojo_service_manager', + 'mojo_shell_test_support', + 'mojo_system_impl', + 'mojo_view_manager_bindings', + ], + 'sources': [ + 'services/window_manager/window_manager_api_unittest.cc', + 'services/window_manager/window_manager_unittests.cc', + ], + 'conditions': [ + ['OS=="linux"', { + 'dependencies': [ + '../third_party/mesa/mesa.gyp:osmesa', + 'mojo_native_viewport_service', + ], + }], + ['use_x11==1', { + 'dependencies': [ + '../ui/gfx/x/gfx_x11.gyp:gfx_x11', + ], + }], + ], + }, ], }], ['OS=="linux"', { |