| 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 ] | 11 ] |
| 12 | 12 |
| 13 deps = [ | 13 deps = [ |
| 14 ":lib", | 14 ":lib", |
| 15 "//mojo/application", | 15 "//mojo/application", |
| 16 ] | 16 ] |
| 17 } | 17 } |
| 18 | 18 |
| 19 # Library that allows the service code to be included directly into the |
| 20 # embedding shell. Used by https://manganese.googlesource.com/. |
| 19 source_set("lib") { | 21 source_set("lib") { |
| 20 sources = [ | 22 sources = [ |
| 21 "trace_data_sink.cc", | 23 "trace_data_sink.cc", |
| 22 "trace_data_sink.h", | 24 "trace_data_sink.h", |
| 23 "trace_recorder_impl.cc", | 25 "trace_recorder_impl.cc", |
| 24 "trace_recorder_impl.h", | 26 "trace_recorder_impl.h", |
| 25 "tracing_app.cc", | 27 "tracing_app.cc", |
| 26 "tracing_app.h", | 28 "tracing_app.h", |
| 27 ] | 29 ] |
| 28 | 30 |
| 29 deps = [ | 31 deps = [ |
| 30 "//base", | 32 "//base", |
| 31 "//mojo/application", | 33 "//mojo/application", |
| 32 "//mojo/common", | 34 "//mojo/common", |
| 33 "//mojo/data_pipe_utils", | 35 "//mojo/data_pipe_utils", |
| 34 "//mojo/public/cpp/application", | 36 "//mojo/public/cpp/application", |
| 35 "//mojo/public/cpp/system", | 37 "//mojo/public/cpp/system", |
| 36 "//mojo/services/tracing/interfaces", | 38 "//mojo/services/tracing/interfaces", |
| 37 ] | 39 ] |
| 38 } | 40 } |
| OLD | NEW |