blob: 616a2bb2d2f5c9e5251766cda801e87d8902b2a5 [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")
import("//build/testing/host_test_data.gni")
go_library("notice") {
sources = [
"android.go",
"chromium.go",
"data.go",
"flutter.go",
"google.go",
"notice_test.go",
"one_delimiter.go",
]
deps = [ "//tools/lib/logger" ]
}
group("tests") {
testonly = true
deps = [ ":check-licenses_notice_tests($host_toolchain)" ]
}
if (is_host) {
go_test("check-licenses_notice_tests") {
library = ":notice"
args = [
"--test_data_dir",
rebase_path("$target_gen_dir/testdata", root_build_dir),
]
non_go_deps = [ "testdata" ]
}
}