android_kernel_samsung_sm86.../BUILD.bazel
Jeff Johnson 4ae0fef4d3 cnss2: Support the Bazel DDK
Android builds are transitioning to using Bazel for builds, and there
is a Driver Development Kit (DDK) which out-of-tree drivers must use
in this new scheme. Introduce the infrastructure to describe the wlan
platform driver modules using the DDK.

Change-Id: Ied2aae354aaea8a038461f6c74f26fe4f362a05a
CRs-Fixed: 3449426
2023-05-11 13:09:21 -07:00

35 lines
658 B
Python

load("//build/kernel/kleaf:kernel.bzl", "ddk_headers")
load(":wlan_platform_modules.bzl", "define_modules")
package(
default_visibility = [
"//visibility:public",
],
)
ddk_headers(
name = "wlan-platform-headers",
hdrs = glob([
"inc/*.h",
]),
includes = ["inc"],
)
ddk_headers(
name = "wlan-platform-private-headers",
hdrs = glob([
"cnss2/*.h",
"cnss_utils/*.h",
"icnss2/*.h"
]),
includes = ["cnss2", "cnss_utils", "icnss2"],
)
ddk_headers(
name = "all-wlan-platform-headers",
hdrs = [":wlan-platform-headers", ":wlan-platform-private-headers"],
)
define_modules()