Expose "full" dexpreopt.config
1. Instead of 'slim' config, use full config even for libs 2. Define moduleJSONConfig for fields which cannot be converted to JSON field directly(Path type field, ProfileBootListing, DexPreoptImagesDeps are added in this CL) and exclude fields which is convertible(DexPreoptImageLocations) Bug: 158843648 Test: m dist Change-Id: I3f9192ab5292bd079be1b686bb3b25735a836cbc
This commit is contained in:
@@ -398,6 +398,9 @@ func (app *AndroidApp) AndroidMkEntries() []android.AndroidMkEntries {
|
||||
if len(app.dexpreopter.builtInstalled) > 0 {
|
||||
entries.SetString("LOCAL_SOONG_BUILT_INSTALLED", app.dexpreopter.builtInstalled)
|
||||
}
|
||||
if app.dexpreopter.configPath != nil {
|
||||
entries.SetPath("LOCAL_SOONG_DEXPREOPT_CONFIG", app.dexpreopter.configPath)
|
||||
}
|
||||
for _, extra := range app.extraOutputFiles {
|
||||
install := app.onDeviceDir + "/" + extra.Base()
|
||||
entries.AddStrings("LOCAL_SOONG_BUILT_INSTALLED", extra.String()+":"+install)
|
||||
|
Reference in New Issue
Block a user