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

Commit cc3924fd authored by Justin Yun's avatar Justin Yun Committed by android-build-merger
Browse files

Merge "Use current VNDK directories if version is not set on GSI"

am: a5af4d92

Change-Id: I6e5abd1191bd469765c5f610bb47d4b1c1baf22f
parents 4647f812 a5af4d92
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -87,3 +87,7 @@ PRODUCT_COPY_FILES += \
    system/core/rootdir/etc/ld.config.txt:system/etc/ld.config.noenforce.txt \
    build/make/target/product/vndk/init.gsi.rc:system/etc/init/init.gsi.rc \
    build/make/target/product/vndk/init.noenforce.rc:system/etc/init/gsi/init.noenforce.rc

#Set current VNDK version for GSI
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
    ro.gsi.vndk.version=$(PLATFORM_VNDK_VERSION)
+2 −0
Original line number Diff line number Diff line
on early-init
    # If ro.vndk.version is not set, use ld.config.nonenforce.txt
    export LD_CONFIG_FILE /system/etc/ld.config.noenforce.txt
    # To use current VNDK libs, set ro.vndk.version to system vndk version
    setprop ro.vndk.version ${ro.gsi.vndk.version}