sdm710-common: Build dummy android.hidl.[base,manager]@1.0
Change-Id: I81a081130869c4d92f30b2674e75bb6b096a7a2c
This commit is contained in:
parent
9d212ba3f5
commit
a3f33d8e73
2 changed files with 90 additions and 57 deletions
28
libhidl/Android.mk
Normal file
28
libhidl/Android.mk
Normal file
|
@ -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)
|
119
sdm710.mk
119
sdm710.mk
|
@ -1,57 +1,62 @@
|
|||
# Inherit from those products. Most specific first.
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||
|
||||
# Get non-open-source specific aspects
|
||||
$(call inherit-product-if-exists, vendor/realme/sdm710-common/sdm710-common-vendor.mk)
|
||||
|
||||
# Boot animation
|
||||
TARGET_SCREEN_HEIGHT := 2244
|
||||
TARGET_SCREEN_WIDTH := 1080
|
||||
|
||||
# Device uses high-density artwork where available
|
||||
PRODUCT_AAPT_CONFIG := normal
|
||||
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
||||
|
||||
# Audio
|
||||
PRODUCT_PACKAGES += \
|
||||
audio.a2dp.default \
|
||||
tinymix
|
||||
|
||||
# Common init scripts
|
||||
PRODUCT_PACKAGES += \
|
||||
init.target.rc
|
||||
|
||||
# Display
|
||||
PRODUCT_PACKAGES += \
|
||||
libvulkan \
|
||||
vendor.display.config@1.0
|
||||
|
||||
# IMS
|
||||
PRODUCT_PACKAGES += \
|
||||
ims-ext-common
|
||||
|
||||
# Net
|
||||
PRODUCT_PACKAGES += \
|
||||
netutils-wrapper-1.0
|
||||
|
||||
# Seccomp policy
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
|
||||
$(LOCAL_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy
|
||||
|
||||
# Telephony
|
||||
PRODUCT_PACKAGES += \
|
||||
telephony-ext
|
||||
|
||||
PRODUCT_BOOT_JARS += \
|
||||
telephony-ext
|
||||
|
||||
# TextClassifier
|
||||
PRODUCT_PACKAGES += \
|
||||
textclassifier.bundle1
|
||||
|
||||
# VNDK-SP
|
||||
PRODUCT_PACKAGES += \
|
||||
vndk-sp
|
||||
# Inherit from those products. Most specific first.
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||
|
||||
# Get non-open-source specific aspects
|
||||
$(call inherit-product-if-exists, vendor/realme/sdm710-common/sdm710-common-vendor.mk)
|
||||
|
||||
# Boot animation
|
||||
TARGET_SCREEN_HEIGHT := 2244
|
||||
TARGET_SCREEN_WIDTH := 1080
|
||||
|
||||
# Device uses high-density artwork where available
|
||||
PRODUCT_AAPT_CONFIG := normal
|
||||
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
||||
|
||||
# Audio
|
||||
PRODUCT_PACKAGES += \
|
||||
audio.a2dp.default \
|
||||
tinymix
|
||||
|
||||
# Common init scripts
|
||||
PRODUCT_PACKAGES += \
|
||||
init.target.rc
|
||||
|
||||
# Display
|
||||
PRODUCT_PACKAGES += \
|
||||
libvulkan \
|
||||
vendor.display.config@1.0
|
||||
|
||||
# HIDL
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hidl.base@1.0 \
|
||||
android.hidl.manager@1.0
|
||||
|
||||
# IMS
|
||||
PRODUCT_PACKAGES += \
|
||||
ims-ext-common
|
||||
|
||||
# Net
|
||||
PRODUCT_PACKAGES += \
|
||||
netutils-wrapper-1.0
|
||||
|
||||
# Seccomp policy
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
|
||||
$(LOCAL_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy
|
||||
|
||||
# Telephony
|
||||
PRODUCT_PACKAGES += \
|
||||
telephony-ext
|
||||
|
||||
PRODUCT_BOOT_JARS += \
|
||||
telephony-ext
|
||||
|
||||
# TextClassifier
|
||||
PRODUCT_PACKAGES += \
|
||||
textclassifier.bundle1
|
||||
|
||||
# VNDK-SP
|
||||
PRODUCT_PACKAGES += \
|
||||
vndk-sp
|
||||
|
|
Loading…
Reference in a new issue