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

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

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

parents a6c3cece c104764f
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}