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

Unified Diff: build/repack_action.gypi

Issue 216013003: Clean up repack.py and repack_locale.py usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « apps/apps.gypi ('k') | chrome/chrome.gyp » ('j') | content/content_shell.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/repack_action.gypi
diff --git a/build/repack_action.gypi b/build/repack_action.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..e4bbf686158f356b604789035660ba19bfb4aeaa
--- /dev/null
+++ b/build/repack_action.gypi
@@ -0,0 +1,23 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This file is meant to be included into an action to invoke grit repack in a
+# consistent manner. To use this the following variables need to be
+# defined:
+# pak_inputs: list: paths of pak files that need to be combined.
+# pak_output: string: the output pak file path.
Nico 2014/03/28 03:08:24 I suppose alternatively clients could set 'outputs
+
+{
+ 'variables': {
+ 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py',
+ },
+ 'inputs': [
+ '<(repack_path)',
+ '<@(pak_inputs)',
+ ],
+ 'outputs': [
+ '<(pak_output)'
+ ],
+ 'action': ['python', '<(repack_path)', '<(pak_output)', '<@(pak_inputs)'],
+}
« no previous file with comments | « apps/apps.gypi ('k') | chrome/chrome.gyp » ('j') | content/content_shell.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698