Merge "Do not link libc++.so statically on device."
am: 98eccba8b4
Change-Id: I5decbaf3ae182910d10851f185681dc111ba0b93
diff --git a/android/prebuilt.go b/android/prebuilt.go
index 8559df9..0ee1201 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
-}