Files
android_hardware_oplus/sensors/Android.bp
LuK1337 748968698b sensors: Implement sensors.ssc wrapper that strips custom flag support
This is required for devices that have "set custom flag to sensor" in
stock android.hardware.sensors@2.0-service.multihal strings.

Change-Id: I11b2c044be6baddf3772cfea5a2343494a21c6da
2024-08-13 10:55:30 +02:00

42 lines
913 B
Plaintext

//
// Copyright (C) 2022-2024 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
cc_library_shared {
name: "sensors.oplus",
defaults: ["hidl_defaults"],
srcs: [
"Sensor.cpp",
"SensorsSubHal.cpp",
],
shared_libs: [
"android.hardware.sensors@1.0",
"android.hardware.sensors@2.0",
"android.hardware.sensors@2.0-ScopedWakelock",
"android.hardware.sensors@2.1",
"libcutils",
"libfmq",
"libhardware",
"libhidlbase",
"liblog",
"libpower",
"libutils",
],
static_libs: [
"android.hardware.sensors@1.0-convert",
"android.hardware.sensors@2.X-multihal",
],
cflags: [
"-DLOG_TAG=\"sensors.oplus\"",
],
vendor: true,
}
cc_library_shared {
name: "sensors.ssc_custom_flag",
srcs: ["SensorsSscCustomFlag.cpp"],
vendor: true,
}