| # 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 |
| library = ":lib" |
| output_name = "regenerate-metadata" |
| deps = [ "//third_party/golibs:github.com/theupdateframework/go-tuf" ] |
| } |