blob: c784e8a2352b49220469c2a15081e5a242b8611b [file] [log] [blame]
# Copyright 2020 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/components.gni")
import("//build/go/go_library.gni")
import("//build/go/go_test.gni")
import("//build/go/toolchain.gni")
import("//build/testing/environments.gni")
go_test("fidl-example-go-test") {
library = ":fidl-example-go"
}
go_library("fidl-example-go") {
deps =
[ "//examples/fidl/fuchsia.examples:fuchsia.examples_go($go_toolchain)" ]
sources = [ "fidl_test.go" ]
}
fuchsia_unittest_package("fidl-example-go-tests") {
deps = [ ":fidl-example-go-test" ]
}
group("hermetic_tests") {
testonly = true
deps = [ ":fidl-example-go-tests" ]
}