aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp1
-rw-r--r--libhidl/Android.bp18
-rw-r--r--libhidl/Android.mk28
-rw-r--r--proprietary-files.txt4
4 files changed, 23 insertions, 28 deletions
diff --git a/Android.bp b/Android.bp
index f61e31b..300800b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,4 @@
subdirs = [
"light",
+ "libhidl",
]
diff --git a/libhidl/Android.bp b/libhidl/Android.bp
new file mode 100644
index 0000000..7b93840
--- /dev/null
+++ b/libhidl/Android.bp
@@ -0,0 +1,18 @@
+cc_library_shared {
+ name: "android.hidl.base@1.0",
+ shared_libs: [
+ "libhidltransport",
+ ],
+ export_shared_lib_headers: [
+ "libhidltransport",
+ ],
+}
+cc_library_shared {
+ name: "android.hidl.manager@1.0",
+ shared_libs: [
+ "libhidltransport",
+ ],
+ export_shared_lib_headers: [
+ "libhidltransport",
+ ],
+}
diff --git a/libhidl/Android.mk b/libhidl/Android.mk
deleted file mode 100644
index 428655c..0000000
--- a/libhidl/Android.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# 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)
diff --git a/proprietary-files.txt b/proprietary-files.txt
index f539887..f5a5cf3 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -710,3 +710,7 @@ vendor/lib/libwvhidl.so|f7288f7a7ed6765bd1d80d639a0aeb0c31eda795
# WiFi
vendor/bin/cnss-daemon
etc/firmware/bdwlan30.bin:vendor/firmware/bdwlan30.bin
+
+# HIDL - Dummy hidl base and manager blobs for older blobs.
+vendor/lib/android.hidl.base@1.0.so|7b695c37dd8f7edde1b3c8b25c46d7b73232e75b
+vendor/lib64/android.hidl.base@1.0.so|88d1bd3bd9853ba6c5b308e1045fc7ac06950d7b