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

Unified Diff: mojo/mojo.gyp

Issue 51373002: NativeViewport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nl Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/examples/sample_app/sample_app.cc ('k') | mojo/services/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo.gyp
diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp
index d363175fb4650c5bf230078230da11d78afb4047..515cfe100c4988f3ffa564f1f4c3cdbd0b179727 100644
--- a/mojo/mojo.gyp
+++ b/mojo/mojo.gyp
@@ -63,7 +63,6 @@
},
{
'target_name': 'mojo_system',
- # TODO(vtl): This should probably be '<(component)'; make it work.
'type': '<(component)',
'dependencies': [
'../base/base.gyp:base',
@@ -139,6 +138,7 @@
'../net/net.gyp:net',
'../url/url.gyp:url_lib',
'mojo_system',
+ 'native_viewport',
],
'sources': [
'shell/app_container.cc',
@@ -194,7 +194,6 @@
'target_name': 'sample_app',
'type': 'shared_library',
'dependencies': [
- '../base/base.gyp:base',
'mojo_system',
],
'sources': [
@@ -246,6 +245,31 @@
'public/bindings/sample/sample_test.cc',
],
},
+ {
+ 'target_name': 'native_viewport',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../ui/gfx/gfx.gyp:gfx',
+ '../ui/events/events.gyp:events'
+ ],
+ 'sources': [
+ 'services/native_viewport/native_viewport.h',
+ 'services/native_viewport/native_viewport_android.cc',
+ 'services/native_viewport/native_viewport_controller.cc',
+ 'services/native_viewport/native_viewport_controller.h',
+ 'services/native_viewport/native_viewport_stub.cc',
+ 'services/native_viewport/native_viewport_win.cc',
+ 'services/native_viewport/native_viewport_x11.cc',
+ ],
+ 'conditions': [
+ ['OS=="win" or OS=="android" or OS=="linux"', {
+ 'sources!': [
+ 'services/native_viewport/native_viewport_stub.cc',
+ ],
+ }]
+ ],
+ },
],
'conditions': [
['OS=="android"', {
« no previous file with comments | « mojo/examples/sample_app/sample_app.cc ('k') | mojo/services/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698