xref: /wlan-driver/platform/BUILD.bazel (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Nameload("//build/kernel/kleaf:kernel.bzl", "ddk_headers")
2*5113495bSYour Nameload(":wlan_platform_modules.bzl", "define_modules")
3*5113495bSYour Name
4*5113495bSYour Name
5*5113495bSYour Namepackage(
6*5113495bSYour Name    default_visibility = [
7*5113495bSYour Name        "//visibility:public",
8*5113495bSYour Name    ],
9*5113495bSYour Name)
10*5113495bSYour Name
11*5113495bSYour Nameddk_headers(
12*5113495bSYour Name    name = "wlan-platform-headers",
13*5113495bSYour Name    hdrs = glob([
14*5113495bSYour Name        "inc/*.h",
15*5113495bSYour Name    ]),
16*5113495bSYour Name    includes = ["inc"],
17*5113495bSYour Name)
18*5113495bSYour Name
19*5113495bSYour Nameddk_headers(
20*5113495bSYour Name    name = "wlan-platform-private-headers",
21*5113495bSYour Name    hdrs = glob([
22*5113495bSYour Name        "cnss2/*.h",
23*5113495bSYour Name        "cnss_utils/*.h",
24*5113495bSYour Name        "icnss2/*.h"
25*5113495bSYour Name    ]),
26*5113495bSYour Name    includes = ["cnss2", "cnss_utils", "icnss2"],
27*5113495bSYour Name)
28*5113495bSYour Name
29*5113495bSYour Nameddk_headers(
30*5113495bSYour Name    name = "all-wlan-platform-headers",
31*5113495bSYour Name    hdrs = [":wlan-platform-headers", ":wlan-platform-private-headers"],
32*5113495bSYour Name)
33*5113495bSYour Name
34*5113495bSYour Namedefine_modules()
35