Merge "Add ArtUseReadBarrier to ProductVariables." am: 6e2557fa88

am: 8b65b744ad

Change-Id: I4666e294585a119b1368230394c75fd8ac54c285
This commit is contained in:
Hiroshi Yamauchi
2016-12-20 20:40:13 +00:00
committed by android-build-merger
2 changed files with 6 additions and 0 deletions

View File

@@ -435,6 +435,10 @@ func (c *config) LibartImgDeviceBaseAddress() string {
}
}
func (c *config) ArtUseReadBarrier() bool {
return Bool(c.ProductVariables.ArtUseReadBarrier)
}
func (c *deviceConfig) Arches() []Arch {
var arches []Arch
for _, target := range c.config.Targets[Device] {

View File

@@ -136,6 +136,8 @@ type productVariables struct {
SanitizeHost []string `json:",omitempty"`
SanitizeDevice []string `json:",omitempty"`
SanitizeDeviceArch []string `json:",omitempty"`
ArtUseReadBarrier *bool `json:",omitempty"`
}
func boolPtr(v bool) *bool {