aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2017-12-07 22:15:14 +0800
committerDavide Garberi <dade.garberi@gmail.com>2018-01-11 15:00:09 +0100
commite21d472f69effee7c4fe69479a0db96cf00d1206 (patch)
treeada1f503d445b78f9e70c5c4101435943a66c5d5
parent63cd3332b5ef56dd418ba105a7f517315f67b6fe (diff)
msm8996-common: Build dummy android.hidl.[base,manager]@1.0
* Required by Oreo-MR0 blobs Change-Id: I81a081130869c4d92f30b2674e75bb6b096a7a2c Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
-rw-r--r--hidl.mk4
-rw-r--r--libhidl/Android.mk28
2 files changed, 32 insertions, 0 deletions
diff --git a/hidl.mk b/hidl.mk
index a86bc50..4a36145 100644
--- a/hidl.mk
+++ b/hidl.mk
@@ -68,6 +68,10 @@ PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0-impl \
android.hardware.gatekeeper@1.0-service
+# HIDL
+PRODUCT_PACKAGES += \
+ android.hidl.base@1.0 \
+ android.hidl.manager@1.0
# Healthd
PRODUCT_PACKAGES += \
diff --git a/libhidl/Android.mk b/libhidl/Android.mk
new file mode 100644
index 0000000..428655c
--- /dev/null
+++ b/libhidl/Android.mk
@@ -0,0 +1,28 @@
+#
+# Copyright (C) 2017 The LineageOS Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+include $(CLEAR_VARS)
+LOCAL_SHARED_LIBRARIES := libhidltransport
+LOCAL_MODULE := android.hidl.base@1.0
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_SHARED_LIBRARIES := libhidltransport
+LOCAL_MODULE := android.hidl.manager@1.0
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+include $(BUILD_SHARED_LIBRARY)