| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 "browser/permission/aw_permission_request.h", | 86 "browser/permission/aw_permission_request.h", |
| 87 ] | 87 ] |
| 88 } | 88 } |
| 89 | 89 |
| 90 java_cpp_enum("aw_renderer_priority_manager_renderer_priority") { | 90 java_cpp_enum("aw_renderer_priority_manager_renderer_priority") { |
| 91 sources = [ | 91 sources = [ |
| 92 "browser/aw_renderer_priority_manager.h", | 92 "browser/aw_renderer_priority_manager.h", |
| 93 ] | 93 ] |
| 94 } | 94 } |
| 95 | 95 |
| 96 java_cpp_enum("aw_error_ui") { |
| 97 sources = [ |
| 98 "browser/aw_safe_browsing_blocking_page.h", |
| 99 ] |
| 100 } |
| 101 |
| 96 jinja_template("system_webview_manifest") { | 102 jinja_template("system_webview_manifest") { |
| 97 input = "apk/java/AndroidManifest.xml" | 103 input = "apk/java/AndroidManifest.xml" |
| 98 output = system_webview_android_manifest | 104 output = system_webview_android_manifest |
| 99 variables = [ "package=$system_webview_package_name" ] | 105 variables = [ "package=$system_webview_package_name" ] |
| 100 } | 106 } |
| 101 | 107 |
| 102 webview_repack_locales("repack_locales") { | 108 webview_repack_locales("repack_locales") { |
| 103 input_locales = locales | 109 input_locales = locales |
| 104 output_locales = locales | 110 output_locales = locales |
| 105 | 111 |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 842 "//ui/android:ui_java", | 848 "//ui/android:ui_java", |
| 843 ] | 849 ] |
| 844 | 850 |
| 845 if (enable_spellcheck) { | 851 if (enable_spellcheck) { |
| 846 deps += [ "//components/spellcheck/browser/android:java" ] | 852 deps += [ "//components/spellcheck/browser/android:java" ] |
| 847 } | 853 } |
| 848 | 854 |
| 849 srcjar_deps = [ | 855 srcjar_deps = [ |
| 850 ":aw_permission_request_resource", | 856 ":aw_permission_request_resource", |
| 851 ":aw_renderer_priority_manager_renderer_priority", | 857 ":aw_renderer_priority_manager_renderer_priority", |
| 858 ":aw_error_ui", |
| 852 ] | 859 ] |
| 853 } | 860 } |
| 854 | 861 |
| 855 java_strings_grd("strings_grd") { | 862 java_strings_grd("strings_grd") { |
| 856 grd_file = "java/strings/android_webview_strings.grd" | 863 grd_file = "java/strings/android_webview_strings.grd" |
| 857 outputs = [ | 864 outputs = [ |
| 858 "values-am/android_webview_strings.xml", | 865 "values-am/android_webview_strings.xml", |
| 859 "values-ar/android_webview_strings.xml", | 866 "values-ar/android_webview_strings.xml", |
| 860 "values-bg/android_webview_strings.xml", | 867 "values-bg/android_webview_strings.xml", |
| 861 "values-ca/android_webview_strings.xml", | 868 "values-ca/android_webview_strings.xml", |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 system_webview_apk_tmpl("system_webview_apk") { | 958 system_webview_apk_tmpl("system_webview_apk") { |
| 952 android_manifest = system_webview_android_manifest | 959 android_manifest = system_webview_android_manifest |
| 953 android_manifest_dep = ":system_webview_manifest" | 960 android_manifest_dep = ":system_webview_manifest" |
| 954 deps = [ | 961 deps = [ |
| 955 ":system_webview_resources", | 962 ":system_webview_resources", |
| 956 "//android_webview/glue", | 963 "//android_webview/glue", |
| 957 ] | 964 ] |
| 958 apk_name = "SystemWebView" | 965 apk_name = "SystemWebView" |
| 959 } | 966 } |
| 960 } | 967 } |
| OLD | NEW |