summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorJooyung Han <jooyung@google.com>2019-10-29 05:29:56 +0900
committerJooyung Han <jooyung@google.com>2019-10-29 05:47:03 +0900
commit09283992cab15787288a03e6d283aa893de158be (patch)
tree9448b8dc11808084bf66984a6700b99001431114 /libc/malloc_debug/malloc_debug.cpp
parent9615e0ddacafcc728ff432fce61eaa0a1049880e (diff)
Add linker config variable: VNDK_APEX_VER
With VNDK APEX, the path for VNDK libs has been changed from /system/lib/vndk-VER to /apex/com.android.vndk.vVER/lib In most cases, vndk version can be substituted when generating ld.config.txt by linkerconfig. But, ld.config.txt files in APEX packages still rely on runtime substitution. Specifically, com.android.media.swcodec is using VNDK_VER variable. Moreover, it cannot migrate to a new location since it should run on older version of system due to APEX requirements. For backward compatibility, instead of changing the value of old variable, a new variable is added. - VNDK_VER : "-" prefixed vndk version, used for older path (e.g. /system/lib/vndk-sp-29) - VNDK_APEX_VER : "v" prefixed vndk versions. (e.g. /apex/com.android.vndk.v29/lib) Test: add a vendor binary to /apex/com.android.media.swcodec/bin which opens /system/lib/vndk-sp{VNDK_VER}/hw/android.hidl.memory@1.0-impl.so via android_load_sphal_library() Bug: 142912195 Change-Id: I3dfb3c1068cff00d5b63e92d51da6c4af00d264e
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions