Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Unified Diff: chrome/android/webapk/shell_apk/javatests/canary_lib/BUILD.gn

Issue 2033953002: Fix DexLoaderTest#testLoadAfterDeleteCachedDexes() flakiness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/webapk/shell_apk/javatests/canary_lib/src/org/chromium/webapk/shell_apk/test/canary/Canary.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/webapk/shell_apk/javatests/canary_lib/BUILD.gn
diff --git a/chrome/android/webapk/shell_apk/javatests/canary_lib/BUILD.gn b/chrome/android/webapk/shell_apk/javatests/canary_lib/BUILD.gn
index 6ec24f7f1528a30b5a47bcbb28e50a45309ac630..4a4eab4ed6619d4d98eeee93ae5d1e1f7329ddd3 100644
--- a/chrome/android/webapk/shell_apk/javatests/canary_lib/BUILD.gn
+++ b/chrome/android/webapk/shell_apk/javatests/canary_lib/BUILD.gn
@@ -9,8 +9,14 @@ android_library("canary_lib") {
java_files = [ "src/org/chromium/webapk/shell_apk/test/canary/Canary.java" ]
}
-# dex asset added to dex_optimizer_apk in order to test creating ClassLoader
+android_library("canary_lib2") {
+ dex_path = "$target_gen_dir/canary2.dex"
+ java_files = [ "src/org/chromium/webapk/shell_apk/test/canary/Canary2.java" ]
+}
+
+# dex assets added to dex_optimizer_apk in order to test creating ClassLoader
# from .dex in remote APK.
+
android_assets("canary_dex_asset") {
sources = [
"$target_gen_dir/canary.dex",
@@ -20,3 +26,13 @@ android_assets("canary_dex_asset") {
":canary_lib",
]
}
+
+android_assets("canary_dex_asset2") {
+ sources = [
+ "$target_gen_dir/canary2.dex",
+ ]
+ disable_compression = true
+ deps = [
+ ":canary_lib2",
+ ]
+}
« no previous file with comments | « no previous file | chrome/android/webapk/shell_apk/javatests/canary_lib/src/org/chromium/webapk/shell_apk/test/canary/Canary.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698