summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2021-07-01 19:56:59 -0700
committerYifan Hong <elsk@google.com>2021-09-10 20:27:37 +0000
commit5e99acd1273d60b1755d9af1a89f705ee82599ee (patch)
tree5c5dd1f5a031171a3316e49ed7df62854ae26475
parent75eaaf7fa677bc39ecc02f174bb4a6f48ab76d84 (diff)
downloadjaneiro-5e99acd1273d60b1755d9af1a89f705ee82599ee.tar.gz
Kleaf: add edgetpu kernel module for cloudripper
Bug: 192617687 Test: builds Change-Id: Id127015e7f3801a6f2971cd5d992f9558c8b6922
-rw-r--r--drivers/edgetpu/BUILD.bazel20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/edgetpu/BUILD.bazel b/drivers/edgetpu/BUILD.bazel
new file mode 100644
index 0000000..83d0c84
--- /dev/null
+++ b/drivers/edgetpu/BUILD.bazel
@@ -0,0 +1,20 @@
+# NOTE: THIS FILE IS EXPERIMENTAL FOR THE BAZEL MIGRATION AND NOT USED FOR
+# YOUR BUILDS CURRENTLY.
+#
+# It is not yet the source of truth for your build. If you're looking to modify
+# the build file, modify the Android.bp file instead. Do *not* modify this file
+# unless you have coordinated with the team managing the Soong to Bazel
+# migration.
+
+load("//build/kleaf:kernel.bzl", "kernel_module")
+
+kernel_module(
+ name = "edgetpu.cloudripper",
+ outs = [
+ "janeiro.ko",
+ ],
+ kernel_build = "//private/gs-google:cloudripper",
+ visibility = [
+ "//private/gs-google:__pkg__",
+ ],
+)