blob: 6af3feb031168a0f15795352cbd71bd2e14130da [file] [log] [blame]
# Copyright 2020 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("../../build/ffx_plugin.gni")
ffx_plugin("ffx_log") {
version = "0.1.0"
edition = "2018"
with_unit_tests = true
args_with_unit_tests = true
args_deps = [
"//sdk/fidl/fuchsia.developer.bridge:fuchsia.developer.bridge-rustc",
"//sdk/fidl/fuchsia.diagnostics:fuchsia.diagnostics-rustc",
"//src/lib/diagnostics/data/rust",
"//src/lib/diagnostics/selectors",
"//third_party/rust_crates:chrono",
"//third_party/rust_crates:chrono-english",
]
config_data = [ "data/config.json" ]
deps = [
"//sdk/fidl/fuchsia.diagnostics:fuchsia.diagnostics-rustc",
"//src/developer/ffx:ffx_lib_args",
"//src/developer/ffx/lib/writer:lib",
"//src/developer/ffx/logger/data:lib",
"//src/developer/ffx/logger/frontend:lib",
"//src/developer/ffx/logger/test_utils:lib",
"//src/developer/ffx/logger/utils:lib",
"//src/lib/diagnostics/data/rust",
"//src/lib/diagnostics/hierarchy/rust",
"//src/lib/diagnostics/selectors",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia",
"//src/lib/fuchsia-async",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:blocking",
"//third_party/rust_crates:chrono",
"//third_party/rust_crates:futures-util",
"//third_party/rust_crates:matches",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:termion",
]
args_sources = [ "src/args.rs" ]
sources = [ "src/lib.rs" ]
}