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

Side by Side Diff: chrome/chrome_resources.gyp

Issue 1411153006: Variations string overrides now handles more .grd files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments and updated the gyp file (had forgotten to do so ...) Created 5 years, 1 month 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
OLDNEW
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 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i nternal/additional_modules_list.txt', 7 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i nternal/additional_modules_list.txt',
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 }, 294 },
295 'includes': [ '../build/grit_action.gypi' ], 295 'includes': [ '../build/grit_action.gypi' ],
296 }, 296 },
297 ], 297 ],
298 }, 298 },
299 { 299 {
300 # GN version: //chrome/browser/metrics/variations:chrome_ui_string_overrid er_factory_gen_sources 300 # GN version: //chrome/browser/metrics/variations:chrome_ui_string_overrid er_factory_gen_sources
301 'target_name': 'make_chrome_ui_string_overrider_factory', 301 'target_name': 'make_chrome_ui_string_overrider_factory',
302 'type': 'none', 302 'type': 'none',
303 'hard_dependency': 1, 303 'hard_dependency': 1,
304 'dependencies': [ 'chrome_strings', ], 304 'dependencies': [
305 'chrome_strings',
306 '../components/components_strings.gyp:components_strings',
307 ],
305 'actions': [ 308 'actions': [
306 { 309 {
307 'action_name': 'generate_ui_string_overrider', 310 'action_name': 'generate_ui_string_overrider',
308 'inputs': [ 311 'inputs': [
309 '../components/variations/service/generate_ui_string_overrider.py', 312 '../components/variations/service/generate_ui_string_overrider.py',
310 '<(grit_out_dir)/grit/generated_resources.h' 313 '<(grit_out_dir)/grit/generated_resources.h',
314 '<(grit_out_dir)/grit/google_chrome_strings.h',
315 '<(grit_out_dir)/grit/chromium_strings.h',
sky 2015/10/28 15:47:54 nit: sort these.
Moe 2015/10/29 01:13:20 Done.
316 '<(grit_out_dir)/grit/settings_strings.h',
317 '<(grit_out_dir)/grit/settings_chromium_strings.h',
318 '<(grit_out_dir)/grit/settings_google_chrome_strings.h',
319 '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_strin gs.h',
sky 2015/10/28 15:47:54 What target are these files listed as outputs of?
Moe 2015/10/29 01:13:20 ../components/components_strings.gyp:components_st
sky 2015/10/29 15:57:01 I don't seem them listed as outputs in that target
Moe 2015/10/29 17:16:10 chrome_strings target also doesn't list generated_
320 '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_chrom ium_strings.h',
321 '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_googl e_chrome_strings.h'
311 ], 322 ],
312 'outputs': [ 323 'outputs': [
313 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/ui_str ing_overrider_factory.cc', 324 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/ui_str ing_overrider_factory.cc',
314 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/ui_str ing_overrider_factory.h', 325 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/metrics/variations/ui_str ing_overrider_factory.h',
315 ], 326 ],
316 'action': [ 327 'action': [
317 'python', 328 'python',
318 '../components/variations/service/generate_ui_string_overrider.py', 329 '../components/variations/service/generate_ui_string_overrider.py',
319 '-N', 'chrome_variations', 330 '-N', 'chrome_variations',
320 '-o', '<(SHARED_INTERMEDIATE_DIR)', 331 '-o', '<(SHARED_INTERMEDIATE_DIR)',
321 '-S', 'chrome/browser/metrics/variations/ui_string_overrider_factory .cc', 332 '-S', 'chrome/browser/metrics/variations/ui_string_overrider_factory .cc',
322 '-H', 'chrome/browser/metrics/variations/ui_string_overrider_factory .h', 333 '-H', 'chrome/browser/metrics/variations/ui_string_overrider_factory .h',
323 '<(grit_out_dir)/grit/generated_resources.h', 334 '<(grit_out_dir)/grit/generated_resources.h',
335 '<(grit_out_dir)/grit/google_chrome_strings.h',
336 '<(grit_out_dir)/grit/chromium_strings.h',
sky 2015/10/28 15:47:54 nit: sort
Moe 2015/10/29 01:13:20 Done.
337 '<(grit_out_dir)/grit/settings_strings.h',
338 '<(grit_out_dir)/grit/settings_chromium_strings.h',
339 '<(grit_out_dir)/grit/settings_google_chrome_strings.h',
340 '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_strin gs.h',
341 '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_chrom ium_strings.h',
342 '<(SHARED_INTERMEDIATE_DIR)/components/strings/grit/components_googl e_chrome_strings.h'
324 ], 343 ],
325 'message': 'Generating generated resources map.', 344 'message': 'Generating generated resources map.',
326 } 345 }
327 ], 346 ],
328 }, 347 },
329 { 348 {
330 # GN version: //chrome/browser/metrics/variations:chrome_ui_string_overrid er_factory 349 # GN version: //chrome/browser/metrics/variations:chrome_ui_string_overrid er_factory
331 'target_name': 'chrome_ui_string_overrider_factory', 350 'target_name': 'chrome_ui_string_overrider_factory',
332 'type': 'static_library', 351 'type': 'static_library',
333 'dependencies': [ 352 'dependencies': [
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', 684 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak',
666 ], 685 ],
667 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', 686 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak',
668 }, 687 },
669 'includes': [ '../build/repack_action.gypi' ], 688 'includes': [ '../build/repack_action.gypi' ],
670 }, 689 },
671 ], 690 ],
672 }, 691 },
673 ], # targets 692 ], # targets
674 } 693 }
OLDNEW
« no previous file with comments | « chrome/browser/metrics/variations/BUILD.gn ('k') | components/variations/service/generate_ui_string_overrider.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698