| # 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/python/python_library.gni") | |
| import("//build/testing/python_build_time_tests.gni") | |
| if (is_host) { | |
| python_library("setting") { | |
| sources = [ "setting.py" ] | |
| library_deps = [ "//build/scripts:properties_lib" ] | |
| } | |
| python_build_time_tests("setting_test") { | |
| tests = [ "setting_test.py" ] | |
| deps = [ ":setting" ] | |
| } | |
| } | |
| group("tests") { | |
| testonly = true | |
| deps = [ ":setting_test($host_toolchain)" ] | |
| } |