| 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/mojo_application_manifest.gni") | 6 import("//mojo/public/mojo_application_manifest.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 avoid_runner_cycle = true | 13 avoid_runner_cycle = true |
| 14 | 14 |
| 15 deps = [ | 15 deps = [ |
| 16 ":lib", | 16 ":lib", |
| 17 "//mojo/public/cpp/system", | 17 "//mojo/public/cpp/system", |
| 18 "//mojo/shell/public/cpp", | 18 "//services/shell/public/cpp", |
| 19 ] | 19 ] |
| 20 | 20 |
| 21 data_deps = [ | 21 data_deps = [ |
| 22 ":manifest", | 22 ":manifest", |
| 23 ] | 23 ] |
| 24 } | 24 } |
| 25 | 25 |
| 26 mojo_application_manifest("manifest") { | 26 mojo_application_manifest("manifest") { |
| 27 application_name = "tracing" | 27 application_name = "tracing" |
| 28 source = "manifest.json" | 28 source = "manifest.json" |
| 29 } | 29 } |
| 30 | 30 |
| 31 source_set("lib") { | 31 source_set("lib") { |
| 32 sources = [ | 32 sources = [ |
| 33 "trace_data_sink.cc", | 33 "trace_data_sink.cc", |
| 34 "trace_data_sink.h", | 34 "trace_data_sink.h", |
| 35 "trace_recorder_impl.cc", | 35 "trace_recorder_impl.cc", |
| 36 "trace_recorder_impl.h", | 36 "trace_recorder_impl.h", |
| 37 "tracing_app.cc", | 37 "tracing_app.cc", |
| 38 "tracing_app.h", | 38 "tracing_app.h", |
| 39 ] | 39 ] |
| 40 | 40 |
| 41 deps = [ | 41 deps = [ |
| 42 "//base", | 42 "//base", |
| 43 "//mojo/common:common_base", | 43 "//mojo/common:common_base", |
| 44 "//mojo/services/tracing/public/interfaces", | 44 "//mojo/services/tracing/public/interfaces", |
| 45 "//mojo/shell/public/cpp", | 45 "//services/shell/public/cpp", |
| 46 ] | 46 ] |
| 47 } | 47 } |
| OLD | NEW |