This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hardware_oplus-CherishOS/hidl/touch/Android.bp
LuK1337 0962815d6f touch: Make gestures configurable without TARGET_SPECIFIC_HEADER_PATH
SOONG_CONFIG_NAMESPACES += OPLUS_LINEAGE_TOUCH_HAL
SOONG_CONFIG_OPLUS_LINEAGE_TOUCH_HAL := INCLUDE_DIR
SOONG_CONFIG_OPLUS_LINEAGE_TOUCH_HAL_INCLUDE_DIR := \
    $(DEVICE_PATH)/touch/include

Change-Id: Ib4574926ceb16961e2b435aae4e8921665af4e23
2022-07-12 14:07:22 +02:00

39 lines
962 B
Plaintext

soong_config_module_type {
name: "oplus_lineage_touch_hal_cc_defaults",
module_type: "cc_defaults",
config_namespace: "OPLUS_LINEAGE_TOUCH_HAL",
value_variables: ["INCLUDE_DIR"],
properties: ["include_dirs"],
}
oplus_lineage_touch_hal_cc_defaults {
name: "oplus_lineage_touch_hal_defaults",
soong_config_variables: {
INCLUDE_DIR: {
include_dirs: ["%s"],
},
},
}
cc_binary {
name: "vendor.lineage.touch@1.0-service.oplus",
defaults: [
"hidl_defaults",
"oplus_lineage_touch_hal_defaults",
],
init_rc: ["vendor.lineage.touch@1.0-service.oplus.rc"],
vintf_fragments: ["vendor.lineage.touch@1.0-service.oplus.xml"],
vendor: true,
relative_install_path: "hw",
srcs: [
"TouchscreenGesture.cpp",
"service.cpp",
],
shared_libs: [
"libbase",
"libhidlbase",
"libutils",
"vendor.lineage.touch@1.0",
],
}