From ae6b91f8fb1a1fd9e0a5ed1889533945bc1986ac Mon Sep 17 00:00:00 2001 From: Matt Filetto Date: Mon, 18 Mar 2024 10:40:30 -0700 Subject: [PATCH] target: Exclude Sample APN when compiling a superior based build. * GSI Targets like husky fail without this. Inspired by LOS Signed-off-by: Matt Filetto --- target/product/aosp_product.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/product/aosp_product.mk b/target/product/aosp_product.mk index f1c69f4e6e..ab32911bd2 100644 --- a/target/product/aosp_product.mk +++ b/target/product/aosp_product.mk @@ -27,5 +27,7 @@ PRODUCT_PACKAGES += \ # Telephony: # Provide a APN configuration to GSI product +ifeq ($(SUPERIOR_BUILD),) PRODUCT_COPY_FILES += \ device/sample/etc/apns-full-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml +endif