Merge "Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-master" into stage-aosp-master
This commit is contained in:
commit
fb041f8508
1 changed files with 4 additions and 4 deletions
|
@ -195,6 +195,10 @@ func (p *Prebuilt) usePrebuilt(ctx TopDownMutatorContext, source Module) bool {
|
|||
return source == nil || !source.Enabled()
|
||||
}
|
||||
|
||||
func (p *Prebuilt) SourceExists() bool {
|
||||
return p.properties.SourceExists
|
||||
}
|
||||
|
||||
func (p *Prebuilt) checkSingleSourceProperties() {
|
||||
if !p.srcProps.IsValid() || p.srcField.Name == "" {
|
||||
panic(fmt.Errorf("invalid single source prebuilt %+v", p))
|
||||
|
@ -215,7 +219,3 @@ func (p *Prebuilt) getSingleSourceFieldValue() string {
|
|||
}
|
||||
return value.String()
|
||||
}
|
||||
|
||||
func (p *Prebuilt) SourceExists() bool {
|
||||
return p.properties.SourceExists
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue