Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1683)

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

Issue 1307223005: Add support for branded strings into //components/strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1310073004
Patch Set: Rebase & move IDS_ERRORPAGES_SUGGESTION_NETWORK_PREDICTION_BODY to //components/components_*_string… Created 5 years, 4 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/common/localized_error.cc ('k') | components/components_chromium_strings.grd » ('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 b12e9712e0a92f87abf2ca44e5e221fb060d8999..3ed2c847dbc2f8adc039715d00601a898e86b8d2 100755
--- a/chrome/tools/build/repack_locales.py
+++ b/chrome/tools/build/repack_locales.py
@@ -83,6 +83,14 @@ def calc_inputs(locale):
inputs.append(os.path.join(SHARE_INT_DIR, 'components', 'strings',
'components_strings_%s.pak' % locale))
+ #e.g. '<(SHARED_INTERMEDIATE_DIR)/components/strings/
+ # components_chromium_strings_da.pak'
+ # or
+ # '<(SHARED_INTERMEDIATE_DIR)/components/strings/
+ # components_google_chrome_strings_da.pak',
+ inputs.append(os.path.join(SHARE_INT_DIR, 'components', 'strings',
+ 'components_%s_strings_%s.pak' % (BRANDING, locale)))
+
if USE_ASH:
#e.g. '<(SHARED_INTERMEDIATE_DIR)/ash/strings/ash_strings_da.pak',
inputs.append(os.path.join(SHARE_INT_DIR, 'ash', 'strings',
« no previous file with comments | « chrome/common/localized_error.cc ('k') | components/components_chromium_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698