blob: 7d5fd128a5d0f14876769ae01ae93cb8e44e93be [file] [log] [blame] [edit]
# Copyright 2019 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("host-target-testing") {
testonly = true
name = "fuchsia.googlesource.com/host_target_testing"
deps = [
"//garnet/go/src/far:far",
"//src/sys/pkg/bin/pm:pm_lib",
"//src/sys/pkg/lib/repo",
"//third_party/golibs:github.com/flynn/go-tuf",
"//third_party/golibs:golang.org/x/crypto",
"//tools/net/sshutil",
]
}
test_packages = []
foreach(testpkg, test_packages) {
go_test("host-target-testing-${testpkg}-test") {
gopackages = [ "fuchsia.googlesource.com/host_target_testing/${testpkg}" ]
deps = [ ":host-target-testing" ]
}
}
group("tests") {
testonly = true
public_deps = []
foreach(testpkg, test_packages) {
public_deps += [ ":host-target-testing-${testpkg}-test" ]
}
}