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)', |
+ ], |
+} |