| # Copyright 2016 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/package.gni") |
| |
| go_library("thinfs_lib") { |
| name = "thinfs" |
| |
| deps = [ |
| "//garnet/public/go/third_party:github.com/golang/glog", |
| "//garnet/public/go/third_party:github.com/pkg/errors", |
| ] |
| } |
| |
| go_binary("thinfs_bin") { |
| output_name = "thinfs" |
| gopackage = "thinfs/cmd/thinfs" |
| deps = [ ":thinfs_lib" ] |
| } |
| |
| package("thinfs") { |
| deprecated_system_image = true |
| |
| deps = [ |
| ":thinfs_bin", |
| ] |
| |
| binaries = [ { |
| name = "thinfs" |
| } ] |
| } |