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

Unified Diff: android_webview/BUILD.gn

Issue 2515353005: [Android WebView] Implement copying and uploading of Minidumps. (Closed)
Patch Set: Fix findbugs errors for realz! Created 4 years 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 | android_webview/apk/java/AndroidManifest.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/BUILD.gn
diff --git a/android_webview/BUILD.gn b/android_webview/BUILD.gn
index 7acc3ceac2631343524124b97188fd6d8f24287d..2d35d15753009de619030444e8d017fcde6541c8 100644
--- a/android_webview/BUILD.gn
+++ b/android_webview/BUILD.gn
@@ -610,10 +610,12 @@ android_library("android_webview_java") {
"java/src/org/chromium/android_webview/policy/AwPolicyProvider.java",
]
deps = [
+ ":android_webview_crash_services_java",
":resources",
":strings_grd",
"//base:base_java",
"//components/autofill/android:autofill_java",
+ "//components/minidump_uploader:minidump_uploader_java",
"//components/navigation_interception/android:navigation_interception_java",
"//components/policy/android:policy_java",
"//components/web_contents_delegate_android:web_contents_delegate_android_java",
@@ -695,6 +697,31 @@ android_library("android_webview_platform_services_java") {
]
}
+# Keep crash services separate from other WebView code to keep their deps clean
+# (and make them easy to move).
+android_library("android_webview_crash_services_java") {
+ java_files = [
+ "java/src/org/chromium/android_webview/crash/CrashReceiverService.java",
+ "java/src/org/chromium/android_webview/crash/MinidumpUploaderImpl.java",
+ "java/src/org/chromium/android_webview/crash/MinidumpUploader.java",
+ "java/src/org/chromium/android_webview/crash/MinidumpUploadJobService.java",
+ "java/src/org/chromium/android_webview/crash/SynchronizedWebViewCommandLine.java",
+ ]
+ deps = [
+ "//base:base_java",
+ "//components/minidump_uploader:minidump_uploader_java",
+ ]
+
+ srcjar_deps = [ ":crash_receiver_aidl" ]
+}
+
+android_aidl("crash_receiver_aidl") {
+ import_include = "java/src"
+ sources = [
+ "java/src/org/chromium/android_webview/crash/ICrashReceiverService.aidl",
+ ]
+}
+
if (!use_webview_internal_framework) {
system_webview_apk_tmpl("system_webview_apk") {
android_manifest = system_webview_android_manifest
« no previous file with comments | « no previous file | android_webview/apk/java/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698