Merge "Add ArtUseReadBarrier to ProductVariables."
am: 6e2557fa88
Change-Id: I61b650dd6c80a472862d8e5273fd531c29b5d939
This commit is contained in:
@@ -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] {
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user