From 6e82748bd6376795ae8d426e2ccdbafdec11e15f Mon Sep 17 00:00:00 2001 From: Ulya Trafimovich Date: Fri, 12 Jun 2020 14:32:24 +0100 Subject: Rename dexpreopt.config field to bring it in sync with Make. Different names of the same field in Make and in Soong resulted in the field being dropped when unmarshalling the JSON from Make to Soong. As a result, the list of optional used libraries for Make modules was always empty. Test: lunch aosp_cf_x86_phone-userdebug && m Test: Cherry-pick in internal master and observe that the logcat error "ClassLoaderContext shared library size mismatch" for GoogleDialer has disappeared: terminal-1 $ lunch cf_x86_phone-userdebug && m && launch_cvd terminal-2 $ adb wait-for-device && adb root \ && adb logcat | grep 'size mismatch' (nothing after the change, one error message before the change) Bug: 132357300 Change-Id: I57820646fa7c1d8af01b2cbc8a3521da450719c0 --- java/dexpreopt.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'java/dexpreopt.go') diff --git a/java/dexpreopt.go b/java/dexpreopt.go index c33415ef6..7f1afd667 100644 --- a/java/dexpreopt.go +++ b/java/dexpreopt.go @@ -193,10 +193,10 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Mo ProfileIsTextListing: profileIsTextListing, ProfileBootListing: profileBootListing, - EnforceUsesLibraries: d.enforceUsesLibs, - PresentOptionalUsesLibraries: d.optionalUsesLibs, - UsesLibraries: d.usesLibs, - LibraryPaths: d.libraryPaths, + EnforceUsesLibraries: d.enforceUsesLibs, + OptionalUsesLibraries: d.optionalUsesLibs, + UsesLibraries: d.usesLibs, + LibraryPaths: d.libraryPaths, Archs: archs, DexPreoptImages: images, -- cgit v1.2.3-59-g8ed1b