aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/android/ResourceApk.java
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-12-22 09:21:49 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-12-22 09:24:37 -0800
commit5892f3a08113f93c5f2570304f13c2047f24f7a5 (patch)
tree8f6d52fd1c1d3ef90670ecb23df1420f9cbf9809 /src/main/java/com/google/devtools/build/lib/rules/android/ResourceApk.java
parent1ad2b699b2934e7a8c55537428120f36c50fb4e9 (diff)
Remove more dead code
RELNOTES: none PiperOrigin-RevId: 179933248
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/android/ResourceApk.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/android/ResourceApk.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/ResourceApk.java b/src/main/java/com/google/devtools/build/lib/rules/android/ResourceApk.java
index 01d19ab2be..504649d403 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/android/ResourceApk.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/android/ResourceApk.java
@@ -35,7 +35,6 @@ public final class ResourceApk {
@Nullable private final Artifact manifest; // The non-binary XML version of AndroidManifest.xml
@Nullable private final Artifact resourceProguardConfig;
@Nullable private final Artifact mainDexProguardConfig;
- private final boolean legacy;
public ResourceApk(
@Nullable Artifact resourceApk,
@@ -45,8 +44,7 @@ public final class ResourceApk {
@Nullable ResourceContainer primaryResource,
@Nullable Artifact manifest,
@Nullable Artifact resourceProguardConfig,
- @Nullable Artifact mainDexProguardConfig,
- boolean legacy) {
+ @Nullable Artifact mainDexProguardConfig) {
this.resourceApk = resourceApk;
this.resourceJavaSrcJar = resourceJavaSrcJar;
this.resourceJavaClassJar = resourceJavaClassJar;
@@ -55,7 +53,6 @@ public final class ResourceApk {
this.manifest = manifest;
this.resourceProguardConfig = resourceProguardConfig;
this.mainDexProguardConfig = mainDexProguardConfig;
- this.legacy = legacy;
}
public Artifact getArtifact() {
@@ -78,12 +75,8 @@ public final class ResourceApk {
return resourceJavaClassJar;
}
- public boolean isLegacy() {
- return legacy;
- }
-
public static ResourceApk fromTransitiveResources(ResourceDependencies resourceDeps) {
- return new ResourceApk(null, null, null, resourceDeps, null, null, null, null, false);
+ return new ResourceApk(null, null, null, resourceDeps, null, null, null, null);
}
public Artifact getResourceProguardConfig() {