aboutsummaryrefslogtreecommitdiff
path: root/builder-model
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2013-07-01 13:57:56 -0700
committerXavier Ducrohet <xav@android.com>2013-07-01 14:18:41 -0700
commit4fae04bf8b99ace66b8970f6fa344e884e9ae4fe (patch)
tree2276e8dc719a04d722137c7e66d0b8f0a10fa409 /builder-model
parentdaca5425d02fe1706f060d76865e84ffcae80c42 (diff)
downloadbuild-4fae04bf8b99ace66b8970f6fa344e884e9ae4fe.tar.gz
Add the original bundle to the library model.
This gives access both to the aar file and the exploded folder (which may not be exploded yet when the model is queried). Change-Id: Ieeba1ab19a8746448b047c73bcd1dcb23b47ab11
Diffstat (limited to 'builder-model')
-rw-r--r--builder-model/src/main/java/com/android/builder/model/AndroidLibrary.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/builder-model/src/main/java/com/android/builder/model/AndroidLibrary.java b/builder-model/src/main/java/com/android/builder/model/AndroidLibrary.java
index df19b16..dfd8d33 100644
--- a/builder-model/src/main/java/com/android/builder/model/AndroidLibrary.java
+++ b/builder-model/src/main/java/com/android/builder/model/AndroidLibrary.java
@@ -27,6 +27,12 @@ import java.util.List;
public interface AndroidLibrary {
/**
+ * Returns the location of the library aar bundle.
+ */
+ @NonNull
+ File getBundle();
+
+ /**
* Returns the location of the unzipped archive.
*/
@NonNull