| # 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_library.gni") |
| import("//build/go/go_test.gni") |
| |
| go_library("system_ota") { |
| name = "system_ota" |
| deps = [ |
| "//garnet/public/go/third_party:github.com/flynn/go-tuf", |
| ] |
| } |
| |
| go_test("system_ota_test") { |
| gopackage = "system_ota" |
| |
| deps = [ |
| ":system_ota", |
| ] |
| non_go_deps = [ |
| "ota-test-app:ota-test-package", |
| "ota-test-app:ota-test-system", |
| ] |
| } |
| |
| install_host_tools("host") { |
| deps = [ |
| ":system_ota_test", |
| ] |
| outputs = [ |
| "system_ota_test", |
| ] |
| } |