diff options
author | 2021-07-15 15:05:48 +0100 | |
---|---|---|
committer | 2021-07-15 15:19:26 +0100 | |
commit | e14f80b2d3454b7828be6aed6289b114d893de5f (patch) | |
tree | 99af1b27fa19469fbfd97396f5bc924767955351 /java/platform_bootclasspath.go | |
parent | 2444671b4a4653e1e087ea700fbde0f6ffb005ea (diff) |
Fix handling of "prebuilt_" prefix in classLoaderContextForUsesLibDeps.
Changes:
- Cut off "prebuilt_" prefix from `dep`, not `libName`, because `dep` is
used to replace library name in `usesLibraryProperties`, and these
properties are specified without "prebuilt_" prefix.
- Do not remove "prebuilt_" prefix on the return value of
`ProvidesUsesLib()`: this boils down to `provides_uses_lib` property
which is specified without the prefix.
Bug: 193425964
Test: $ lunch aosp_cf_x86_64_phone-userdebug && m && launch_cvd
$ adb wait-for-device && \
adb root && \
adb logcat | \
grep -E 'ClassLoaderContext [a-z ]+ mismatch' -C1
# empty output, no errors
Change-Id: I6cb65040027023d12ca0bc132d60c2c245174c40
Diffstat (limited to 'java/platform_bootclasspath.go')
0 files changed, 0 insertions, 0 deletions