Merge "Update incremental dexing benchmark to follow our normal output style"
diff --git a/build.gradle b/build.gradle
index 8eb9643..ebebe33 100644
--- a/build.gradle
+++ b/build.gradle
@@ -164,6 +164,16 @@
}
}
+task downloadProguard {
+ cloudDependencies.each { entry ->
+ entry.value.each { entryFile ->
+ if (entryFile.contains("proguard")) {
+ dependsOn "download_deps_${entry.key}/${entryFile}"
+ }
+ }
+ }
+}
+
task downloadDeps {
cloudDependencies.each { entry ->
entry.value.each { entryFile ->
@@ -362,7 +372,7 @@
}
task buildExampleJars {
- dependsOn downloadDeps
+ dependsOn downloadProguard
def examplesDir = file("src/test/examples")
def proguardScript = "third_party/proguard/proguard5.2.1/bin/proguard.sh"
task "compile_examples"(type: JavaCompile) {
diff --git a/src/test/java/com/android/tools/r8/classmerging/ClassMergingTest.java b/src/test/java/com/android/tools/r8/classmerging/ClassMergingTest.java
index 2326eb5..0d0d6f0 100644
--- a/src/test/java/com/android/tools/r8/classmerging/ClassMergingTest.java
+++ b/src/test/java/com/android/tools/r8/classmerging/ClassMergingTest.java
@@ -35,7 +35,10 @@
.addProgramFiles(EXAMPLE_JAR)
.addProguardConfigurationFiles(EXAMPLE_KEEP)
.setMinification(false)
- .build(), o -> o.allowAccessModification = false);
+ .build(), o -> {
+ o.allowAccessModification = false;
+ o.skipClassMerging = false;
+ });
inspector = new DexInspector(
Paths.get(temp.getRoot().getCanonicalPath()).resolve("classes.dex"));
}