Fix dependency for generateR8LibKeepRules
Bug: 155469937
Change-Id: I96397349d4ff7f62829668afc18db571ac22f4a0
diff --git a/build.gradle b/build.gradle
index 23f55dc..ff58cbe 100644
--- a/build.gradle
+++ b/build.gradle
@@ -940,17 +940,20 @@
// TODO(b/154785341): We should remove this.
standardOutput new FileOutputStream(r8LibGeneratedKeepRulesPath)
}
- dependsOn r8NoManifest
dependsOn r8WithRelocatedDeps
+ dependsOn r8NoManifestWithDeps
dependsOn testJar
dependsOn downloadOpenJDKrt
- inputs.files ([r8WithRelocatedDeps.outputs, r8NoManifest.outputs, testJar.outputs])
+ inputs.files ([
+ r8WithRelocatedDeps.outputs,
+ r8NoManifestWithDeps.outputs,
+ testJar.outputs])
outputs.file r8LibGeneratedKeepRulesPath
commandLine baseR8CommandLine([
"printuses",
"--keeprules-allowobfuscation",
"third_party/openjdk/openjdk-rt-1.8/rt.jar",
- r8NoManifest.outputs.files[0],
+ r8NoManifestWithDeps.outputs.files[0],
testJar.outputs.files[0]])
workingDir = projectDir
}