blob: ea07c834f3af8d6fd2a5904b1cd2479f34208952 [file] [log] [blame]
# 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.
import("//build/components.gni")
import("//build/go/go_library.gni")
import("//build/go/go_test.gni")
go_library("vmobuffer") {
sources = [
"vmobuffer.go",
"vmobuffer_test.go",
]
deps = [ "//src/lib/component" ]
}
go_test("vmobuffer_test") {
library = ":vmobuffer"
deps = [ "//third_party/golibs:github.com/google/go-cmp" ]
}
fuchsia_unittest_package("vmobuffer-gotests") {
deps = [
":vmobuffer_test",
"//src/sys/test_runners:tmp_storage",
]
}
group("tests") {
testonly = true
deps = [ ":vmobuffer-gotests" ]
}