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

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

Issue 1981473002: Upstream: DexOptimizer and DexLoader classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: chrome/android/webapk/shell_apk/BUILD.gn
diff --git a/chrome/android/webapk/shell_apk/BUILD.gn b/chrome/android/webapk/shell_apk/BUILD.gn
index f0529e9fad697ec5ca2b043b04ace8fb6442e5bc..c12fbad92211c73e4ddc01a001b7c94a04015781 100644
--- a/chrome/android/webapk/shell_apk/BUILD.gn
+++ b/chrome/android/webapk/shell_apk/BUILD.gn
@@ -49,6 +49,10 @@ android_resources("shell_apk_resources") {
custom_package = "org.chromium.webapk.shell_apk"
}
+android_library("dex_loader_lib") {
+ java_files = [ "src/org/chromium/webapk/shell_apk/DexLoader.java" ]
+}
+
# Template for WebAPK. When a WebAPK is generated:
# - Android manifest is customized to the website.
# - App icon is extracted from the website and added to the APK's resources.
@@ -62,3 +66,16 @@ android_apk("webapk") {
"//chrome/android/webapk/libs/common",
]
}
+
+android_library("shell_apk_javatests") {
+ testonly = true
+ java_files =
+ [ "javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java" ]
+ deps = [
+ ":dex_loader_lib",
+ "//base:base_java",
+ "//chrome/android/webapk/libs/common",
+ "//content/public/test/android:content_java_test_support",
+ ]
+ srcjar_deps = [ "javatests/dex_optimizer:dex_optimizer_service_aidl" ]
+}

Powered by Google App Engine
This is Rietveld 408576698