vendor_xiaomi_sweet-miuicamera/products/miuicamera.mk
Arian c12dc0d8a7
miuicamera: Drop explicit building of libgui shim
Change-Id: I7bbc4e7b4ba12fe427ce2d986125fca8f24731f2
2024-09-13 16:10:12 -04:00

35 lines
1.3 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
# 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 \
$(call inherit-product, vendor/xiaomi/sweet-miuicamera/common/common-vendor.mk)