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

Unified Diff: remoting/grit_action.gypi

Issue 11087059: Add common_resources.grd for non-localizeable chromoting resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « remoting/base/resources_unittest.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/grit_action.gypi
diff --git a/remoting/grit_action.gypi b/remoting/grit_action.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..a9a658f779bb2d84e14c2e20fc8bf8703406c3aa
--- /dev/null
+++ b/remoting/grit_action.gypi
@@ -0,0 +1,32 @@
+# Copyright (c) 2012 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 mostly a copy of base/grit_action.gypi . There are two
+# differences:
+# 1. Remoting resources are build with a different resource_ids file.
+# 2. File specified by variable base_grit_grd_file is used to generate list of
+# inputs and outputs.
+
+{
+ 'variables': {
+ 'grit_cmd': ['python', '<(DEPTH)/tools/grit/grit.py'],
+ },
+ 'inputs': [
+ '<(resource_ids_file)',
+ '<(grit_grd_file)',
+ '<!@pymod_do_main(grit_info <@(grit_defines) '
+ '--inputs <(base_grit_grd_file) -fresource_ids)',
+ ],
+ 'outputs': [
+ '<!@pymod_do_main(grit_info <@(grit_defines) '
+ '--outputs \'<(grit_out_dir)\' <(base_grit_grd_file) -fresource_ids)',
+ ],
+ 'action': ['<@(grit_cmd)',
+ '-i', '<(grit_grd_file)', 'build',
+ '-fresource_ids',
+ '-o', '<(grit_out_dir)',
+ '<@(grit_defines)' ],
+ 'msvs_cygwin_shell': 0,
+ 'message': 'Generating resources from <(grit_grd_file)',
+}
« no previous file with comments | « remoting/base/resources_unittest.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698