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

Unified Diff: apps/moterm/BUILD.gn

Issue 1130093003: Moterm part 4: Add input event -> input character conversion function. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | apps/moterm/key_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/moterm/BUILD.gn
diff --git a/apps/moterm/BUILD.gn b/apps/moterm/BUILD.gn
index b4cf564b709263efb06cbd86602df24672b40f18..b5a807885951280078de7781687dfa7c9bbe3782 100644
--- a/apps/moterm/BUILD.gn
+++ b/apps/moterm/BUILD.gn
@@ -63,6 +63,21 @@ source_set("gl_helper") {
]
}
+source_set("key_util") {
+ sources = [
+ "key_util.cc",
+ "key_util.h",
+ ]
+
+ deps = [
+ "//base",
+ ]
+
+ public_deps = [
+ "//mojo/services/input_events/public/interfaces",
+ ]
+}
+
source_set("model") {
sources = [
"moterm_model.cc",
@@ -87,6 +102,7 @@ mojo_native_application("apptests") {
sources = [
"gl_helper_unittest.cc",
+ "key_util_unittest.cc",
"moterm_driver_unittest.cc",
"moterm_model_unittest.cc",
]
@@ -94,6 +110,7 @@ mojo_native_application("apptests") {
deps = [
":driver",
":gl_helper",
+ ":key_util",
":model",
"//mojo/application",
"//mojo/application:test_support",
« no previous file with comments | « no previous file | apps/moterm/key_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698