Index: chrome/android/BUILD.gn |
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn |
index f7be83edeba41c03ad3c8af9f66a1ff586191023..de5e4cbc30a662d65bb7976d9ac02b412353d98a 100644 |
--- a/chrome/android/BUILD.gn |
+++ b/chrome/android/BUILD.gn |
@@ -882,6 +882,11 @@ instrumentation_test_apk("chrome_public_test_apk") { |
"//net/android:net_test_support_apk", |
] |
proguard_enabled = !is_java_debug |
+ |
+ # The test APK contains code from both the APK under test and the |
+ # test APK when proguard is enabled. That causes this APK to exceed |
+ # the dex limit. |
+ enable_multidex = proguard_enabled |
} |
if (enable_vr) { |