summaryrefslogtreecommitdiffstats
path: root/chromium/android_webview/system_webview_apk_tmpl.gni
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/android_webview/system_webview_apk_tmpl.gni')
-rw-r--r--chromium/android_webview/system_webview_apk_tmpl.gni6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/android_webview/system_webview_apk_tmpl.gni b/chromium/android_webview/system_webview_apk_tmpl.gni
index c417bc6c61a..7fac2b858da 100644
--- a/chromium/android_webview/system_webview_apk_tmpl.gni
+++ b/chromium/android_webview/system_webview_apk_tmpl.gni
@@ -10,6 +10,7 @@ import("//build/config/locales.gni")
import("//build/util/version.gni")
import("//chrome/android/trichrome.gni")
import("//tools/v8_context_snapshot/v8_context_snapshot.gni")
+import("//weblayer/variables.gni")
declare_args() {
# Android package name to use when compiling the system_webview_apk and
@@ -36,6 +37,11 @@ template("system_webview_apk_tmpl") {
target_sdk_version = android_sdk_version
locale_config_java_packages = [ webview_locale_config_java_package ]
+ if (webview_includes_weblayer) {
+ deps += [ "//weblayer:locale_pak_assets" ]
+ locale_config_java_packages += [ weblayer_locale_config_java_package ]
+ }
+
if (!defined(alternative_android_sdk_dep)) {
alternative_android_sdk_dep = webview_framework_dep
}