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