Test that DisableGenerateProfile
takes effects for APEXes.
Bug: 209630530 Test: m nothing Change-Id: I5953f36e219ba63f8a01fa5dc60456db35eef5ac
This commit is contained in:
@@ -167,3 +167,10 @@ func FixtureSetBootImageProfiles(profiles ...string) android.FixturePreparer {
|
||||
dexpreoptConfig.BootImageProfiles = android.PathsForSource(ctx, profiles)
|
||||
})
|
||||
}
|
||||
|
||||
// FixtureDisableGenerateProfile sets the DisableGenerateProfile property in the global config.
|
||||
func FixtureDisableGenerateProfile(disable bool) android.FixturePreparer {
|
||||
return FixtureModifyGlobalConfig(func(_ android.PathContext, dexpreoptConfig *GlobalConfig) {
|
||||
dexpreoptConfig.DisableGenerateProfile = disable
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user