blob: e7f9ea59a3801309041a76fcea1ddc6cdb60ac6d [file] [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/go/go_binary.gni")
import("//build/go/go_library.gni")
import("//build/host.gni")
go_library("lib") {
sources = [ "regenerate-metadata.go" ]
deps = [ "//third_party/golibs:github.com/theupdateframework/go-tuf" ]
}
go_binary("regenerate-metadata") {
testonly = true
embed = [ ":lib" ]
output_name = "regenerate-metadata"
deps = [ "//third_party/golibs:github.com/theupdateframework/go-tuf" ]
}