create and Inherit hidl.mk
authorStricted <info@stricted.net>
Fri, 27 Jul 2018 06:35:36 +0000 (08:35 +0200)
committerJan Altensen <info@stricted.net>
Fri, 22 Feb 2019 17:35:18 +0000 (18:35 +0100)
Change-Id: Id3ba9523455e7ada23d978dc0729f962be24e5d5

device.mk
hidl.mk [new file with mode: 0644]

index dd9f574453fb92e86488040dbc63d28f7e873b4f..6e6dd20af4a61c88265cdfd233fe5ad5f18a75c6 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -148,5 +148,8 @@ PRODUCT_COPY_FILES += \
 PRODUCT_PACKAGES += \
     libbt-vendor
 
+# hidl packages
+$(call inherit-product, $(LOCAL_PATH)/hidl.mk)
+
 # Get non-open-source specific aspects
 $(call inherit-product-if-exists, vendor/alcatel/ttab/ttab-vendor.mk)
diff --git a/hidl.mk b/hidl.mk
new file mode 100644 (file)
index 0000000..39d9103
--- /dev/null
+++ b/hidl.mk
@@ -0,0 +1,83 @@
+#
+# Copyright (C) 2017 The 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.
+#
+
+# Audio
+PRODUCT_PACKAGES += \
+    android.hardware.audio@2.0-impl \
+    android.hardware.audio.effect@2.0-impl
+
+# Bluetooth
+PRODUCT_PACKAGES += \
+    android.hardware.bluetooth@1.0-impl
+
+# Camera
+PRODUCT_PACKAGES += \
+    camera.device@3.2-impl \
+    camera.device@1.0-impl-legacy \
+    android.hardware.camera.provider@2.4-impl-legacy \
+
+# DRM
+PRODUCT_PACKAGES += \
+    android.hardware.drm@1.0-impl \
+    android.hardware.drm@1.0-service
+
+# GNSS
+PRODUCT_PACKAGES += \
+    android.hardware.gnss@1.0-impl \
+    android.hardware.gnss@1.0-service
+
+# Graphics
+PRODUCT_PACKAGES += \
+    android.hardware.configstore@1.0-service \
+    android.hardware.memtrack@1.0-impl \
+    android.hardware.graphics.allocator@2.0-impl \
+    android.hardware.graphics.allocator@2.0-service \
+    android.hardware.graphics.composer@2.1-impl \
+    android.hardware.graphics.mapper@2.0-impl \
+    libhwc2on1adapter
+
+# Health
+PRODUCT_PACKAGES += \
+   android.hardware.health@1.0-convert \
+   android.hardware.health@1.0-impl \
+   android.hardware.health@1.0-service
+
+# Keymaster
+PRODUCT_PACKAGES += \
+    android.hardware.keymaster@3.0-impl \
+    android.hardware.keymaster@3.0-service
+
+# Light
+PRODUCT_PACKAGES += \
+    android.hardware.light@2.0-impl
+
+# Power
+PRODUCT_PACKAGES += \
+    android.hardware.power@1.0-impl
+
+# RenderScript
+PRODUCT_PACKAGES += \
+    android.hardware.renderscript@1.0-impl
+
+# Sensors
+PRODUCT_PACKAGES += \
+    android.hardware.sensors@1.0-impl
+
+# Wi-Fi
+PRODUCT_PACKAGES += \
+    android.hardware.wifi@1.0 \
+    android.hardware.wifi@1.0-impl \
+    android.hardware.wifi@1.0-service