blob: d2d6a28a7c394ed63ba0ad34c5e8eec055f65f79 [file] [log] [blame]
# 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")
group("tests") {
testonly = true
deps = []
if (host_os == "linux") {
deps += [ ":component_tool_test($host_toolchain)" ]
}
}
if (is_linux) {
go_library("component_tool_test_lib") {
testonly = true
source_dir = "//src/tests/end_to_end/component_tool"
deps = [ "//tools/emulator/emulatortest" ]
sources = [ "component_tool_test.go" ]
}
go_test("component_tool_test") {
library = ":component_tool_test_lib"
non_go_deps = [ "//build/images/fuchsia:fuchsia_zbi_for_host_tests" ]
}
}