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

Side by Side Diff: chrome/default_plugin/default_plugin.gyp

Issue 6705030: Standardize grit invokes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'grit_info_cmd': ['python', '../../tools/grit/grit_info.py',
9 '<@(grit_defines)'],
10 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
11 'grit_cmd': ['python', '../../tools/grit/grit.py'],
12 }, 8 },
13 'targets': [ 9 'targets': [
14 { 10 {
15 'target_name': 'default_plugin', 11 'target_name': 'default_plugin',
16 'type': '<(library)', 12 'type': '<(library)',
17 'dependencies': [ 13 'dependencies': [
18 ':default_plugin_resources', 14 ':default_plugin_resources',
19 '<(DEPTH)/net/net.gyp:net_resources', 15 '<(DEPTH)/net/net.gyp:net_resources',
20 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', 16 '<(DEPTH)/third_party/icu/icu.gyp:icui18n',
21 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', 17 '<(DEPTH)/third_party/icu/icu.gyp:icuuc',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 '<(DEPTH)/build/linux/system.gyp:gtk', 55 '<(DEPTH)/build/linux/system.gyp:gtk',
60 ], 56 ],
61 }], 57 }],
62 ], 58 ],
63 }, 59 },
64 # This can't be part of chrome.gyp:chrome_resources because then there'd 60 # This can't be part of chrome.gyp:chrome_resources because then there'd
65 # be a cyclic dependency. 61 # be a cyclic dependency.
66 { 62 {
67 'target_name': 'default_plugin_resources', 63 'target_name': 'default_plugin_resources',
68 'type': 'none', 64 'type': 'none',
65 'variables': {
66 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome/default_plugin_resour ces',
67 },
69 'actions': [ 68 'actions': [
70 { 69 {
71 'action_name': 'default_plugin_resources', 70 'action_name': 'default_plugin_resources',
72 'variables': { 71 'variables': {
73 'input_path': 'default_plugin_resources.grd', 72 'grit_grd_file': 'default_plugin_resources.grd',
74 }, 73 },
75 'inputs': [ 74 'includes': [ '../../build/grit_action.gypi' ],
76 '<!@(<(grit_info_cmd) --inputs <(input_path))',
77 ],
78 'outputs': [
79 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)/default_plugin_res ources\' <(input_path))',
80 ],
81 'action': ['<@(grit_cmd)',
82 '-i', '<(input_path)', 'build',
83 '-o', '<(grit_out_dir)/default_plugin_resources',
84 '<@(grit_defines)'],
85 'message': 'Generating resources from <(input_path)',
86 }, 75 },
87 ], 76 ],
88 'direct_dependent_settings': { 77 'includes': [ '../../build/grit_target.gypi' ],
89 'include_dirs': [
90 '<(grit_out_dir)/default_plugin_resources',
91 ],
92 },
93 'conditions': [
94 ['OS=="win"', {
95 'dependencies': ['../../build/win/system.gyp:cygwin'],
96 }],
97 ],
98 }, 78 },
99 ], 79 ],
100 } 80 }
101 81
102 # Local Variables: 82 # Local Variables:
103 # tab-width:2 83 # tab-width:2
104 # indent-tabs-mode:nil 84 # indent-tabs-mode:nil
105 # End: 85 # End:
106 # vim: set expandtab tabstop=2 shiftwidth=2: 86 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« build/grit_action.gypi ('K') | « chrome/chrome.gyp ('k') | chrome_frame/chrome_frame.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698