summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorJae Shin <jaeshin@google.com>2018-07-25 18:01:29 +0900
committerJae Shin <jaeshin@google.com>2018-08-13 10:37:27 +0900
commitf6dff6dd331367b77d8fe0f369b07a1a3c6638d7 (patch)
tree20a47240f7c0462e7f1e16d98f65123012ebc434 /base/errors_unix.cpp
parent2a5881186d033d43633571133e1602688bf5b377 (diff)
Build ld.config.txt for older VNDK versions
Until now, the ld.config.$VER.txt for $VER older than PLATFORM_VNDK_VERSION was installed from a prebuilt stored under /prebuilts/vndk/v$VER. At runtime, the VNDK version needed by the vendor partition (ro.vndk.version) determines which ld.config.$VER.txt is loaded and this configuration is used for both system and vendor processes. In a system-only-upgrade scenario, where the system partition is a newer Android version than the vendor partition, this is a problem because the prebuilt linker config file will not reflect the most recent system partition related changes made in the newer Android version. To fix this problem, this change builds ld.config.$VER.txt for older VNDK versions from the source tree by getting the lists of VNDK libraries from the /prebuilts/vndk/v{VER} directory. Test: m -j ld.config.txt ld.config.28.txt ld.config.vndk_lite.txt Bug: 74658756 Merged-In: I1fa2469fc0bce2f2aab507104cd9717b6112d738 Change-Id: I1fa2469fc0bce2f2aab507104cd9717b6112d738 (cherry picked from commit c30e0709bb2ce123a3aa33297ca57ce034811e6f)
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions