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