blob: 904149d7daac6863c50b938a2cbf5522d094bd8a [file] [log] [blame] [edit]
# Copyright 2023 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 = [ ":lib_test($host_toolchain)" ]
}
if (is_host) {
python_library("dataparse") {
sources = [
"__init__.py",
"dataparse.py",
]
}
python_host_test("lib_test") {
main_source = "tests/dataparse_test.py"
main_callable = "unittest.main"
extra_args = [ "-v" ]
libraries = [ ":dataparse" ]
}
}