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

Unified Diff: chrome/tools/build/repack_locales.py

Issue 591803002: Add athena_strings.grd with athena specific strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « chrome/chrome_resources.gyp ('k') | tools/check_grd_for_unused_strings.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/build/repack_locales.py
diff --git a/chrome/tools/build/repack_locales.py b/chrome/tools/build/repack_locales.py
index 6073458712ebd7c0addddc52bd275601775355dc..0c56fe507fc1df61f4eae1a4b65f790a756ea9ce 100755
--- a/chrome/tools/build/repack_locales.py
+++ b/chrome/tools/build/repack_locales.py
@@ -33,6 +33,7 @@ OS = None
CHROMEOS = False
USE_ASH = False
+USE_ATHENA = False
ENABLE_AUTOFILL_DIALOG = False
ENABLE_EXTENSIONS = False
@@ -88,6 +89,11 @@ def calc_inputs(locale):
inputs.append(os.path.join(SHARE_INT_DIR, 'ash', 'strings',
'ash_strings_%s.pak' % locale))
+ if USE_ATHENA:
+ #e.g. '<(SHARED_INTERMEDIATE_DIR)/athena/strings/athena_strings_da.pak',
+ inputs.append(os.path.join(SHARE_INT_DIR, 'athena', 'strings',
+ 'athena_strings_%s.pak' % locale))
+
if CHROMEOS:
inputs.append(os.path.join(SHARE_INT_DIR, 'ui', 'chromeos', 'strings',
'ui_chromeos_strings_%s.pak' % locale))
@@ -183,6 +189,7 @@ def DoMain(argv):
global OS
global CHROMEOS
global USE_ASH
+ global USE_ATHENA
global WHITELIST
global ENABLE_AUTOFILL_DIALOG
global ENABLE_EXTENSIONS
@@ -208,6 +215,8 @@ def DoMain(argv):
help="The target OS. (e.g. mac, linux, win, etc.)")
parser.add_option("--use-ash", action="store", dest="use_ash",
help="Whether to include ash strings")
+ parser.add_option("--use-athena", action="store", dest="use_athena",
+ help="Whether to include athena strings")
parser.add_option("--chromeos", action="store",
help="Whether building for Chrome OS")
parser.add_option("--whitelist", action="store", help="Full path to the "
@@ -233,6 +242,7 @@ def DoMain(argv):
OS = options.os
CHROMEOS = options.chromeos == '1'
USE_ASH = options.use_ash == '1'
+ USE_ATHENA = options.use_athena == '1'
WHITELIST = options.whitelist
ENABLE_AUTOFILL_DIALOG = options.enable_autofill_dialog == '1'
ENABLE_EXTENSIONS = options.enable_extensions == '1'
« no previous file with comments | « chrome/chrome_resources.gyp ('k') | tools/check_grd_for_unused_strings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698