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', '../chrome/tools/build/apply_locales.py',], | 8 'apply_locales_cmd': ['python', '../chrome/tools/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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 'include_dirs': [ | 156 'include_dirs': [ |
157 '<(grit_out_dir)/app_resources', | 157 '<(grit_out_dir)/app_resources', |
158 ], | 158 ], |
159 }, | 159 }, |
160 'conditions': [ | 160 'conditions': [ |
161 ['OS=="win"', { | 161 ['OS=="win"', { |
162 'dependencies': ['../build/win/system.gyp:cygwin'], | 162 'dependencies': ['../build/win/system.gyp:cygwin'], |
163 }], | 163 }], |
164 ], | 164 ], |
165 }, | 165 }, |
166 { | |
167 'target_name': 'app_id', | |
168 'type': 'none', | |
169 'msvs_guid': '83100055-172B-49EA-B422-B1A92B627D37', | |
170 'conditions': [ | |
171 ['OS=="win"', | |
172 { | |
173 'direct_dependent_settings': { | |
174 'include_dirs': [ | |
175 '<(SHARED_INTERMEDIATE_DIR)/chrome/app_id', | |
176 ], | |
177 }, | |
178 'actions': [ | |
179 { | |
180 'action_name': 'appid', | |
181 'variables': { | |
182 'appid_py': '../chrome/tools/build/appid.py', | |
183 }, | |
184 'conditions': [ | |
185 [ 'branding=="Chrome"', { | |
186 'variables': { | |
187 'appid_value': '<(google_update_appid)', | |
188 }, | |
189 }, { # else | |
190 'variables': { | |
191 'appid_value': '', | |
192 }, | |
193 }], | |
194 ], | |
195 'inputs': [ | |
196 '<(appid_py)', | |
197 ], | |
198 'outputs': [ | |
199 '<(SHARED_INTERMEDIATE_DIR)/chrome/app_id/appid.h', | |
200 'tools/build/_always_run_appid_py.marker', | |
201 ], | |
202 'action': [ | |
203 'python', | |
204 '<(appid_py)', | |
205 '-a', '<(appid_value)', | |
206 '-o', '<(SHARED_INTERMEDIATE_DIR)/chrome/app_id/appid.h', | |
207 ], | |
208 'process_outputs_as_sources': 1, | |
209 'message': 'Generating appid information in <(SHARED_INTERMEDIAT
E_DIR)/chrome/appid.h' | |
210 }, | |
211 ], | |
212 }, | |
213 ], | |
214 ], | |
215 }, | |
216 ], | 166 ], |
217 } | 167 } |
218 | 168 |
219 # Local Variables: | 169 # Local Variables: |
220 # tab-width:2 | 170 # tab-width:2 |
221 # indent-tabs-mode:nil | 171 # indent-tabs-mode:nil |
222 # End: | 172 # End: |
223 # vim: set expandtab tabstop=2 shiftwidth=2: | 173 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |