Merge "Add WithDexpreopt soong variable" am: eb120bd741
am: 3c4cb3e99b
am: df6015f661
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649336 Change-Id: I76b917412953b97966e93015542d34f9456a8526
This commit is contained in:
commit
9689b5c5ef
|
@ -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()
|
||||
}
|
||||
|
|
|
@ -342,6 +342,8 @@ type productVariables struct {
|
|||
|
||||
DexpreoptGlobalConfig *string `json:",omitempty"`
|
||||
|
||||
WithDexpreopt bool `json:",omitempty"`
|
||||
|
||||
ManifestPackageNameOverrides []string `json:",omitempty"`
|
||||
CertificateOverrides []string `json:",omitempty"`
|
||||
PackageNameOverrides []string `json:",omitempty"`
|
||||
|
|
Loading…
Reference in New Issue