mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 18:07:31 +00:00
* `libndksensorbridge` was converted to AIDL and is no longer linked to this static library that contains symbols required by our sensor blobs. Add a shim linked to `android.hardware.sensors@1.0-convert` to fix our sensors Change-Id: I969f97bb15d0abcc71f87352722995db3826e122 Signed-off-by: Woomymy <woomy@woomy.be>
32 lines
600 B
Plaintext
32 lines
600 B
Plaintext
//
|
|
// Copyright (C) 2023 The LineageOS Project
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
cc_library_shared {
|
|
name: "libshim_sensors",
|
|
whole_static_libs: [
|
|
"android.hardware.sensors@1.0-convert"
|
|
],
|
|
shared_libs: [
|
|
"libhardware",
|
|
"libhidlbase",
|
|
"android.hardware.sensors@1.0"
|
|
],
|
|
vendor: true
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libshim_sink",
|
|
srcs: ["libshim_sink.cpp"],
|
|
compile_multilib: "64",
|
|
shared_libs: [
|
|
"libaudioclient",
|
|
],
|
|
header_libs: [
|
|
"libaudioclient_headers",
|
|
"libmedia_headers",
|
|
],
|
|
}
|
|
|