blob: cc5cde117e6388e5acb2804a2eccd8f2b09daffd [file] [log] [blame]
# Copyright 2016 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//packages/package.gni")
executable("bin") {
output_name = "trace_manager"
sources = [
"app.cc",
"app.h",
"config.cc",
"config.h",
"main.cc",
"trace_manager.cc",
"trace_manager.h",
"trace_provider_bundle.cc",
"trace_provider_bundle.h",
"trace_session.cc",
"trace_session.h",
"tracee.cc",
"tracee.h",
]
deps = [
"//garnet/public/lib/app/cpp",
"//garnet/public/lib/fsl",
"//garnet/public/lib/fxl",
"//garnet/public/lib/tracing/fidl",
"//third_party/rapidjson",
"//zircon/system/ulib/trace-provider",
]
}
package("trace_manager") {
archive = true
deps = [
":bin",
]
binaries = [ {
name = "trace_manager"
dest = "app"
} ]
resources = [ {
path = rebase_path("tracing.config")
dest = "tracing.config"
} ]
}