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

Unified Diff: android_webview/android_webview_locales_rename_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: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/android_webview_locales_rename_paks.gypi
diff --git a/android_webview/android_webview_locales_rename_paks.gypi b/android_webview/android_webview_locales_rename_paks.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..32c4eb46eb4c43d15adcd3817bf36ea37962173b
--- /dev/null
+++ b/android_webview/android_webview_locales_rename_paks.gypi
@@ -0,0 +1,25 @@
+# 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.
+
+# To use this the following variables need to be defined:
+# pak_locales: string: the list of all the locales that need renaming and moving
+{
+ 'variables': {
+ 'rename_locales': 'tools/webview_locales_rename_paks.py',
+ },
+ 'inputs': [
+ '<(rename_locales)',
+ '<!@pymod_do_main(webview_locales_rename_paks -i -p <(PRODUCT_DIR) -s <(SHARED_INTERMEDIATE_DIR) <(pak_locales))'
cjhopman 2015/01/28 00:37:44 Calling out to a script to determine inputs/output
Ignacio Solla 2015/02/02 17:11:32 While building the apks there are two separate ope
+ ],
+ 'outputs': [
+ '<!@pymod_do_main(webview_locales_rename_paks -o -p <(PRODUCT_DIR) -s <(SHARED_INTERMEDIATE_DIR) <(pak_locales))'
+ ],
+ 'action': [
+ 'python',
+ '<(rename_locales)',
+ '-p', '<(PRODUCT_DIR)',
+ '-s', '<(SHARED_INTERMEDIATE_DIR)',
+ '<@(pak_locales)',
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698