summaryrefslogtreecommitdiffstats
path: root/mojo/mojo.gyp
diff options
context:
space:
mode:
authorhoro <horo@chromium.org>2014-09-17 01:22:25 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-17 08:22:37 +0000
commitdb2b72884a57f1598624f02cde34264a4b7e8829 (patch)
tree1f5c8e9257526ff6f82466b5d03e85af39e85dff /mojo/mojo.gyp
parent2e4cb78d9820419b5c05311c3d92c6891e23e8be (diff)
downloadchromium_src-db2b72884a57f1598624f02cde34264a4b7e8829.zip
chromium_src-db2b72884a57f1598624f02cde34264a4b7e8829.tar.gz
chromium_src-db2b72884a57f1598624f02cde34264a4b7e8829.tar.bz2
Revert of Second attempt to land change to remove NativeViewportService and (patchset #9 id:160001 of https://codereview.chromium.org/568883003/)
Reason for revert: ViewManagerTest failure. http://test-results.appspot.com/dashboards/flakiness_dashboard.html#master=chromium.win&testType=mojo_view_manager_unittests&tests=ViewManagerTest.AddAncestorFails,ViewManagerTest.AddViewWithNoChange,ViewManagerTest.CantAccessChildrenOfEmbeddedView,ViewManagerTest.CantGetViewTreeOfOtherRoots,ViewManagerTest.CantModifyChildrenOfEmbeddedView,ViewManagerTest.CantRemoveViewsInOtherRoots,ViewManagerTest.CreateView,ViewManagerTest.DeleteView,ViewManagerTest.DeleteViewFromAnotherConnectionDisallowed,ViewManagerTest.EmbedWithSameViewId,ViewManagerTest.EmbedWithSameViewId2,ViewManagerTest.MultipleEmbedRootsBeforeWTHReady,ViewManagerTest.OnViewInput,ViewManagerTest.ReorderView,ViewManagerTest.ReuseDeletedViewId,ViewManagerTest.SetViewVisibility,ViewManagerTest.SetViewVisibilityNotifications,ViewManagerTest.ViewHierarchyChangedAddingKnownToUnknown,ViewManagerTest.ViewHierarchyChangedViews,ViewManagerTest.ViewsRemovedWhenEmbedding Original issue's description: > Second attempt to land change to remove NativeViewportService and > ViewManager from mojo_shell. First attempt here: > https://codereview.chromium.org/477923004/ > > Failed the linux gn dbg build after cq landed: > http://build.chromium.org/p/chromium.linux/builders/Linux%20GN%20%28dbg%29/builds/12251 > > BUG= > TBR=ben@chromium.org > > Committed: https://crrev.com/d3e622b0bb31f20c274bc9ad634b8ee7bae99ac1 > Cr-Commit-Position: refs/heads/master@{#295230} TBR=jamesr@chromium.org,davemoore@chromium.org NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/578793002 Cr-Commit-Position: refs/heads/master@{#295245}
Diffstat (limited to 'mojo/mojo.gyp')
-rw-r--r--mojo/mojo.gyp47
1 files changed, 35 insertions, 12 deletions
diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp
index 37b91d7..890af4e 100644
--- a/mojo/mojo.gyp
+++ b/mojo/mojo.gyp
@@ -40,7 +40,7 @@
'mojo_geometry_lib',
'mojo_html_viewer',
'mojo_js',
- 'mojo_native_viewport_service',
+ 'mojo_native_viewport_service_lib',
'mojo_network_service',
'mojo_pepper_container_app',
'mojo_png_viewer',
@@ -148,6 +148,8 @@
'../base/base.gyp:base',
'../base/base.gyp:base_static',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+ '../net/net.gyp:net',
+ '../url/url.gyp:url_lib',
'mojo_application_manager',
'mojo_base.gyp:mojo_application_bindings',
'mojo_base.gyp:mojo_common_lib',
@@ -155,6 +157,7 @@
'mojo_base.gyp:mojo_system_impl',
'mojo_base.gyp:mojo_application_chromium',
'mojo_external_service_bindings',
+ 'mojo_native_viewport_service_lib',
'mojo_network_bindings',
'mojo_spy',
],
@@ -192,13 +195,10 @@
'shell/test_child_process.h',
'shell/ui_application_loader_android.cc',
'shell/ui_application_loader_android.h',
+ 'shell/view_manager_loader.cc',
+ 'shell/view_manager_loader.h',
],
'conditions': [
- ['component=="shared_library"', {
- 'dependencies': [
- '../ui/gl/gl.gyp:gl',
- ],
- }],
['OS=="linux"', {
'dependencies': [
'../build/linux/system.gyp:dbus',
@@ -208,13 +208,25 @@
['OS=="android"', {
'dependencies': [
'mojo_network_service_lib',
- 'mojo_native_viewport_service_lib',
],
'sources': [
'shell/network_application_loader.cc',
'shell/network_application_loader.h',
],
}],
+ ['use_aura==1', {
+ 'dependencies': [
+ # These are only necessary as long as we hard code use of ViewManager.
+ '../skia/skia.gyp:skia',
+ 'mojo_view_manager',
+ 'mojo_view_manager_bindings',
+ ],
+ }, { # use_aura==0
+ 'sources!': [
+ 'shell/view_manager_loader.cc',
+ 'shell/view_manager_loader.h',
+ ],
+ }],
],
},
{
@@ -222,7 +234,10 @@
'target_name': 'mojo_shell_test_support',
'type': 'static_library',
'dependencies': [
+ '../base/base.gyp:base',
'../base/base.gyp:base_static',
+ '../url/url.gyp:url_lib',
+ 'mojo_application_manager',
'mojo_base.gyp:mojo_system_impl',
'mojo_shell_lib',
],
@@ -237,20 +252,24 @@
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
+ '../ui/gl/gl.gyp:gl',
+ '../url/url.gyp:url_lib',
+ 'mojo_application_manager',
'mojo_base.gyp:mojo_common_lib',
'mojo_base.gyp:mojo_environment_chromium',
+ 'mojo_base.gyp:mojo_system_impl',
'mojo_shell_lib',
],
- 'sources': [
- 'shell/desktop/mojo_main.cc',
- ],
'conditions': [
- ['component=="shared_library"', {
+ ['use_ozone==1', {
'dependencies': [
- '../ui/gfx/gfx.gyp:gfx',
+ '../ui/ozone/ozone.gyp:ozone',
],
}],
],
+ 'sources': [
+ 'shell/desktop/mojo_main.cc',
+ ],
},
{
# GN version: //mojo/shell:mojo_shell_tests
@@ -262,6 +281,8 @@
'../base/base.gyp:test_support_base',
'../testing/gtest.gyp:gtest',
'../net/net.gyp:net_test_support',
+ # TODO(vtl): We don't currently need this, but I imagine we will soon.
+ # '../ui/gl/gl.gyp:gl',
'../url/url.gyp:url_lib',
'mojo_application_manager',
'mojo_base.gyp:mojo_common_lib',
@@ -299,6 +320,7 @@
'dependencies': [
'../base/base.gyp:base',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+ '../net/net.gyp:net',
'../url/url.gyp:url_lib',
'mojo_content_handler_bindings',
'mojo_network_bindings',
@@ -460,6 +482,7 @@
'../ui/compositor/compositor.gyp:compositor',
'../ui/events/events.gyp:events',
'../ui/events/events.gyp:events_base',
+ '../ui/gl/gl.gyp:gl',
'../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
'mojo_cc_support',
'mojo_native_viewport_bindings',