Merge "Add WithDexpreopt soong variable"
This commit is contained in:
@@ -1005,6 +1005,10 @@ func (c *config) DexpreoptGlobalConfig(ctx PathContext) ([]byte, error) {
|
||||
return ioutil.ReadFile(absolutePath(path.String()))
|
||||
}
|
||||
|
||||
func (c *deviceConfig) WithDexpreopt() bool {
|
||||
return c.config.productVariables.WithDexpreopt
|
||||
}
|
||||
|
||||
func (c *config) FrameworksBaseDirExists(ctx PathContext) bool {
|
||||
return ExistentPathForSource(ctx, "frameworks", "base", "Android.bp").Valid()
|
||||
}
|
||||
|
@@ -341,6 +341,8 @@ type productVariables struct {
|
||||
|
||||
DexpreoptGlobalConfig *string `json:",omitempty"`
|
||||
|
||||
WithDexpreopt bool `json:",omitempty"`
|
||||
|
||||
ManifestPackageNameOverrides []string `json:",omitempty"`
|
||||
CertificateOverrides []string `json:",omitempty"`
|
||||
PackageNameOverrides []string `json:",omitempty"`
|
||||
|
Reference in New Issue
Block a user