| # Copyright 2018 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/go/go_test.gni") |
| |
| go_library("lib") { |
| sources = [ |
| "main.go", |
| "pargzip.go", |
| ] |
| } |
| |
| go_binary("tarmaker") { |
| gopackage = "go.fuchsia.dev/fuchsia/build/tools/tarmaker" |
| |
| deps = [ ":lib" ] |
| } |
| |
| go_test("tarmaker_tests") { |
| gopackages = [ "go.fuchsia.dev/fuchsia/build/tools/tarmaker" ] |
| |
| deps = [ ":lib" ] |
| } |