OLD | NEW |
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 } |
OLD | NEW |