Merge "Add ArtUseReadBarrier to ProductVariables."

This commit is contained in:
Hiroshi Yamauchi 2016-12-20 18:56:19 +00:00 committed by Gerrit Code Review
commit 6e2557fa88
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 {