config: Replace 'system' with '$(TARGET_COPY_OUT_SYSTEM)'
Change-Id: Id1ebab8f12cb8536f0244706200b91958d90821e
This commit is contained in:
parent
89521b1d7a
commit
f4032b8823
3 changed files with 28 additions and 28 deletions
|
@ -35,57 +35,57 @@ endif
|
|||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool.sh:install/bin/backuptool.sh \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions \
|
||||
vendor/lineage/prebuilt/common/bin/50-lineage.sh:system/addon.d/50-lineage.sh \
|
||||
vendor/lineage/prebuilt/common/bin/blacklist:system/addon.d/blacklist
|
||||
vendor/lineage/prebuilt/common/bin/50-lineage.sh:$(TARGET_COPY_OUT_SYSTEM)/addon.d/50-lineage.sh \
|
||||
vendor/lineage/prebuilt/common/bin/blacklist:$(TARGET_COPY_OUT_SYSTEM)/addon.d/blacklist
|
||||
|
||||
ifeq ($(AB_OTA_UPDATER),true)
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool_ab.sh:system/bin/backuptool_ab.sh \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool_ab.functions:system/bin/backuptool_ab.functions \
|
||||
vendor/lineage/prebuilt/common/bin/backuptool_postinstall.sh:system/bin/backuptool_postinstall.sh
|
||||
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
|
||||
endif
|
||||
|
||||
# Backup Services whitelist
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/config/permissions/backup.xml:system/etc/sysconfig/backup.xml
|
||||
vendor/lineage/config/permissions/backup.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/backup.xml
|
||||
|
||||
# Lineage-specific broadcast actions whitelist
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/config/permissions/lineage-sysconfig.xml:system/etc/sysconfig/lineage-sysconfig.xml
|
||||
vendor/lineage/config/permissions/lineage-sysconfig.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/lineage-sysconfig.xml
|
||||
|
||||
# init.d support
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/etc/init.d/00banner:system/etc/init.d/00banner \
|
||||
vendor/lineage/prebuilt/common/bin/sysinit:system/bin/sysinit
|
||||
vendor/lineage/prebuilt/common/etc/init.d/00banner:$(TARGET_COPY_OUT_SYSTEM)/etc/init.d/00banner \
|
||||
vendor/lineage/prebuilt/common/bin/sysinit:$(TARGET_COPY_OUT_SYSTEM)/bin/sysinit
|
||||
|
||||
ifneq ($(TARGET_BUILD_VARIANT),user)
|
||||
# userinit support
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/etc/init.d/90userinit:system/etc/init.d/90userinit
|
||||
vendor/lineage/prebuilt/common/etc/init.d/90userinit:$(TARGET_COPY_OUT_SYSTEM)/etc/init.d/90userinit
|
||||
endif
|
||||
|
||||
# Copy all Lineage-specific init rc files
|
||||
$(foreach f,$(wildcard vendor/lineage/prebuilt/common/etc/init/*.rc),\
|
||||
$(eval PRODUCT_COPY_FILES += $(f):system/etc/init/$(notdir $f)))
|
||||
$(eval PRODUCT_COPY_FILES += $(f):$(TARGET_COPY_OUT_SYSTEM)/etc/init/$(notdir $f)))
|
||||
|
||||
# Copy over added mimetype supported in libcore.net.MimeUtils
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/lib/content-types.properties:system/lib/content-types.properties
|
||||
vendor/lineage/prebuilt/common/lib/content-types.properties:$(TARGET_COPY_OUT_SYSTEM)/lib/content-types.properties
|
||||
|
||||
# Enable SIP+VoIP on all targets
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
|
||||
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.sip.voip.xml
|
||||
|
||||
# Enable wireless Xbox 360 controller support
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/base/data/keyboards/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_0719.kl
|
||||
frameworks/base/data/keyboards/Vendor_045e_Product_028e.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/Vendor_045e_Product_0719.kl
|
||||
|
||||
# This is Lineage!
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/config/permissions/org.lineageos.android.xml:system/etc/permissions/org.lineageos.android.xml \
|
||||
vendor/lineage/config/permissions/privapp-permissions-lineage-system.xml:system/etc/permissions/privapp-permissions-lineage.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.android.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.android.xml \
|
||||
vendor/lineage/config/permissions/privapp-permissions-lineage-system.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-lineage.xml \
|
||||
vendor/lineage/config/permissions/privapp-permissions-lineage-product.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-lineage.xml \
|
||||
vendor/lineage/config/permissions/privapp-permissions-cm-legacy.xml:system/etc/permissions/privapp-permissions-cm-legacy.xml
|
||||
vendor/lineage/config/permissions/privapp-permissions-cm-legacy.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-cm-legacy.xml
|
||||
|
||||
# Enforce privapp-permissions whitelist
|
||||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
|
@ -93,11 +93,11 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
|||
|
||||
# Hidden API whitelist
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/config/permissions/lineage-hiddenapi-package-whitelist.xml:system/etc/permissions/lineage-hiddenapi-package-whitelist.xml
|
||||
vendor/lineage/config/permissions/lineage-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/lineage-hiddenapi-package-whitelist.xml
|
||||
|
||||
# Power whitelist
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/config/permissions/lineage-power-whitelist.xml:system/etc/sysconfig/lineage-power-whitelist.xml
|
||||
vendor/lineage/config/permissions/lineage-power-whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/lineage-power-whitelist.xml
|
||||
|
||||
# Include AOSP audio files
|
||||
include vendor/lineage/config/aosp_audio.mk
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Permissions for lineage sdk services
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/config/permissions/org.lineageos.audio.xml:system/etc/permissions/org.lineageos.audio.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.livedisplay.xml:system/etc/permissions/org.lineageos.livedisplay.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.performance.xml:system/etc/permissions/org.lineageos.performance.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.profiles.xml:system/etc/permissions/org.lineageos.profiles.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.settings.xml:system/etc/permissions/org.lineageos.settings.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.style.xml:system/etc/permissions/org.lineageos.style.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.trust.xml:system/etc/permissions/org.lineageos.trust.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.weather.xml:system/etc/permissions/org.lineageos.weather.xml
|
||||
vendor/lineage/config/permissions/org.lineageos.audio.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.audio.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.livedisplay.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.livedisplay.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.performance.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.performance.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.profiles.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.profiles.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.settings.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.settings.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.style.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.style.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.trust.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.trust.xml \
|
||||
vendor/lineage/config/permissions/org.lineageos.weather.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/org.lineageos.weather.xml
|
||||
|
||||
# Lineage Platform Library
|
||||
PRODUCT_PACKAGES += \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Sensitive Phone Numbers list
|
||||
PRODUCT_COPY_FILES += \
|
||||
vendor/lineage/prebuilt/common/etc/sensitive_pn.xml:system/etc/sensitive_pn.xml
|
||||
vendor/lineage/prebuilt/common/etc/sensitive_pn.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sensitive_pn.xml
|
||||
|
||||
# World APN list
|
||||
PRODUCT_PACKAGES += \
|
||||
|
|
Loading…
Reference in a new issue