blob: 6a438efd1bb124b63a2b6b2319ee0b20e74bb2a8 [file] [log] [blame]
# Copyright 2021 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("time") {
deps = [ "//third_party/golibs:gvisor.dev/gvisor" ]
sources = [
"clock.go",
"time.go",
"time_test.go",
]
}
go_test("time_test") {
embed = [ ":time" ]
}
fuchsia_unittest_package("netstack-time-gotests") {
deps = [ ":time_test" ]
}
group("tests") {
testonly = true
deps = [ ":netstack-time-gotests" ]
}