OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 5 'variables': { |
6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', | 6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', |
7 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html', | 7 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html', |
8 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i
nternal/additional_modules_list.txt', | 8 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i
nternal/additional_modules_list.txt', |
9 }, | 9 }, |
10 'targets': [ | 10 'targets': [ |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 # GN version: //chrome/app:google_chrome_strings | 269 # GN version: //chrome/app:google_chrome_strings |
270 'action_name': 'generate_google_chrome_strings', | 270 'action_name': 'generate_google_chrome_strings', |
271 'variables': { | 271 'variables': { |
272 'grit_grd_file': 'app/google_chrome_strings.grd', | 272 'grit_grd_file': 'app/google_chrome_strings.grd', |
273 }, | 273 }, |
274 'includes': [ '../build/grit_action.gypi' ], | 274 'includes': [ '../build/grit_action.gypi' ], |
275 }, | 275 }, |
276 ], | 276 ], |
277 }, | 277 }, |
278 { | 278 { |
279 # GN version: //chrome/app:make_generated_resources_map | 279 # GN version: //chrome/browser/metrics/variations:chrome_ui_string_overrid
er_factory_gen_sources |
280 'target_name': 'chrome_strings_map', | 280 'target_name': 'make_chrome_ui_string_overrider_factory', |
281 'type': 'none', | 281 'type': 'none', |
| 282 'hard_dependency': 1, |
282 'dependencies': [ 'chrome_strings', ], | 283 'dependencies': [ 'chrome_strings', ], |
283 'actions': [ | 284 'actions': [ |
284 { | 285 { |
285 'action_name': 'generate_resources_map', | 286 'action_name': 'generate_ui_string_overrider', |
286 'inputs': [ | 287 'inputs': [ |
287 'browser/metrics/variations/generate_resources_map.py', | 288 '../components/variations/service/generate_ui_string_overrider.py', |
288 '<(grit_out_dir)/grit/generated_resources.h' | 289 '<(grit_out_dir)/grit/generated_resources.h' |
289 ], | 290 ], |
290 'outputs': [ | 291 'outputs': [ |
291 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/genera
ted_resources_map.cc', | 292 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/ui_str
ing_overrider_factory.cc', |
| 293 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/ui_str
ing_overrider_factory.h', |
292 ], | 294 ], |
293 'action': [ | 295 'action': [ |
294 'python', | 296 'python', |
295 'browser/metrics/variations/generate_resources_map.py', | 297 '../components/variations/service/generate_ui_string_overrider.py', |
| 298 '-N', 'chrome_variations', |
| 299 '-o', '<(SHARED_INTERMEDIATE_DIR)', |
| 300 '-S', 'chrome/browser/metrics/variations/ui_string_overrider_factory
.cc', |
| 301 '-H', 'chrome/browser/metrics/variations/ui_string_overrider_factory
.h', |
296 '<(grit_out_dir)/grit/generated_resources.h', | 302 '<(grit_out_dir)/grit/generated_resources.h', |
297 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/genera
ted_resources_map.cc' | |
298 ], | 303 ], |
299 'message': 'Generating generated resources map.', | 304 'message': 'Generating generated resources map.', |
300 } | 305 } |
301 ], | 306 ], |
302 }, | 307 }, |
303 { | 308 { |
| 309 # GN version: //chrome/browser/metrics/variations:chrome_ui_string_overrid
er_factory |
| 310 'target_name': 'chrome_ui_string_overrider_factory', |
| 311 'type': 'static_library', |
| 312 'dependencies': [ |
| 313 '../components/components.gyp:variations_service', |
| 314 'make_chrome_ui_string_overrider_factory', |
| 315 ], |
| 316 'sources': [ |
| 317 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/ui_string_
overrider_factory.cc', |
| 318 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/ui_string_
overrider_factory.h', |
| 319 ], |
| 320 }, |
| 321 { |
304 # GN version: //chrome/app/resources:platform_locale_settings | 322 # GN version: //chrome/app/resources:platform_locale_settings |
305 'target_name': 'platform_locale_settings', | 323 'target_name': 'platform_locale_settings', |
306 'type': 'none', | 324 'type': 'none', |
307 'variables': { | 325 'variables': { |
308 'conditions': [ | 326 'conditions': [ |
309 ['OS=="win"', { | 327 ['OS=="win"', { |
310 'platform_locale_settings_grd': | 328 'platform_locale_settings_grd': |
311 'app/resources/locale_settings_win.grd', | 329 'app/resources/locale_settings_win.grd', |
312 },], | 330 },], |
313 ['OS=="linux"', { | 331 ['OS=="linux"', { |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 '<(generator_path)', | 674 '<(generator_path)', |
657 'credits', | 675 'credits', |
658 '<(about_credits_file)', | 676 '<(about_credits_file)', |
659 ], | 677 ], |
660 'message': 'Generating about:credits', | 678 'message': 'Generating about:credits', |
661 }, | 679 }, |
662 ], | 680 ], |
663 }, | 681 }, |
664 ], # targets | 682 ], # targets |
665 } | 683 } |
OLD | NEW |