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

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: Fix AOSP bot 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
« no previous file with comments | « android_webview/android_webview.gyp ('k') | android_webview/android_webview_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
Torne 2015/02/05 17:16:24 Since this file is pretty short and only used once
Ignacio Solla 2015/02/05 18:58:46 Done.
+# 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))'
+ ],
+ '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)',
+ ],
+}
« no previous file with comments | « android_webview/android_webview.gyp ('k') | android_webview/android_webview_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698