dubai: Add dummy sensors sub HAL

Change-Id: Ie20ed775344990de3e16e2eefba1754d831027fb
This commit is contained in:
Cosmin Tanislav 2022-09-21 10:06:15 +05:30 committed by Marc Bourgoin
commit 7cdd04a3cb
8 changed files with 583 additions and 0 deletions

35
sensors/Android.bp Normal file
View file

@ -0,0 +1,35 @@
//
// Copyright (C) 2022 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
cc_library_shared {
name: "sensors.dubai",
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.dubai\"",
],
vendor: true,
}