Index: ios/chrome/ios_chrome_repack_locales.gypi |
diff --git a/ios/chrome/ios_chrome_repack_locales.gypi b/ios/chrome/ios_chrome_repack_locales.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dfd0392ed9bc7010caf6f2e14cdc33fea6731102 |
--- /dev/null |
+++ b/ios/chrome/ios_chrome_repack_locales.gypi |
@@ -0,0 +1,37 @@ |
+# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
droger
2015/06/05 11:04:00
s/(c) 2012/2015/
sdefresne
2015/06/05 11:41:00
Inlined the files.
|
+# 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 repacking |
+{ |
+ 'variables': { |
+ 'repack_locales_path': 'tools/build/ios_repack_locales.py', |
+ 'repack_options%': [], |
+ 'branding_flag': [], |
+ 'repack_extra_flags%': [], |
+ 'repack_shared_dir%': '<(SHARED_INTERMEDIATE_DIR)', |
+ 'repack_output_dir%': '<(SHARED_INTERMEDIATE_DIR)/repack_ios', |
+ }, |
+ 'inputs': [ |
+ '<(repack_locales_path)', |
+ '<!@pymod_do_main(ios_repack_locales -i -s <(repack_shared_dir) ' |
+ '-x <(repack_output_dir) <(repack_extra_flags) <(branding_flag) ' |
+ '<(pak_locales))' |
+ ], |
+ 'outputs': [ |
+ '<!@pymod_do_main(ios_repack_locales -o -s <(repack_shared_dir) ' |
+ '-x <(repack_output_dir) <(repack_extra_flags) <(branding_flag) ' |
+ '<(pak_locales))' |
+ ], |
+ 'action': [ |
+ 'python', |
+ '<(repack_locales_path)', |
+ '-s<(repack_shared_dir)', |
+ '-x<(repack_output_dir)', |
+ '<@(repack_extra_flags)', |
+ '<@(repack_options)', |
+ '<@(branding_flag)', |
+ '<@(pak_locales)', |
+ ], |
+} |