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

Unified Diff: ios/chrome/ios_chrome_repack_locales.gypi

Issue 1164983004: [iOS] Add a repack steps to iOS upstream for unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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: 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)',
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698