Merge "Add $PRODUCT_OUT/test_harness_ramdisk to installclean"
am: 9026090263
Change-Id: I6cde7498cf58a95cb421b019b5575e2447abce50
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
-}