miuicamera: Adapt for sweet
Change-Id: Iacdc37db9bca48fdba8272d231a1ac484baed827
This commit is contained in:
parent
c9605a52ed
commit
d284d16ebc
@ -1,6 +1,6 @@
|
||||
// Automatically generated file. DO NOT MODIFY
|
||||
//
|
||||
// This file is generated by vendor/xiaomi/garnet-miuicamera/setup-makefiles.sh
|
||||
// This file is generated by vendor/xiaomi/sweet-miuicamera/setup-makefiles.sh
|
||||
|
||||
soong_namespace {
|
||||
imports: [
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Automatically generated file. DO NOT MODIFY
|
||||
#
|
||||
# This file is generated by vendor/xiaomi/garnet-miuicamera/setup-makefiles.sh
|
||||
# This file is generated by vendor/xiaomi/sweet-miuicamera/setup-makefiles.sh
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Automatically generated file. DO NOT MODIFY
|
||||
#
|
||||
# This file is generated by vendor/xiaomi/garnet-miuicamera/setup-makefiles.sh
|
||||
# This file is generated by vendor/xiaomi/sweet-miuicamera/setup-makefiles.sh
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Automatically generated file. DO NOT MODIFY
|
||||
#
|
||||
# This file is generated by vendor/xiaomi/garnet-miuicamera/setup-makefiles.sh
|
||||
# This file is generated by vendor/xiaomi/sweet-miuicamera/setup-makefiles.sh
|
||||
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
vendor/xiaomi/garnet-miuicamera/common
|
||||
vendor/xiaomi/sweet-miuicamera/common
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
set -e
|
||||
|
||||
DEVICE=common
|
||||
VENDOR=xiaomi/garnet-miuicamera
|
||||
VENDOR=xiaomi/sweet-miuicamera
|
||||
|
||||
# Load extract_utils and do some sanity checks
|
||||
MY_DIR="${BASH_SOURCE%/*}"
|
||||
|
@ -14,4 +14,4 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
include vendor/xiaomi/garnet-miuicamera/common/BoardConfigVendor.mk
|
||||
include vendor/xiaomi/sweet-miuicamera/common/BoardConfigVendor.mk
|
||||
|
@ -16,11 +16,11 @@
|
||||
|
||||
# Permissions
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/xiaomi/garnet-miuicamera/configs/permissions/privapp-permissions-miuicamera.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-miuicamera.xml
|
||||
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/garnet-miuicamera/configs/sysconfig/miuicamera-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/miuicamera-hiddenapi-package-whitelist.xml
|
||||
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 += \
|
||||
@ -28,4 +28,4 @@ PRODUCT_SYSTEM_PROPERTIES += \
|
||||
ro.com.google.lens.oem_camera_package=com.android.camera \
|
||||
vendor.camera.aux.packagelist=com.android.camera
|
||||
|
||||
$(call inherit-product, vendor/xiaomi/garnet-miuicamera/common/common-vendor.mk)
|
||||
$(call inherit-product, vendor/xiaomi/sweet-miuicamera/common/common-vendor.mk)
|
||||
|
@ -9,7 +9,7 @@
|
||||
set -e
|
||||
|
||||
DEVICE=common
|
||||
VENDOR=xiaomi/garnet-miuicamera
|
||||
VENDOR=xiaomi/sweet-miuicamera
|
||||
|
||||
# Load extract_utils and do some sanity checks
|
||||
MY_DIR="${BASH_SOURCE%/*}"
|
||||
@ -30,11 +30,11 @@ setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" true
|
||||
# Warning headers and guards
|
||||
write_headers "arm64"
|
||||
sed -i 's|TARGET_DEVICE|TARGET_ARCH|g' "${ANDROIDMK}"
|
||||
sed -i 's|vendor/xiaomi/garnet-miuicamera/|vendor/xiaomi/garnet-miuicamera/common|g' "${PRODUCTMK}"
|
||||
sed -i 's|device/xiaomi/garnet-miuicamera//setup-makefiles.sh|vendor/xiaomi/garnet-miuicamera/setup-makefiles.sh|g' "${ANDROIDBP}" "${ANDROIDMK}" "${BOARDMK}" "${PRODUCTMK}"
|
||||
sed -i 's|vendor/xiaomi/sweet-miuicamera/|vendor/xiaomi/sweet-miuicamera/common|g' "${PRODUCTMK}"
|
||||
sed -i 's|device/xiaomi/sweet-miuicamera//setup-makefiles.sh|vendor/xiaomi/sweet-miuicamera/setup-makefiles.sh|g' "${ANDROIDBP}" "${ANDROIDMK}" "${BOARDMK}" "${PRODUCTMK}"
|
||||
|
||||
write_makefiles "${MY_DIR}/proprietary-files.txt" true
|
||||
sed -i 's|"xiaomi/garnet-miuicamera"|"xiaomi"|g' "${ANDROIDBP}"
|
||||
sed -i 's|"xiaomi/sweet-miuicamera"|"xiaomi"|g' "${ANDROIDBP}"
|
||||
|
||||
# Finish
|
||||
write_footers
|
||||
|
Loading…
Reference in New Issue
Block a user