| # 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_library.gni") |
| import("//build/go/go_test.gni") |
| |
| if (is_host) { |
| go_library("ffx") { |
| testonly = true |
| deps = [ |
| "../util", |
| "//third_party/golibs:golang.org/x/crypto", |
| "//tools/lib/logger", |
| ] |
| sources = [ |
| "ffx.go", |
| "ffx_test.go", |
| "flasher.go", |
| "flasher_test.go", |
| ] |
| } |
| |
| go_test("host-target-testing-ffx-test") { |
| library = ":ffx" |
| deps = [ "//third_party/golibs:github.com/google/go-cmp" ] |
| } |
| } |