Merge "Add sort_bss_symbols_by_size property for shared libs" am: 446441fc19
am: 6f127a7fa3
Change-Id: I6f98965a84b5818d66806942b4058a27bfbabb3b
diff --git a/android/prebuilt.go b/android/prebuilt.go
index b674153..48d3b68 100644
--- a/android/prebuilt.go
+++ b/android/prebuilt.go
@@ -195,6 +195,10 @@
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 @@
}
return value.String()
}
-
-func (p *Prebuilt) SourceExists() bool {
- return p.properties.SourceExists
-}