blob: b7ee0651740dcc4c5102e8434de1ff1c40073956 [file]
# Copyright 2026 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/host.gni")
import("//build/python/python_host_test.gni")
import("//build/python/python_library.gni")
group("tests") {
testonly = true
deps = [ ":logging_utils_test($host_toolchain)" ]
}
if (is_host) {
python_library("logging_utils") {
library_name = "logging_utils"
source_root = "//scripts/lib/logging_utils"
sources = [ "__init__.py" ]
library_deps = [ "//third_party/colorama" ]
}
python_host_test("logging_utils_test") {
main_source = "tests/logging_utils_test.py"
sources = [ "tests/logging_utils_test.py" ]
extra_args = [ "-v" ]
libraries = [
":logging_utils",
"//third_party/colorama",
]
}
}