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

Unified Diff: apps/moterm/BUILD.gn

Issue 1128333002: Moterm part 2: Add MotermDriver, a terminal "driver". (Closed) Base URL: https://github.com/domokit/mojo.git@moterm_model
Patch Set: rebased again 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/moterm_driver.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 2d20419eae4417d431d23305d9bda54bba8c2167..4b7b8e8dcb414dd62c71f7950b110694a5b0157f 100644
--- a/apps/moterm/BUILD.gn
+++ b/apps/moterm/BUILD.gn
@@ -4,6 +4,19 @@
import("//mojo/public/mojo_application.gni")
+source_set("driver") {
+ sources = [
+ "moterm_driver.cc",
+ "moterm_driver.h",
+ ]
+
+ public_deps = [
+ "//base",
+ "//mojo/public/cpp/bindings",
+ "//mojo/services/files/public/interfaces",
+ ]
+}
+
source_set("model") {
sources = [
"moterm_model.cc",
@@ -27,13 +40,16 @@ mojo_native_application("apptests") {
testonly = true
sources = [
+ "moterm_driver_unittest.cc",
"moterm_model_unittest.cc",
]
deps = [
+ ":driver",
":model",
"//mojo/application",
"//mojo/application:test_support",
+ "//mojo/public/cpp/bindings:callback",
"//testing/gtest",
]
}
« no previous file with comments | « no previous file | apps/moterm/moterm_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698