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

Commit 49ad72c3 authored by Yo Chiang's avatar Yo Chiang Committed by Yi-yo Chiang
Browse files

Use on_vendor VNDK APEX for non-REL build

For non-REL branch, move VNDK APEX to /vendor partition so we don't need
to update vendor.img prebuilt everytime there is a change in the VNDK
libraries.
For REL branch, the API/ABI surfaces of VNDK libraries are frozen so
don't need to move to /vendor partition.

Bug: 140136207
Test: Build on REL and non-REL branch
Change-Id: I55d1ba68de3a4468250bae1b5fbcba6f62c599c2
parent 4a741dc9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -49,6 +49,12 @@ $(call inherit-product-if-exists, vendor/google_devices/redfin/prebuilts/device-
PRODUCT_COPY_FILES += \
    frameworks/native/data/etc/aosp_excluded_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/aosp_excluded_hardware.xml

# Keep the VNDK APEX in /system partition for REL branches as these branches are
# expected to have stable API/ABI surfaces.
ifneq (REL,$(PLATFORM_VERSION_CODENAME))
  PRODUCT_PACKAGES += com.android.vndk.current.on_vendor
endif

# Don't build super.img.
PRODUCT_BUILD_SUPER_PARTITION := false