
Add support for touch modules to be built with Bazel for pineapple. Change-Id: Idf7527318a36ea33e60ba95aadb03a107f2e7205 Signed-off-by: Simranjeet Thind <quic_sthind@quicinc.com>
24 строки
700 B
Python
24 строки
700 B
Python
load(":touch_modules.bzl", "touch_driver_modules")
|
|
load(":touch_modules_build.bzl", "define_consolidate_gki_modules")
|
|
|
|
def define_pineapple():
|
|
define_consolidate_gki_modules(
|
|
target = "pineapple",
|
|
registry = touch_driver_modules,
|
|
modules = [
|
|
"nt36xxx-i2c",
|
|
"atmel_mxt_ts",
|
|
"dummy_ts",
|
|
"goodix_ts"
|
|
],
|
|
config_options = [
|
|
"TOUCH_DLKM_ENABLE",
|
|
"CONFIG_ARCH_PINEAPPLE",
|
|
"CONFIG_MSM_TOUCH",
|
|
"CONFIG_TOUCHSCREEN_GOODIX_BRL",
|
|
"CONFIG_TOUCHSCREEN_NT36XXX_I2C",
|
|
"CONFIG_TOUCHSCREEN_ATMEL_MXT",
|
|
"CONFIG_TOUCHSCREEN_DUMMY"
|
|
],
|
|
)
|