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("//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("tracing") { |
9 sources = [ | 9 sources = [ |
10 "main.cc", | 10 "main.cc", |
| 11 ] |
| 12 |
| 13 deps = [ |
| 14 ":lib", |
| 15 "//mojo/application", |
| 16 ] |
| 17 } |
| 18 |
| 19 source_set("lib") { |
| 20 sources = [ |
11 "trace_data_sink.cc", | 21 "trace_data_sink.cc", |
12 "trace_data_sink.h", | 22 "trace_data_sink.h", |
13 "trace_recorder_impl.cc", | 23 "trace_recorder_impl.cc", |
14 "trace_recorder_impl.h", | 24 "trace_recorder_impl.h", |
15 "tracing_app.cc", | 25 "tracing_app.cc", |
16 "tracing_app.h", | 26 "tracing_app.h", |
17 ] | 27 ] |
18 | 28 |
19 deps = [ | 29 deps = [ |
20 "//base", | 30 "//base", |
21 "//mojo/application", | 31 "//mojo/application", |
22 "//mojo/common", | 32 "//mojo/common", |
23 "//mojo/data_pipe_utils", | 33 "//mojo/data_pipe_utils", |
24 "//mojo/public/cpp/application", | 34 "//mojo/public/cpp/application", |
25 "//mojo/public/cpp/system", | 35 "//mojo/public/cpp/system", |
26 "//mojo/services/tracing/interfaces", | 36 "//mojo/services/tracing/interfaces", |
27 ] | 37 ] |
28 } | 38 } |
OLD | NEW |