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

Unified Diff: examples/echo_terminal/BUILD.gn

Issue 999193002: Add a simple prototype "terminal" example. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: review comments Created 5 years, 9 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 | « examples/BUILD.gn ('k') | examples/echo_terminal/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/echo_terminal/BUILD.gn
diff --git a/services/tracing/BUILD.gn b/examples/echo_terminal/BUILD.gn
similarity index 69%
copy from services/tracing/BUILD.gn
copy to examples/echo_terminal/BUILD.gn
index d972277dd4c12a1bb799ec78013d7fd3c6ec31cf..b41f8032bcfa182d841e9704838bcfa02cf99dbb 100644
--- a/services/tracing/BUILD.gn
+++ b/examples/echo_terminal/BUILD.gn
@@ -1,17 +1,11 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
+# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//mojo/public/mojo_application.gni")
import("//mojo/public/tools/bindings/mojom.gni")
-mojo_native_application("tracing") {
- sources = [
- "main.cc",
- "trace_data_sink.cc",
- "trace_data_sink.h",
- ]
-
+mojo_native_application("echo_terminal") {
deps = [
":bindings",
"//base",
@@ -20,10 +14,18 @@ mojo_native_application("tracing") {
"//mojo/public/cpp/application",
"//mojo/public/cpp/system",
]
+
+ sources = [
+ "main.cc",
+ ]
}
mojom("bindings") {
+ public_deps = [
+ "//services/files:bindings",
+ ]
+
sources = [
- "tracing.mojom",
+ "terminal_client.mojom",
]
}
« no previous file with comments | « examples/BUILD.gn ('k') | examples/echo_terminal/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698