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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « examples/BUILD.gn ('k') | examples/echo_terminal/README.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 mojo_native_application("tracing") { 8 mojo_native_application("echo_terminal") {
9 sources = [
10 "main.cc",
11 "trace_data_sink.cc",
12 "trace_data_sink.h",
13 ]
14
15 deps = [ 9 deps = [
16 ":bindings", 10 ":bindings",
17 "//base", 11 "//base",
18 "//mojo/application", 12 "//mojo/application",
19 "//mojo/common", 13 "//mojo/common",
20 "//mojo/public/cpp/application", 14 "//mojo/public/cpp/application",
21 "//mojo/public/cpp/system", 15 "//mojo/public/cpp/system",
22 ] 16 ]
17
18 sources = [
19 "main.cc",
20 ]
23 } 21 }
24 22
25 mojom("bindings") { 23 mojom("bindings") {
24 public_deps = [
25 "//services/files:bindings",
26 ]
27
26 sources = [ 28 sources = [
27 "tracing.mojom", 29 "terminal_client.mojom",
28 ] 30 ]
29 } 31 }
OLDNEW
« 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