From: Stricted Date: Fri, 27 Jul 2018 06:35:36 +0000 (+0200) Subject: create and Inherit hidl.mk X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5b7d0baeee994cdb36683bef1cbc01a0b9c632dd;p=GitHub%2Fmt8127%2Fandroid_device_alcatel_ttab.git create and Inherit hidl.mk Change-Id: Id3ba9523455e7ada23d978dc0729f962be24e5d5 --- diff --git a/device.mk b/device.mk index dd9f574..6e6dd20 100644 --- 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 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