Exclude some files from artifact path requirements
Change-Id: Id5ef2a44c0cd3b76e3285c26826031f773b7a95f
This commit is contained in:
committed by
Michael Bestas
parent
a427f43848
commit
933aa91e52
@@ -30,11 +30,20 @@ PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions \
|
||||
vendor/lineage/prebuilt/common/bin/50-lineage.sh:$(TARGET_COPY_OUT_SYSTEM)/addon.d/50-lineage.sh
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/addon.d/50-lineage.sh
|
||||
|
||||
ifneq ($(strip $(AB_OTA_PARTITIONS) $(AB_OTA_POSTINSTALL_CONFIG)),)
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool_ab.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.sh \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool_ab.functions:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_ab.functions \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool_postinstall.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/backuptool_postinstall.sh
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/bin/backuptool_ab.sh \
|
||||
system/bin/backuptool_ab.functions \
|
||||
system/bin/backuptool_postinstall.sh
|
||||
|
||||
ifneq ($(TARGET_BUILD_VARIANT),user)
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
ro.ota.allow_downgrade=true
|
||||
@@ -135,6 +144,11 @@ PRODUCT_PACKAGES += \
|
||||
vim \
|
||||
zip
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/bin/curl \
|
||||
system/bin/getcap \
|
||||
system/bin/setcap
|
||||
|
||||
# Openssh
|
||||
PRODUCT_PACKAGES += \
|
||||
scp \
|
||||
@@ -160,6 +174,11 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
procmem
|
||||
|
||||
ifneq ($(TARGET_BUILD_VARIANT),user)
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/bin/procmem
|
||||
endif
|
||||
|
||||
# Root
|
||||
PRODUCT_PACKAGES += \
|
||||
adb_root
|
||||
|
@@ -18,6 +18,14 @@ PRODUCT_PACKAGES += \
|
||||
PRODUCT_PACKAGES += \
|
||||
liblineage-sdk_platform_jni
|
||||
|
||||
# AOSP has no support of loading framework resources from /system_ext
|
||||
# so the SDK has to stay in /system for now
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
system/framework/oat/%/org.lineageos.platform.odex \
|
||||
system/framework/oat/%/org.lineageos.platform.vdex \
|
||||
system/framework/org.lineageos.platform-res.apk \
|
||||
system/framework/org.lineageos.platform.jar
|
||||
|
||||
ifndef LINEAGE_PLATFORM_SDK_VERSION
|
||||
# This is the canonical definition of the SDK version, which defines
|
||||
# the set of APIs and functionality available in the platform. It
|
||||
|
Reference in New Issue
Block a user