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

Unified Diff: ui/keyboard/keyboard.gyp

Issue 328303008: athena: Use mojo to provide the bindings for the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 years, 4 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 | « ui/keyboard/keyboard.cc ('k') | ui/keyboard/keyboard_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard.gyp
diff --git a/ui/keyboard/keyboard.gyp b/ui/keyboard/keyboard.gyp
index 34c265d98c1faa9410d5783372139d0191bbe15c..05bfc86da61c9abc36e1dd551c0f341df024f2ff 100644
--- a/ui/keyboard/keyboard.gyp
+++ b/ui/keyboard/keyboard.gyp
@@ -5,11 +5,21 @@
{
'variables': {
'chromium_code': 1,
+ 'keyboard_mojom_gen_js': '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/webui/keyboard.mojom.js',
},
'targets': [
{
+ 'target_name': 'keyboard_mojom_bindings',
+ 'type': 'none',
+ 'sources': [
+ 'webui/keyboard.mojom',
+ ],
+ 'includes': [ '../../mojo/public/tools/bindings/mojom_bindings_generator.gypi' ],
+ },
+ {
# GN version: //ui/keyboard:resources
'target_name': 'keyboard_resources',
+ 'dependencies': [ 'keyboard_mojom_bindings', ],
'type': 'none',
'variables': {
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard',
@@ -19,6 +29,9 @@
'action_name': 'keyboard_resources',
'variables': {
'grit_grd_file': 'keyboard_resources.grd',
+ 'grit_additional_defines': [
+ '-E', 'keyboard_mojom_gen_js=<(keyboard_mojom_gen_js)',
+ ],
},
'includes': [ '../../build/grit_action.gypi' ],
},
@@ -41,7 +54,12 @@
'../../base/base.gyp:base',
'../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../../content/content.gyp:content_browser',
+ '../../content/content_resources.gyp:content_resources',
'../../ipc/ipc.gyp:ipc',
+ '../../mojo/mojo_base.gyp:mojo_cpp_bindings',
+ '../../mojo/mojo_base.gyp:mojo_environment_chromium',
+ '../../mojo/mojo_base.gyp:mojo_js_bindings',
+ '../../mojo/mojo_base.gyp:mojo_system_impl',
'../../skia/skia.gyp:skia',
'../../url/url.gyp:url_lib',
'../aura/aura.gyp:aura',
@@ -51,6 +69,7 @@
'../gfx/gfx.gyp:gfx',
'../gfx/gfx.gyp:gfx_geometry',
'../wm/wm.gyp:wm',
+ 'keyboard_mojom_bindings',
'keyboard_resources',
],
'defines': [
@@ -73,6 +92,11 @@
'keyboard_switches.h',
'keyboard_util.cc',
'keyboard_util.h',
+ 'webui/vk_mojo_handler.cc',
+ 'webui/vk_mojo_handler.h',
+ 'webui/vk_webui_controller.cc',
+ 'webui/vk_webui_controller.h',
+ '<(SHARED_INTERMEDIATE_DIR)/ui/keyboard/webui/keyboard.mojom.cc',
]
},
{
« no previous file with comments | « ui/keyboard/keyboard.cc ('k') | ui/keyboard/keyboard_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698