Add unit tests for class loader context.
Test: lunch aosp_cf_x86_phone-userdebug && m Bug: 132357300 Change-Id: I96a1e6cef86652e429b1678a655fc0b02f40d00c
This commit is contained in:
@@ -81,7 +81,9 @@ func GenerateDexpreoptRule(ctx android.PathContext, globalSoong *GlobalSoongConf
|
||||
}
|
||||
|
||||
if !dexpreoptDisabled(ctx, global, module) {
|
||||
if clc := genClassLoaderContext(ctx, global, module); clc != nil {
|
||||
if clc, err := genClassLoaderContext(ctx, global, module); err != nil {
|
||||
android.ReportPathErrorf(ctx, err.Error())
|
||||
} else if clc != nil {
|
||||
appImage := (generateProfile || module.ForceCreateAppImage || global.DefaultAppImages) &&
|
||||
!module.NoCreateAppImage
|
||||
|
||||
|
Reference in New Issue
Block a user