apns: Convert build rule to Soong

Change-Id: I46dee0bb119891a55e3bc62dbb1c3e7d98413a35
This commit is contained in:
Sebastiano Barezzi
2024-07-22 12:13:09 +02:00
committed by LuK1337
parent 11faaafa7c
commit c871fc9a27
2 changed files with 6 additions and 14 deletions

View File

@@ -1,3 +1,9 @@
prebuilt_etc_xml {
name: "apns-conf.xml",
product_specific: true,
src: "etc/apns-conf.xml",
}
prebuilt_etc_xml {
name: "sensitive_pn.xml",
product_specific: true,

View File

@@ -1,14 +0,0 @@
LOCAL_PATH := $(call my-dir)
################################
# Copies the APN list file into $(TARGET_COPY_OUT_PRODUCT)/etc for the product as apns-conf.xml.
include $(CLEAR_VARS)
LOCAL_MODULE := apns-conf.xml
LOCAL_MODULE_CLASS := ETC
LOCAL_PREBUILT_MODULE_FILE := vendor/lineage/prebuilt/common/etc/apns-conf.xml
LOCAL_PRODUCT_MODULE := true
include $(BUILD_PREBUILT)