From 7a8c707f4ecc0dd533342606b1df0fb7242b2dcc Mon Sep 17 00:00:00 2001 From: Rohan Hasabe Date: Thu, 14 Oct 2021 12:39:51 +0200 Subject: [PATCH] sm7250-common: Build vendor HIDL interfaces Change-Id: I8695467802fdaccef3887d1cfc76a6313feaef83 --- common.mk | 1 + interfaces.mk | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 interfaces.mk diff --git a/common.mk b/common.mk index a424061..730b7ee 100644 --- a/common.mk +++ b/common.mk @@ -25,6 +25,7 @@ $(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk) # Get non-open-source specific aspects $(call inherit-product, vendor/oneplus/sm7250-common/sm7250-common-vendor.mk) +$(call inherit-product, $(LOCAL_PATH)/interfaces.mk) # Additional native libraries PRODUCT_COPY_FILES += \ diff --git a/interfaces.mk b/interfaces.mk new file mode 100644 index 0000000..b6aa00f --- /dev/null +++ b/interfaces.mk @@ -0,0 +1,68 @@ +# +# Copyright 2021 The Android Open Source 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. +# + +# Bluetooth +PRODUCT_PACKAGES += \ + android.hardware.bluetooth@1.0.vendor + +# Camera +PRODUCT_PACKAGES += \ + android.frameworks.displayservice@1.0.vendor + +# Crypto +PRODUCT_PACKAGES += \ + android.hardware.gatekeeper@1.0.vendor \ + android.hardware.keymaster@4.1.vendor \ + android.hardware.keymaster@4.0.vendor + +# DRM +PRODUCT_PACKAGES += \ + android.hardware.drm@1.4.vendor \ + android.hardware.drm@1.3.vendor \ + android.hardware.drm@1.2.vendor \ + android.hardware.drm@1.1.vendor \ + android.hardware.drm@1.0.vendor + +# GNSS +PRODUCT_PACKAGES += \ + android.hardware.gnss@2.1 \ + android.hardware.gnss@2.1.vendor \ + android.hardware.gnss.measurement_corrections@1.1 \ + android.hardware.gnss.measurement_corrections@1.1.vendor \ + android.hardware.gnss.visibility_control@1.0 \ + android.hardware.gnss.visibility_control@1.0.vendor \ + +# NeuralNetworks +PRODUCT_PACKAGES += \ + android.hardware.neuralnetworks@1.3.vendor \ + android.hardware.neuralnetworks@1.2.vendor \ + android.hardware.neuralnetworks@1.1.vendor \ + android.hardware.neuralnetworks@1.0.vendor + +# RIL +PRODUCT_PACKAGES += \ + android.system.net.netd@1.1.vendor \ + android.hardware.radio@1.5.vendor \ + android.hardware.radio@1.4.vendor \ + android.hardware.radio.config@1.2.vendor \ + android.hardware.radio.deprecated@1.0.vendor \ + android.hardware.secure_element@1.2.vendor \ + android.hardware.secure_element@1.1.vendor \ + android.hardware.secure_element@1.0.vendor + +# FP +PRODUCT_PACKAGES += \ + android.hardware.biometrics.fingerprint@2.3.vendor