| # Copyright 2022 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. | |
| group("tests") { | |
| testonly = true | |
| deps = [ ":host-target-testing-cli-test($host_toolchain)" ] | |
| } | |
| ## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ## | |
| # | |
| # ________ _________ ________ ________ | |
| # |\ ____\|\___ ___\\ __ \|\ __ \ | |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ | |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ | |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| | |
| # ____\_\ \ \ \__\ \ \_______\ \__\ | |
| # |\_________\ \|__| \|_______|\|__| | |
| # \|_________| | |
| # | |
| # | |
| # AUTO-GENERATED - DO NOT EDIT | |
| # | |
| # The targets below are auto-generated based on the targets defined in the | |
| # BUILD.bazel file from the same directory. If you made changes to targets in | |
| # Bazel, instead of editing this file manually, run: | |
| # | |
| # > fx bazel2gn | |
| # | |
| # Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and | |
| # rerun bazel2gn. | |
| import("//build/tools/bazel2gn/bazel_migration.gni") | |
| if (is_host) { | |
| go_library("cli") { | |
| testonly = true | |
| sources = [ | |
| "archive.go", | |
| "build.go", | |
| "device.go", | |
| "ffx.go", | |
| "installer.go", | |
| ] | |
| visibility = [ "//*" ] | |
| deps = [ | |
| "//src/testing/host-target-testing/artifacts", | |
| "//src/testing/host-target-testing/avb", | |
| "//src/testing/host-target-testing/device", | |
| "//src/testing/host-target-testing/ffx", | |
| "//src/testing/host-target-testing/omaha_tool", | |
| "//src/testing/host-target-testing/updater", | |
| "//src/testing/host-target-testing/util", | |
| "//src/testing/host-target-testing/zbi", | |
| "//third_party/golibs:golang.org/x/crypto", | |
| "//tools/botanist:constants", | |
| "//tools/lib/logger", | |
| "//tools/lib/retry", | |
| ] | |
| } | |
| } | |
| if (is_host) { | |
| go_test("host-target-testing-cli-test") { | |
| sources = [ "build_test.go" ] | |
| embed = [ ":cli" ] | |
| visibility = [ | |
| ":*", | |
| "//src/testing/host-target-testing:*", | |
| ] | |
| } | |
| } |