blob: 0a8d787ff5a1afe4ff4da0fab05fe52188b1e1e0 [file] [log] [blame]
# Copyright 2022 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/go/go_library.gni")
import("//build/go/go_test.gni")
go_library("file") {
sources = [
"config.go",
"file.go",
"file_test.go",
"filedata.go",
"filetype.go",
"init.go",
"metrics.go",
]
deps = [
"notice",
"//tools/lib/logger",
]
}
group("tests") {
testonly = true
deps = [
":check-licenses_file_tests($host_toolchain)",
"notice:tests",
]
}
if (is_host) {
go_test("check-licenses_file_tests") {
gopackages = [ "go.fuchsia.dev/fuchsia/tools/check-licenses/file" ]
deps = [ ":file" ]
}
}