50 lines
1.5 KiB
Makefile
50 lines
1.5 KiB
Makefile
#
|
|
# Copyright (C) 2023 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.
|
|
#
|
|
|
|
LOCAL_PATH := device/motorola/rtwo
|
|
|
|
# Dynamic partitions
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
# fastbootd
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.fastboot@1.0-impl-mock \
|
|
fastbootd
|
|
|
|
# qcom decryption
|
|
PRODUCT_PACKAGES += \
|
|
qcom_decrypt \
|
|
qcom_decrypt_fbe
|
|
|
|
# Dependencies
|
|
TARGET_RECOVERY_DEVICE_MODULES += \
|
|
android.hidl.allocator@1.0 \
|
|
android.hidl.memory@1.0 \
|
|
android.hidl.memory.token@1.0 \
|
|
libhidlmemory \
|
|
libion \
|
|
libdmabufheap
|
|
|
|
RECOVERY_LIBRARY_SOURCE_FILES += \
|
|
$(TARGET_OUT_SHARED_LIBRARIES)/android.hidl.allocator@1.0.so \
|
|
$(TARGET_OUT_SHARED_LIBRARIES)/android.hidl.memory@1.0.so \
|
|
$(TARGET_OUT_SHARED_LIBRARIES)/android.hidl.memory.token@1.0.so \
|
|
$(TARGET_OUT_SHARED_LIBRARIES)/libhidlmemory.so \
|
|
$(TARGET_OUT_SHARED_LIBRARIES)/libion.so \
|
|
$(TARGET_OUT_SHARED_LIBRARIES)/libdmabufheap.so
|
|
|
|
# Enable Fuse Passthrough
|
|
PRODUCT_PROPERTY_OVERRIDES += persist.sys.fuse.passthrough.enable=true
|