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

Unified Diff: android_webview/apk/system_webview_locales_paks.gypi

Issue 868673003: [WebView] Repack the .pak files for all the locales. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Inline android_webview_locales_rename_paks.gypi Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/apk/system_webview_locales_paks.gypi
diff --git a/android_webview/apk/system_webview_locales_paks.gypi b/android_webview/apk/system_webview_locales_paks.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..0872cd060d58611a4c5fb2c96963f7bc3e4b9a0c
--- /dev/null
+++ b/android_webview/apk/system_webview_locales_paks.gypi
@@ -0,0 +1,125 @@
+# Copyright (c) 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+#
+# This file defines the set of locales that should be packed inside the
+# System WebView apk.
+# TODO: consider unifying this list with the one in chrome_android_paks.gypi
+# once Chrome includes all the locales that the WebView needs.
+{
+ 'variables': {
+ 'webview_locales_input_paks_folder': '<(PRODUCT_DIR)/android_webview_assets/locales/',
+ 'webview_locales_output_paks_folder': '<(asset_location)',
+ 'webview_locales_input_paks': [
+ '<(webview_locales_input_paks_folder)/am.pak',
+ '<(webview_locales_input_paks_folder)/ar.pak',
+ '<(webview_locales_input_paks_folder)/bg.pak',
+ '<(webview_locales_input_paks_folder)/bn.pak',
+ '<(webview_locales_input_paks_folder)/ca.pak',
+ '<(webview_locales_input_paks_folder)/cs.pak',
+ '<(webview_locales_input_paks_folder)/da.pak',
+ '<(webview_locales_input_paks_folder)/de.pak',
+ '<(webview_locales_input_paks_folder)/el.pak',
+ '<(webview_locales_input_paks_folder)/en-GB.pak',
+ '<(webview_locales_input_paks_folder)/en-US.pak',
+ '<(webview_locales_input_paks_folder)/es.pak',
+ '<(webview_locales_input_paks_folder)/es-419.pak',
+ '<(webview_locales_input_paks_folder)/et.pak',
+ '<(webview_locales_input_paks_folder)/fa.pak',
+ '<(webview_locales_input_paks_folder)/fi.pak',
+ '<(webview_locales_input_paks_folder)/fil.pak',
+ '<(webview_locales_input_paks_folder)/fr.pak',
+ '<(webview_locales_input_paks_folder)/gu.pak',
+ '<(webview_locales_input_paks_folder)/he.pak',
+ '<(webview_locales_input_paks_folder)/hi.pak',
+ '<(webview_locales_input_paks_folder)/hr.pak',
+ '<(webview_locales_input_paks_folder)/hu.pak',
+ '<(webview_locales_input_paks_folder)/id.pak',
+ '<(webview_locales_input_paks_folder)/it.pak',
+ '<(webview_locales_input_paks_folder)/ja.pak',
+ '<(webview_locales_input_paks_folder)/kn.pak',
+ '<(webview_locales_input_paks_folder)/ko.pak',
+ '<(webview_locales_input_paks_folder)/lt.pak',
+ '<(webview_locales_input_paks_folder)/lv.pak',
+ '<(webview_locales_input_paks_folder)/ml.pak',
+ '<(webview_locales_input_paks_folder)/mr.pak',
+ '<(webview_locales_input_paks_folder)/ms.pak',
+ '<(webview_locales_input_paks_folder)/nb.pak',
+ '<(webview_locales_input_paks_folder)/nl.pak',
+ '<(webview_locales_input_paks_folder)/pl.pak',
+ '<(webview_locales_input_paks_folder)/pt-BR.pak',
+ '<(webview_locales_input_paks_folder)/pt-PT.pak',
+ '<(webview_locales_input_paks_folder)/ro.pak',
+ '<(webview_locales_input_paks_folder)/ru.pak',
+ '<(webview_locales_input_paks_folder)/sk.pak',
+ '<(webview_locales_input_paks_folder)/sl.pak',
+ '<(webview_locales_input_paks_folder)/sr.pak',
+ '<(webview_locales_input_paks_folder)/sv.pak',
+ '<(webview_locales_input_paks_folder)/sw.pak',
+ '<(webview_locales_input_paks_folder)/ta.pak',
+ '<(webview_locales_input_paks_folder)/te.pak',
+ '<(webview_locales_input_paks_folder)/th.pak',
+ '<(webview_locales_input_paks_folder)/tr.pak',
+ '<(webview_locales_input_paks_folder)/uk.pak',
+ '<(webview_locales_input_paks_folder)/vi.pak',
+ '<(webview_locales_input_paks_folder)/zh-CN.pak',
+ '<(webview_locales_input_paks_folder)/zh-TW.pak',
+ ],
+ 'webview_locales_output_paks': [
+ '<(webview_locales_output_paks_folder)/am.pak',
+ '<(webview_locales_output_paks_folder)/ar.pak',
+ '<(webview_locales_output_paks_folder)/bg.pak',
+ '<(webview_locales_output_paks_folder)/bn.pak',
+ '<(webview_locales_output_paks_folder)/ca.pak',
+ '<(webview_locales_output_paks_folder)/cs.pak',
+ '<(webview_locales_output_paks_folder)/da.pak',
+ '<(webview_locales_output_paks_folder)/de.pak',
+ '<(webview_locales_output_paks_folder)/el.pak',
+ '<(webview_locales_output_paks_folder)/en-GB.pak',
+ '<(webview_locales_output_paks_folder)/en-US.pak',
+ '<(webview_locales_output_paks_folder)/es.pak',
+ '<(webview_locales_output_paks_folder)/es-419.pak',
+ '<(webview_locales_output_paks_folder)/et.pak',
+ '<(webview_locales_output_paks_folder)/fa.pak',
+ '<(webview_locales_output_paks_folder)/fi.pak',
+ '<(webview_locales_output_paks_folder)/fil.pak',
+ '<(webview_locales_output_paks_folder)/fr.pak',
+ '<(webview_locales_output_paks_folder)/gu.pak',
+ '<(webview_locales_output_paks_folder)/he.pak',
+ '<(webview_locales_output_paks_folder)/hi.pak',
+ '<(webview_locales_output_paks_folder)/hr.pak',
+ '<(webview_locales_output_paks_folder)/hu.pak',
+ '<(webview_locales_output_paks_folder)/id.pak',
+ '<(webview_locales_output_paks_folder)/it.pak',
+ '<(webview_locales_output_paks_folder)/ja.pak',
+ '<(webview_locales_output_paks_folder)/kn.pak',
+ '<(webview_locales_output_paks_folder)/ko.pak',
+ '<(webview_locales_output_paks_folder)/lt.pak',
+ '<(webview_locales_output_paks_folder)/lv.pak',
+ '<(webview_locales_output_paks_folder)/ml.pak',
+ '<(webview_locales_output_paks_folder)/mr.pak',
+ '<(webview_locales_output_paks_folder)/ms.pak',
+ '<(webview_locales_output_paks_folder)/nb.pak',
+ '<(webview_locales_output_paks_folder)/nl.pak',
+ '<(webview_locales_output_paks_folder)/pl.pak',
+ '<(webview_locales_output_paks_folder)/pt-BR.pak',
+ '<(webview_locales_output_paks_folder)/pt-PT.pak',
+ '<(webview_locales_output_paks_folder)/ro.pak',
+ '<(webview_locales_output_paks_folder)/ru.pak',
+ '<(webview_locales_output_paks_folder)/sk.pak',
+ '<(webview_locales_output_paks_folder)/sl.pak',
+ '<(webview_locales_output_paks_folder)/sr.pak',
+ '<(webview_locales_output_paks_folder)/sv.pak',
+ '<(webview_locales_output_paks_folder)/sw.pak',
+ '<(webview_locales_output_paks_folder)/ta.pak',
+ '<(webview_locales_output_paks_folder)/te.pak',
+ '<(webview_locales_output_paks_folder)/th.pak',
+ '<(webview_locales_output_paks_folder)/tr.pak',
+ '<(webview_locales_output_paks_folder)/uk.pak',
+ '<(webview_locales_output_paks_folder)/vi.pak',
+ '<(webview_locales_output_paks_folder)/zh-CN.pak',
+ '<(webview_locales_output_paks_folder)/zh-TW.pak',
+ ],
+ },
+}
+
« no previous file with comments | « android_webview/apk/system_webview_apk_common.gypi ('k') | android_webview/tools/webview_locales_rename_paks.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698