Remove unused feature_of/feature_after support from ResourceProcessorBusyBox
This was never launched and depends on flags which exist in aapt but not
aapt2.  Bazel was updated in
@@ -88,28 +88,6 @@ public class AndroidResourceProcessor {
)
public Path aapt;
- @Option(
- name = "featureOf",
- defaultValue = "null",
- converter = ExistingPathConverter.class,
- category = "config",
- documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
- effectTags = {OptionEffectTag.UNKNOWN},
- help = "Base apk path."
- )
- public Path featureOf;
-
- @Option(
- name = "featureAfter",
- defaultValue = "null",
- converter = ExistingPathConverter.class,
- category = "config",
- documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
- effectTags = {OptionEffectTag.UNKNOWN},
- help = "Apk path of previous split (if any)."
- )
- public Path featureAfter;
-
@Option(
name = "androidJar",
defaultValue = "null",
@@ -211,16 +189,7 @@ public class AndroidResourceProcessor {
@Override
public List<String> getAdditionalParameters() {
- List<String> params = new java.util.ArrayList<String>();
- if (options.featureOf != null) {
- params.add("--feature-of");
- params.add(options.featureOf.toString());
- }
- if (options.featureAfter != null) {
- params.add("--feature-after");
- params.add(options.featureAfter.toString());
- }
- return ImmutableList.copyOf(params);
+ return ImmutableList.of();
}
}
