| OLD | NEW |
| 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 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 "values-vi/android_webview_strings.xml", | 681 "values-vi/android_webview_strings.xml", |
| 682 "values-zh-rCN/android_webview_strings.xml", | 682 "values-zh-rCN/android_webview_strings.xml", |
| 683 "values-zh-rTW/android_webview_strings.xml", | 683 "values-zh-rTW/android_webview_strings.xml", |
| 684 "values/android_webview_strings.xml", | 684 "values/android_webview_strings.xml", |
| 685 ] | 685 ] |
| 686 } | 686 } |
| 687 | 687 |
| 688 # Separate target to allow for a dependency on GmsCore without pulling in all of | 688 # Separate target to allow for a dependency on GmsCore without pulling in all of |
| 689 # android_webview_java. | 689 # android_webview_java. |
| 690 android_library("android_webview_platform_services_java") { | 690 android_library("android_webview_platform_services_java") { |
| 691 java_files = | 691 java_files = [ |
| 692 [ "java/src/org/chromium/android_webview/PlatformServiceBridge.java" ] | 692 "java/src/org/chromium/android_webview/PlatformServiceBridge.java", |
| 693 "java/src/org/chromium/android_webview/UserConsentInterface.java", |
| 694 ] |
| 693 | 695 |
| 694 deps = [ | 696 deps = [ |
| 695 "//base:base_java", | 697 "//base:base_java", |
| 696 ] | 698 ] |
| 697 } | 699 } |
| 698 | 700 |
| 699 # Keep crash services separate from other WebView code to keep their deps clean | 701 # Keep crash services separate from other WebView code to keep their deps clean |
| 700 # (and make them easy to move). | 702 # (and make them easy to move). |
| 701 android_library("android_webview_crash_services_java") { | 703 android_library("android_webview_crash_services_java") { |
| 702 java_files = [ | 704 java_files = [ |
| 703 "java/src/org/chromium/android_webview/crash/CrashReceiverService.java", | 705 "java/src/org/chromium/android_webview/crash/CrashReceiverService.java", |
| 704 "java/src/org/chromium/android_webview/crash/MinidumpUploaderImpl.java", | 706 "java/src/org/chromium/android_webview/crash/MinidumpUploaderImpl.java", |
| 705 "java/src/org/chromium/android_webview/crash/MinidumpUploader.java", | 707 "java/src/org/chromium/android_webview/crash/MinidumpUploader.java", |
| 706 "java/src/org/chromium/android_webview/crash/MinidumpUploadJobService.java", | 708 "java/src/org/chromium/android_webview/crash/MinidumpUploadJobService.java", |
| 707 "java/src/org/chromium/android_webview/crash/SynchronizedWebViewCommandLine.
java", | 709 "java/src/org/chromium/android_webview/crash/SynchronizedWebViewCommandLine.
java", |
| 708 ] | 710 ] |
| 709 deps = [ | 711 deps = [ |
| 712 ":android_webview_platform_services_java", |
| 710 "//base:base_java", | 713 "//base:base_java", |
| 711 "//components/minidump_uploader:minidump_uploader_java", | 714 "//components/minidump_uploader:minidump_uploader_java", |
| 712 ] | 715 ] |
| 713 | 716 |
| 714 srcjar_deps = [ ":crash_receiver_aidl" ] | 717 srcjar_deps = [ ":crash_receiver_aidl" ] |
| 715 } | 718 } |
| 716 | 719 |
| 717 android_aidl("crash_receiver_aidl") { | 720 android_aidl("crash_receiver_aidl") { |
| 718 import_include = "java/src" | 721 import_include = "java/src" |
| 719 sources = [ | 722 sources = [ |
| 720 "java/src/org/chromium/android_webview/crash/ICrashReceiverService.aidl", | 723 "java/src/org/chromium/android_webview/crash/ICrashReceiverService.aidl", |
| 721 ] | 724 ] |
| 722 } | 725 } |
| 723 | 726 |
| 724 if (!use_webview_internal_framework) { | 727 if (!use_webview_internal_framework) { |
| 725 system_webview_apk_tmpl("system_webview_apk") { | 728 system_webview_apk_tmpl("system_webview_apk") { |
| 726 android_manifest = system_webview_android_manifest | 729 android_manifest = system_webview_android_manifest |
| 727 android_manifest_dep = ":system_webview_manifest" | 730 android_manifest_dep = ":system_webview_manifest" |
| 728 deps = [ | 731 deps = [ |
| 729 ":system_webview_resources", | 732 ":system_webview_resources", |
| 730 "//android_webview/glue", | 733 "//android_webview/glue", |
| 731 ] | 734 ] |
| 732 apk_name = "SystemWebView" | 735 apk_name = "SystemWebView" |
| 733 } | 736 } |
| 734 } | 737 } |
| OLD | NEW |