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

Side by Side Diff: android_webview/BUILD.gn

Issue 2628863004: [Android WebView] Ensure we have user consent before uploading minidumps (Closed)
Patch Set: Check user consent before copying minidumps, delete minidumps in app dir if no consent, add unit te… Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//android_webview/system_webview_apk_tmpl.gni") 5 import("//android_webview/system_webview_apk_tmpl.gni")
6 import("//android_webview/webview_repack_locales.gni") 6 import("//android_webview/webview_repack_locales.gni")
7 import("//build/config/android/config.gni") 7 import("//build/config/android/config.gni")
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 import("//build/config/locales.gni") 9 import("//build/config/locales.gni")
10 import("//components/spellcheck/spellcheck_build_features.gni") 10 import("//components/spellcheck/spellcheck_build_features.gni")
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 # android_webview_java. 700 # android_webview_java.
701 android_library("android_webview_platform_services_java") { 701 android_library("android_webview_platform_services_java") {
702 java_files = 702 java_files =
703 [ "java/src/org/chromium/android_webview/PlatformServiceBridge.java" ] 703 [ "java/src/org/chromium/android_webview/PlatformServiceBridge.java" ]
704 704
705 deps = [ 705 deps = [
706 "//base:base_java", 706 "//base:base_java",
707 ] 707 ]
708 } 708 }
709 709
710 android_library("android_webview_commandline_java") {
711 java_files = [ "java/src/org/chromium/android_webview/command_line/CommandLine Util.java" ]
712 }
713
710 # Keep crash services separate from other WebView code to keep their deps clean 714 # Keep crash services separate from other WebView code to keep their deps clean
711 # (and make them easy to move). 715 # (and make them easy to move).
712 android_library("android_webview_crash_services_java") { 716 android_library("android_webview_crash_services_java") {
713 java_files = [ 717 java_files = [
714 "java/src/org/chromium/android_webview/crash/CrashReceiverService.java", 718 "java/src/org/chromium/android_webview/crash/CrashReceiverService.java",
715 "java/src/org/chromium/android_webview/crash/MinidumpUploaderImpl.java", 719 "java/src/org/chromium/android_webview/crash/MinidumpUploaderImpl.java",
716 "java/src/org/chromium/android_webview/crash/MinidumpUploader.java", 720 "java/src/org/chromium/android_webview/crash/MinidumpUploader.java",
717 "java/src/org/chromium/android_webview/crash/MinidumpUploadJobService.java", 721 "java/src/org/chromium/android_webview/crash/MinidumpUploadJobService.java",
718 "java/src/org/chromium/android_webview/crash/SynchronizedWebViewCommandLine. java", 722 "java/src/org/chromium/android_webview/crash/SynchronizedWebViewCommandLine. java",
719 ] 723 ]
720 deps = [ 724 deps = [
725 ":android_webview_commandline_java",
726 ":android_webview_platform_services_java",
721 "//base:base_java", 727 "//base:base_java",
722 "//components/minidump_uploader:minidump_uploader_java", 728 "//components/minidump_uploader:minidump_uploader_java",
723 ] 729 ]
724 730
725 srcjar_deps = [ ":crash_receiver_aidl" ] 731 srcjar_deps = [ ":crash_receiver_aidl" ]
726 } 732 }
727 733
728 android_aidl("crash_receiver_aidl") { 734 android_aidl("crash_receiver_aidl") {
729 import_include = "java/src" 735 import_include = "java/src"
730 sources = [ 736 sources = [
731 "java/src/org/chromium/android_webview/crash/ICrashReceiverService.aidl", 737 "java/src/org/chromium/android_webview/crash/ICrashReceiverService.aidl",
732 ] 738 ]
733 } 739 }
734 740
741 junit_binary("android_webview_junit_tests") {
742 java_files = [ "junit/src/org/chromium/android_webview/crash/CrashReceiverServ iceUnitTest.java" ]
743 deps = [
744 ":android_webview_commandline_java",
745 ":android_webview_crash_services_java",
746 ":android_webview_platform_services_java",
747 ]
748 }
749
735 if (!use_webview_internal_framework) { 750 if (!use_webview_internal_framework) {
736 system_webview_apk_tmpl("system_webview_apk") { 751 system_webview_apk_tmpl("system_webview_apk") {
737 android_manifest = system_webview_android_manifest 752 android_manifest = system_webview_android_manifest
738 android_manifest_dep = ":system_webview_manifest" 753 android_manifest_dep = ":system_webview_manifest"
739 deps = [ 754 deps = [
740 ":system_webview_resources", 755 ":system_webview_resources",
741 "//android_webview/glue", 756 "//android_webview/glue",
742 ] 757 ]
743 apk_name = "SystemWebView" 758 apk_name = "SystemWebView"
744 } 759 }
745 } 760 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698