| # Copyright 2012 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("artifacts") { |
| testonly = true |
| deps = [ |
| "../avb", |
| "../omaha_tool", |
| "../packages", |
| "../paver", |
| "../zbi", |
| "//src/sys/pkg/bin/pm/build", |
| "//third_party/golibs:golang.org/x/crypto", |
| "//tools/build", |
| "//tools/lib/logger", |
| ] |
| sources = [ |
| "archive.go", |
| "archive_test.go", |
| "build.go", |
| "builder.go", |
| ] |
| } |
| |
| go_test("host-target-testing-artifacts-test") { |
| library = ":artifacts" |
| } |
| } |