summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/time/BUILD
diff options
context:
space:
mode:
authorHaibo Xu <haibo.xu@arm.com>2019-01-30 11:48:02 -0800
committerShentubot <shentubot@google.com>2019-01-30 11:49:08 -0800
commitcedff8d3aef3bc2055b1a7c3ad47a4c8297367ea (patch)
tree6d3715999a76b64f9c8df3abbf6c46e8f12544cb /pkg/sentry/time/BUILD
parentf03c7e48e71009a64c30b57648fd234710fd578a (diff)
Add muldiv/rd_tsc support for arm64 platform.
Signed-off-by: Haibo Xu <haibo.xu@arm.com> Change-Id: If35459be78e023346a140184401172f8e023c7f9 PiperOrigin-RevId: 231638020
Diffstat (limited to 'pkg/sentry/time/BUILD')
-rw-r--r--pkg/sentry/time/BUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/sentry/time/BUILD b/pkg/sentry/time/BUILD
index 5dadb8a2d..1191010e6 100644
--- a/pkg/sentry/time/BUILD
+++ b/pkg/sentry/time/BUILD
@@ -1,6 +1,6 @@
load("//tools/go_stateify:defs.bzl", "go_library", "go_test")
-package(licenses = ["notice"]) # Apache 2.0
+package(licenses = ["notice"]) # Apache 2.0, portions BSD
load("//tools/go_generics:defs.bzl", "go_template_instance")
@@ -18,15 +18,18 @@ go_template_instance(
go_library(
name = "time",
srcs = [
+ "arith_arm64.go",
"calibrated_clock.go",
"clock_id.go",
"clocks.go",
"muldiv_amd64.s",
+ "muldiv_arm64.s",
"parameters.go",
"sampler.go",
"sampler_unsafe.go",
"seqatomic_parameters.go",
"tsc_amd64.s",
+ "tsc_arm64.s",
],
importpath = "gvisor.googlesource.com/gvisor/pkg/sentry/time",
visibility = ["//pkg/sentry:internal"],