Dosyalar
android_kernel_samsung_sm86…/BUILD.bazel
Simranjeet Thind e536a52345 touch: pineapple: Add support for Bazel to build touch modules
Add support for touch modules to be built with Bazel for pineapple.

Change-Id: Idf7527318a36ea33e60ba95aadb03a107f2e7205
Signed-off-by: Simranjeet Thind <quic_sthind@quicinc.com>
2023-05-10 10:29:54 -07:00

49 satır
818 B
Python

load("//build/kernel/kleaf:kernel.bzl", "ddk_headers")
package(
default_visibility = [
"//visibility:public"],
)
ddk_headers(
name = "goodix_ts_headers",
hdrs = glob([
"goodix_berlin_driver/*.h",
"qts/*.h"
]
)
)
ddk_headers(
name = "nt36xxx_headers",
hdrs = glob([
"nt36xxx/*.h"
]
)
)
ddk_headers(
name = "atmel_mxt_headers",
hdrs = glob([
"qts/*.h"
]
)
)
ddk_headers(
name = "config_headers",
hdrs = glob([
"config/*.h"
]
),
includes = ["config"]
)
ddk_headers(
name = "touch_drivers_headers",
hdrs = [":goodix_ts_headers", ":nt36xxx_headers", ":atmel_mxt_headers", ":config_headers"]
)
load(":target.bzl", "define_pineapple")
define_pineapple()