aboutsummaryrefslogtreecommitdiff
path: root/builder-model
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@google.com>2013-12-03 18:35:31 -0800
committerXavier Ducrohet <xav@google.com>2013-12-03 18:37:21 -0800
commitac055ae77a7b0c599727a38e18b872e294b15087 (patch)
treecb62c4839021fb621c3066d884bdc7e33730976f /builder-model
parent39aa53c42ed944e08db1e69ad557756eb84a36ad (diff)
downloadbuild-ac055ae77a7b0c599727a38e18b872e294b15087.tar.gz
Add option to filter resources.
Change-Id: Id89b666687e8ea245618435cc47b6e2a84ed02aa
Diffstat (limited to 'builder-model')
-rw-r--r--builder-model/src/main/java/com/android/builder/model/ProductFlavor.java13
-rw-r--r--builder-model/src/main/java/com/android/builder/model/Variant.java11
2 files changed, 13 insertions, 11 deletions
diff --git a/builder-model/src/main/java/com/android/builder/model/ProductFlavor.java b/builder-model/src/main/java/com/android/builder/model/ProductFlavor.java
index fef921d..2e5eb81 100644
--- a/builder-model/src/main/java/com/android/builder/model/ProductFlavor.java
+++ b/builder-model/src/main/java/com/android/builder/model/ProductFlavor.java
@@ -19,6 +19,8 @@ package com.android.builder.model;
import com.android.annotations.NonNull;
import com.android.annotations.Nullable;
+import java.util.Collection;
+
/**
* a Product Flavor. This is only the configuration of the flavor.
*
@@ -144,4 +146,15 @@ public interface ProductFlavor extends BaseConfig {
*/
@Nullable
NdkConfig getNdkConfig();
+
+ /**
+ * Returns the resource configuration for this variant.
+ * TODO implement this.
+ *
+ * This is the list of -c parameters for aapt.
+ *
+ * @return the resource configuration options.
+ */
+ @NonNull
+ Collection<String> getResourceConfigurations();
}
diff --git a/builder-model/src/main/java/com/android/builder/model/Variant.java b/builder-model/src/main/java/com/android/builder/model/Variant.java
index 532901e..67813ae 100644
--- a/builder-model/src/main/java/com/android/builder/model/Variant.java
+++ b/builder-model/src/main/java/com/android/builder/model/Variant.java
@@ -86,15 +86,4 @@ public interface Variant {
*/
@NonNull
ProductFlavor getMergedFlavor();
-
- /**
- * Returns the resource configuration for this variant.
- * TODO implement this.
- *
- * This is the list of -c parameters for aapt.
- *
- * @return the resource configuration options.
- */
- @NonNull
- Collection<String> getResourceConfigurations();
}