blob: b50761179b725a388281ca05322d2a4043a1010c [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")
if (is_host) {
go_library("packages") {
testonly = true
deps = [
"../util",
"//src/lib/versioning/version-history/go:version-history",
"//src/sys/pkg/bin/pm/build",
"//src/sys/pkg/bin/pm/pkg",
"//src/sys/pkg/bin/pm/repo",
"//src/sys/pkg/lib/far/go:far",
"//src/sys/pkg/lib/repo",
"//third_party/golibs:github.com/theupdateframework/go-tuf",
"//tools/lib/logger",
]
sources = [
"package.go",
"package_builder.go",
"package_builder_test.go",
"package_test.go",
"repo.go",
"server.go",
]
}
go_test("host-target-testing-packages-test") {
library = ":packages"
}
}