Pass DEXPREOPT_BOOT_JARS_MODULES to Make
am: 9be4152c21
Change-Id: Iace5214d2c4f0fc505f67ec210e3df8a8829547e
This commit is contained in:
@@ -775,10 +775,6 @@ func (c *config) BootJars() []string {
|
|||||||
return c.productVariables.BootJars
|
return c.productVariables.BootJars
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *config) PreoptBootJars() []string {
|
|
||||||
return c.productVariables.PreoptBootJars
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *config) DexpreoptGlobalConfig() string {
|
func (c *config) DexpreoptGlobalConfig() string {
|
||||||
return String(c.productVariables.DexpreoptGlobalConfig)
|
return String(c.productVariables.DexpreoptGlobalConfig)
|
||||||
}
|
}
|
||||||
|
@@ -200,8 +200,7 @@ type productVariables struct {
|
|||||||
UncompressPrivAppDex *bool `json:",omitempty"`
|
UncompressPrivAppDex *bool `json:",omitempty"`
|
||||||
ModulesLoadedByPrivilegedModules []string `json:",omitempty"`
|
ModulesLoadedByPrivilegedModules []string `json:",omitempty"`
|
||||||
|
|
||||||
BootJars []string `json:",omitempty"`
|
BootJars []string `json:",omitempty"`
|
||||||
PreoptBootJars []string `json:",omitempty"`
|
|
||||||
|
|
||||||
IntegerOverflowExcludePaths []string `json:",omitempty"`
|
IntegerOverflowExcludePaths []string `json:",omitempty"`
|
||||||
|
|
||||||
|
@@ -151,4 +151,6 @@ func init() {
|
|||||||
func dexpreoptConfigMakevars(ctx android.MakeVarsContext) {
|
func dexpreoptConfigMakevars(ctx android.MakeVarsContext) {
|
||||||
ctx.Strict("PRODUCT_BOOTCLASSPATH", strings.Join(defaultBootclasspath(ctx), ":"))
|
ctx.Strict("PRODUCT_BOOTCLASSPATH", strings.Join(defaultBootclasspath(ctx), ":"))
|
||||||
ctx.Strict("PRODUCT_SYSTEM_SERVER_CLASSPATH", strings.Join(systemServerClasspath(ctx), ":"))
|
ctx.Strict("PRODUCT_SYSTEM_SERVER_CLASSPATH", strings.Join(systemServerClasspath(ctx), ":"))
|
||||||
|
|
||||||
|
ctx.Strict("DEXPREOPT_BOOT_JARS_MODULES", strings.Join(defaultBootImageConfig(ctx).modules, ":"))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user