vendor_xiaomi_sweet-miuicamera/products/miuicamera.mk
Alexander Winkowski 44d64fcd53
miuicamera: Dexpreopt MiuiCamera
Change-Id: Ifdc93b342c501d6eb4ea8c9a023bcf6c7cc7fe77
2024-04-23 17:25:24 +02:00

40 lines
1.4 KiB
Makefile

#
# Copyright (C) 2020 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.
#
# Dex
PRODUCT_DEXPREOPT_SPEED_APPS += \
MiuiCamera
# Permissions
PRODUCT_COPY_FILES += \
vendor/xiaomi/sweet-miuicamera/configs/permissions/privapp-permissions-miuicamera.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-miuicamera.xml
# Shims
PRODUCT_PACKAGES += \
libgui_shim_miuicamera
# Sysconfig
PRODUCT_COPY_FILES += \
vendor/xiaomi/sweet-miuicamera/configs/sysconfig/miuicamera-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/miuicamera-hiddenapi-package-whitelist.xml
# Props
PRODUCT_SYSTEM_PROPERTIES += \
persist.vendor.camera.privapp.list=com.android.camera \
ro.com.google.lens.oem_camera_package=com.android.camera \
vendor.camera.aux.packagelist=com.android.camera
$(call inherit-product, vendor/xiaomi/sweet-miuicamera/common/common-vendor.mk)