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