diff options
author | Zach Koopmans <zkoopmans@google.com> | 2021-01-22 10:49:57 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-01-22 10:52:57 -0800 |
commit | 16b81308cfb7cf2265d69e7180cd024f7c5b89e4 (patch) | |
tree | 59ea14fe86ca80a87d00089b93697aca7aea785a /runsc/mitigate/BUILD | |
parent | 9b4f4655ed5ddcbe34806a28b2bc5d8f61fbb215 (diff) |
Add initial mitigate code and cpu parsing.
PiperOrigin-RevId: 353274135
Diffstat (limited to 'runsc/mitigate/BUILD')
-rw-r--r-- | runsc/mitigate/BUILD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/runsc/mitigate/BUILD b/runsc/mitigate/BUILD new file mode 100644 index 000000000..9a9546577 --- /dev/null +++ b/runsc/mitigate/BUILD @@ -0,0 +1,18 @@ +load("//tools:defs.bzl", "go_library", "go_test") + +package(licenses = ["notice"]) + +go_library( + name = "mitigate", + srcs = [ + "cpu.go", + "mitigate.go", + ], +) + +go_test( + name = "mitigate_test", + size = "small", + srcs = ["cpu_test.go"], + library = ":mitigate", +) |