From 3bdbe02968188f3ac61e2673604829b61fc16250 Mon Sep 17 00:00:00 2001
From: Andras Becsi <andras.becsi@digia.com>
Date: Fri, 10 Jan 2014 12:28:29 +0100
Subject: [PATCH] Add placeholders for missing repack_locales switches

On some embedded setups and Windows unittest targets bring in
new locale repack actions which use the -g and -b switches of
repack_locals.py with @pymod_do_main. Since we did not implement
these options the script execution failed. Add placeholders for
these options.

Change-Id: Ie11928b025448bc059fb1e3f2e695fb7698a7937
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Reviewed-by: Zoltan Arvai <zarvai@inf.u-szeged.hu>
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
---
 tools/buildscripts/repack_locales.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/buildscripts/repack_locales.py b/tools/buildscripts/repack_locales.py
index 51edb546c..eabc04e9f 100755
--- a/tools/buildscripts/repack_locales.py
+++ b/tools/buildscripts/repack_locales.py
@@ -162,6 +162,10 @@ def DoMain(argv):
                     help="Print the expected output file list, then exit.")
   parser.add_option("-x", action="store", dest="int_dir",
                     help="Intermediate build files output directory.")
+  parser.add_option("-g", action="store", dest="grit_dir",
+                    help="Placeholder for unneeded/unused grit_dir option.")
+  parser.add_option("-b", action="store", dest="branding",
+                    help="Placeholder for unneeded/unused branding option.")
   parser.add_option("-s", action="store", dest="share_int_dir",
                     help="Shared intermediate build files output directory.")
   parser.add_option("-e", action="append", dest="extra_input", default=[],
-- 
GitLab