OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | |
7 | 6 |
8 mojo_native_application("tracing") { | 7 mojo_native_application("tracing") { |
9 sources = [ | 8 sources = [ |
10 "main.cc", | 9 "main.cc", |
11 ] | 10 ] |
12 | 11 |
13 deps = [ | 12 deps = [ |
14 ":lib", | 13 ":lib", |
15 "//mojo/application/public/cpp", | 14 "//mojo/application/public/cpp", |
16 "//third_party/mojo/src/mojo/public/cpp/system", | 15 "//third_party/mojo/src/mojo/public/cpp/system", |
17 ] | 16 ] |
18 } | 17 } |
19 | 18 |
20 mojom("bindings") { | |
21 sources = [ | |
22 "tracing.mojom", | |
23 ] | |
24 } | |
25 | |
26 source_set("lib") { | 19 source_set("lib") { |
27 sources = [ | 20 sources = [ |
28 "trace_data_sink.cc", | 21 "trace_data_sink.cc", |
29 "trace_data_sink.h", | 22 "trace_data_sink.h", |
30 "tracing_app.cc", | 23 "tracing_app.cc", |
31 "tracing_app.h", | 24 "tracing_app.h", |
32 ] | 25 ] |
33 | 26 |
34 deps = [ | 27 deps = [ |
35 ":bindings", | |
36 "//base", | 28 "//base", |
37 "//mojo/application/public/cpp", | 29 "//mojo/application/public/cpp", |
38 "//mojo/common:common_base", | 30 "//mojo/common:common_base", |
| 31 "//mojo/services/tracing/public/interfaces", |
39 ] | 32 ] |
40 } | 33 } |
OLD | NEW |