| OLD | NEW |
| 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 # TODO: remove this helper when we have loops in GYP | 7 # TODO: remove this helper when we have loops in GYP |
| 8 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py',], | 8 'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py',], |
| 9 'chromium_code': 1, | 9 'chromium_code': 1, |
| 10 'grit_info_cmd': ['python', '../tools/grit/grit_info.py',], | 10 'grit_info_cmd': ['python', '../tools/grit/grit_info.py',], |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 }, | 136 }, |
| 137 'inputs': [ | 137 'inputs': [ |
| 138 '<!@(<(grit_info_cmd) --inputs <(input_path))', | 138 '<!@(<(grit_info_cmd) --inputs <(input_path))', |
| 139 ], | 139 ], |
| 140 'outputs': [ | 140 'outputs': [ |
| 141 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)/app_resources\' <(
input_path))', | 141 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)/app_resources\' <(
input_path))', |
| 142 ], | 142 ], |
| 143 'action': ['<@(grit_cmd)', | 143 'action': ['<@(grit_cmd)', |
| 144 '-i', '<(input_path)', 'build', | 144 '-i', '<(input_path)', 'build', |
| 145 '-o', '<(grit_out_dir)/app_resources'], | 145 '-o', '<(grit_out_dir)/app_resources'], |
| 146 'conditions': [ |
| 147 ['toolkit_views==1', { |
| 148 'action': ['-D', 'toolkit_views'], |
| 149 }], |
| 150 ], |
| 146 'message': 'Generating resources from <(input_path)', | 151 'message': 'Generating resources from <(input_path)', |
| 147 }, | 152 }, |
| 148 ], | 153 ], |
| 149 'direct_dependent_settings': { | 154 'direct_dependent_settings': { |
| 150 'include_dirs': [ | 155 'include_dirs': [ |
| 151 '<(grit_out_dir)/app_resources', | 156 '<(grit_out_dir)/app_resources', |
| 152 ], | 157 ], |
| 153 }, | 158 }, |
| 154 'conditions': [ | 159 'conditions': [ |
| 155 ['OS=="win"', { | 160 ['OS=="win"', { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 }], | 202 }], |
| 198 }], | 203 }], |
| 199 ], | 204 ], |
| 200 } | 205 } |
| 201 | 206 |
| 202 # Local Variables: | 207 # Local Variables: |
| 203 # tab-width:2 | 208 # tab-width:2 |
| 204 # indent-tabs-mode:nil | 209 # indent-tabs-mode:nil |
| 205 # End: | 210 # End: |
| 206 # vim: set expandtab tabstop=2 shiftwidth=2: | 211 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |