Preopt: Do not strip non-image boot class path jars.
Test: Pixel 2 XL boots. Bug: 119868597 Change-Id: I7bd3b7655aecf1a8c26dd8d4d18d3eec685ece88
This commit is contained in:
committed by
Nicolas Geoffray
parent
ae1366f60d
commit
e8b00d69c0
@@ -749,6 +749,14 @@ func (c *config) ModulesLoadedByPrivilegedModules() []string {
|
||||
return c.productVariables.ModulesLoadedByPrivilegedModules
|
||||
}
|
||||
|
||||
func (c *config) BootJars() []string {
|
||||
return c.productVariables.BootJars
|
||||
}
|
||||
|
||||
func (c *config) PreoptBootJars() []string {
|
||||
return c.productVariables.PreoptBootJars
|
||||
}
|
||||
|
||||
func (c *config) DisableDexPreopt(name string) bool {
|
||||
return Bool(c.productVariables.DisableDexPreopt) || InList(name, c.productVariables.DisableDexPreoptModules)
|
||||
}
|
||||
|
Reference in New Issue
Block a user