blob: 321a59db173e446e1268ed8c7f49f54f1d1c638f [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") {
library = ":time"
}
fuchsia_unittest_package("netstack-time-gotests") {
deps = [ ":time_test" ]
}
group("tests") {
testonly = true
deps = [ ":netstack-time-gotests" ]
}