blob: b13988b0ba66a28c721a4db4c62ba4ca3be9c6ec [file] [edit]
# 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 = "usb.cloudripper",
srcs = glob([
"**/*.c",
"**/*.h",
]) + [
"//private/google-modules/aoc_ipc:headers",
"//private/google-modules/aoc:headers",
],
outs = [
"aoc_usb_driver.ko",
],
kernel_build = "//private/gs-google:cloudripper",
kernel_module_deps = [
"//private/google-modules/aoc:aoc.cloudripper",
],
visibility = [
"//private/gs-google:__pkg__",
],
)