touch: Add support for Bazel to build touch modules

Add support for glink_interface_ts modules to
be built with Bazel.

Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Change-Id: Ib35b25a49e2e70b6f2765c9a67a1f7e0f3939ba9
This commit is contained in:
Srikanth Katteboina
2023-12-27 16:20:00 +05:30
parent 0fd74014a7
commit d230941afa
2 changed files with 11 additions and 1 deletions

View File

@@ -47,6 +47,14 @@ ddk_headers(
includes = ["config"]
)
ddk_headers(
name = "glink_interface_ts_headers",
hdrs = glob([
"glink_interface_ts/*.h"
]
)
)
ddk_headers(
name = "pt_headers",
hdrs = glob([
@@ -66,7 +74,7 @@ ddk_headers(
ddk_headers(
name = "touch_drivers_headers",
hdrs = [":goodix_ts_headers", ":nt36xxx_headers", ":focaltech_headers", ":synaptics_tcm_headers", ":pt_headers", ":raydium_headers", ":config_headers"]
hdrs = [":goodix_ts_headers", ":nt36xxx_headers", ":focaltech_headers", ":synaptics_tcm_headers", ":glink_interface_ts_headers", ":pt_headers", ":raydium_headers", ":config_headers"]
)
load(":target.bzl", "define_touch_target")

View File

@@ -70,6 +70,7 @@ def define_monaco(t,v):
variant = v,
registry = touch_driver_modules,
modules = [
"glink_interface_ts",
"pt_ts",
"pt_i2c",
"pt_device_access",
@@ -80,6 +81,7 @@ def define_monaco(t,v):
"TOUCH_DLKM_ENABLE",
"CONFIG_ARCH_MONACO",
"CONFIG_MSM_TOUCH",
"CONFIG_TOUCHSCREEN_MSM_GLINK",
"CONFIG_TOUCHSCREEN_PARADE",
"CONFIG_TOUCHSCREEN_PARADE_DEVICETREE_SUPPORT",
"CONFIG_TOUCHSCREEN_PARADE_I2C",