Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5b4b824 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "build: Allow NFC stack to be delivered as a mainline module or APK" into main

parents d6c7dadb dbaddabf
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -94,7 +94,6 @@ PRODUCT_PACKAGES += \
    framework-graphics \
    framework-minus-apex \
    framework-minus-apex-install-dependencies \
    framework-nfc \
    framework-res \
    framework-sysconfig.xml \
    fsck.erofs \
@@ -302,6 +301,16 @@ ifneq ($(PRODUCT_NO_DYNAMIC_SYSTEM_UPDATE),true)

endif

# Check if the build supports NFC apex or not
ifeq ($(RELEASE_PACKAGE_NFC_STACK),NfcNci)
    PRODUCT_PACKAGES += \
        framework-nfc \
        NfcNci
else
    PRODUCT_PACKAGES += \
        com.android.nfcservices
endif

# VINTF data for system image
PRODUCT_PACKAGES += \
    system_manifest.xml \
+9 −1
Original line number Diff line number Diff line
@@ -50,7 +50,6 @@ PRODUCT_TEST_ONLY_ART_BOOT_IMAGE_JARS := \
PRODUCT_BOOT_JARS += \
    framework-minus-apex \
    framework-graphics \
    framework-nfc \
    ext \
    telephony-common \
    voip-common \
@@ -88,6 +87,15 @@ PRODUCT_APEX_BOOT_JARS := \
    com.android.virt:framework-virtualization \
    com.android.wifi:framework-wifi \

# Check if the build supports NFC apex or not
ifeq ($(RELEASE_PACKAGE_NFC_STACK),NfcNci)
    PRODUCT_BOOT_JARS += \
        framework-nfc
else
    PRODUCT_APEX_BOOT_JARS := \
        com.android.nfcservices:framework-nfc
endif

# TODO(b/308174306): Adjust this after multiple prebuilts version is supported.
# APEX boot jars that are not in prebuilt apexes.
# Keep the list sorted by module names and then library names.
+0 −1
Original line number Diff line number Diff line
@@ -73,7 +73,6 @@ PRODUCT_PACKAGES += \
    UserDictionaryProvider \
    VpnDialogs \
    vr \
    $(RELEASE_PACKAGE_NFC_STACK)


PRODUCT_SYSTEM_SERVER_APPS += \