| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html', | 7 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html', |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 # GN version: //components/resources | 11 # GN version: //components/resources |
| 12 'target_name': 'components_resources', | 12 'target_name': 'components_resources', |
| 13 'type': 'none', | 13 'type': 'none', |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 'about_credits', | 15 'about_credits', |
| 16 ], | 16 ], |
| 17 'hard_dependency': 1, | 17 'hard_dependency': 1, |
| 18 'variables': { | 18 'variables': { |
| 19 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components', | 19 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components', |
| 20 }, | 20 }, |
| 21 'actions': [ | 21 'actions': [ |
| 22 { | 22 { |
| 23 # GN version: //components/resources:components_resources | 23 # GN version: //components/resources:components_resources |
| 24 'action_name': 'generate_components_resources', | 24 'action_name': 'generate_components_resources', |
| 25 'variables': { | 25 'variables': { |
| 26 'grit_whitelist': '', | |
| 27 'grit_grd_file': 'resources/components_resources.grd', | 26 'grit_grd_file': 'resources/components_resources.grd', |
| 28 'grit_additional_defines': [ | 27 'grit_additional_defines': [ |
| 29 '-E', 'about_credits_file=<(about_credits_file)', | 28 '-E', 'about_credits_file=<(about_credits_file)', |
| 30 ], | 29 ], |
| 31 }, | 30 }, |
| 32 'includes': [ '../build/grit_action.gypi' ], | 31 'includes': [ '../build/grit_action.gypi' ], |
| 33 }, | 32 }, |
| 34 { | 33 { |
| 35 # GN version: //components/resources:components_scaled_resources | 34 # GN version: //components/resources:components_scaled_resources |
| 36 'action_name': 'generate_components_scaled_resources', | 35 'action_name': 'generate_components_scaled_resources', |
| 37 'variables': { | 36 'variables': { |
| 38 'grit_whitelist': '', | |
| 39 'grit_grd_file': 'resources/components_scaled_resources.grd', | 37 'grit_grd_file': 'resources/components_scaled_resources.grd', |
| 40 }, | 38 }, |
| 41 'includes': [ '../build/grit_action.gypi' ], | 39 'includes': [ '../build/grit_action.gypi' ], |
| 42 }, | 40 }, |
| 43 ], | 41 ], |
| 44 'includes': [ '../build/grit_target.gypi' ], | 42 'includes': [ '../build/grit_target.gypi' ], |
| 45 }, | 43 }, |
| 46 { | 44 { |
| 47 # GN version: //components/resources:about_credits | 45 # GN version: //components/resources:about_credits |
| 48 'target_name': 'about_credits', | 46 'target_name': 'about_credits', |
| (...skipping 19 matching lines...) Expand all Loading... |
| 68 '<(generator_path)', | 66 '<(generator_path)', |
| 69 'credits', | 67 'credits', |
| 70 '<(about_credits_file)', | 68 '<(about_credits_file)', |
| 71 ], | 69 ], |
| 72 'message': 'Generating about:credits', | 70 'message': 'Generating about:credits', |
| 73 }, | 71 }, |
| 74 ], | 72 ], |
| 75 }, | 73 }, |
| 76 ], | 74 ], |
| 77 } | 75 } |
| OLD | NEW |