Add dummy sensors sub HAL
Change-Id: Ie20ed775344990de3e16e2eefba1754d831027fb
This commit is contained in:
35
sensors/Android.bp
Normal file
35
sensors/Android.bp
Normal file
@@ -0,0 +1,35 @@
|
||||
//
|
||||
// Copyright (C) 2022 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,
|
||||
}
|
||||
Reference in New Issue
Block a user