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

Unified Diff: tools/grit/grit/format/repack.py

Issue 2175413004: Enable whitelist generation for all builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + change output dir Created 4 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 | « tools/grit/grit/format/data_pack.py ('k') | tools/grit/grit_rule.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit/format/repack.py
diff --git a/tools/grit/grit/format/repack.py b/tools/grit/grit/format/repack.py
index c4a593a82d2c06ddadbbaba46279ba54d8cf1526..fa0088c5ddfb8ecd51136241103c251f8887da58 100755
--- a/tools/grit/grit/format/repack.py
+++ b/tools/grit/grit/format/repack.py
@@ -27,13 +27,16 @@ def main(argv):
parser.add_option('--whitelist', action='store', dest='whitelist',
default=None, help='Full path to the whitelist used to'
'filter output pak file resource IDs')
+ parser.add_option('--suppress-removed-key-output', action='store_true')
options, file_paths = parser.parse_args(argv)
if len(file_paths) < 2:
parser.error('Please specify output and at least one input filenames')
- grit.format.data_pack.RePack(file_paths[0], file_paths[1:],
- whitelist_file=options.whitelist)
+ grit.format.data_pack.RePack(
+ file_paths[0], file_paths[1:],
+ whitelist_file=options.whitelist,
+ suppress_removed_key_output=options.suppress_removed_key_output)
if '__main__' == __name__:
main(sys.argv[1:])
« no previous file with comments | « tools/grit/grit/format/data_pack.py ('k') | tools/grit/grit_rule.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698