blob: 6a7a1dc2ff13b73e6780fd032534e86944f2387e [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 = "2021"
with_unit_tests = true
args_with_unit_tests = true
args_deps = [
"//sdk/fidl/fuchsia.developer.ffx:fuchsia.developer.ffx-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/sys/lib/moniker",
"//third_party/rust_crates:assert_matches",
"//third_party/rust_crates:async-trait",
"//third_party/rust_crates:blocking",
"//third_party/rust_crates:chrono",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:futures-util",
"//third_party/rust_crates:regex",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:termion",
]
args_sources = [ "src/args.rs" ]
sources = [
"src/lib.rs",
"src/spam_filter.rs",
]
}