summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/loader/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/loader/BUILD')
-rw-r--r--pkg/sentry/loader/BUILD11
1 files changed, 2 insertions, 9 deletions
diff --git a/pkg/sentry/loader/BUILD b/pkg/sentry/loader/BUILD
index 34bdb0b69..ab074b400 100644
--- a/pkg/sentry/loader/BUILD
+++ b/pkg/sentry/loader/BUILD
@@ -1,14 +1,7 @@
-load("//tools:defs.bzl", "go_embed_data", "go_library")
+load("//tools:defs.bzl", "go_library")
package(licenses = ["notice"])
-go_embed_data(
- name = "vdso_bin",
- src = "//vdso:vdso.so",
- package = "loader",
- var = "vdsoBin",
-)
-
go_library(
name = "loader",
srcs = [
@@ -17,7 +10,6 @@ go_library(
"loader.go",
"vdso.go",
"vdso_state.go",
- ":vdso_bin",
],
visibility = ["//pkg/sentry:internal"],
deps = [
@@ -33,6 +25,7 @@ go_library(
"//pkg/sentry/fsbridge",
"//pkg/sentry/kernel/auth",
"//pkg/sentry/limits",
+ "//pkg/sentry/loader/vdsodata",
"//pkg/sentry/memmap",
"//pkg/sentry/mm",
"//pkg/sentry/pgalloc",