| 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 'about_credits_file_bro': '<(SHARED_INTERMEDIATE_DIR)/about_credits.bro', | 8 'about_credits_file_bro': '<(SHARED_INTERMEDIATE_DIR)/about_credits.bro', |
| 9 }, | 9 }, |
| 10 'targets': [ | 10 'targets': [ |
| 11 { | 11 { |
| 12 # GN version: //components/resources | 12 # GN version: //components/resources |
| 13 'target_name': 'components_resources', | 13 'target_name': 'components_resources', |
| 14 'type': 'none', | 14 'type': 'none', |
| 15 'dependencies': [ | 15 'dependencies': [ |
| 16 'compressed_about_credits', | 16 'compressed_about_credits', |
| 17 ], | 17 ], |
| 18 'hard_dependency': 1, | 18 'hard_dependency': 1, |
| 19 'variables': { | 19 'variables': { |
| 20 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components', | 20 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components', |
| 21 }, | 21 }, |
| 22 'actions': [ | 22 'actions': [ |
| 23 { | 23 { |
| 24 # GN version: //components/resources:components_resources | 24 # GN version: //components/resources:components_resources |
| 25 'action_name': 'generate_components_resources', | 25 'action_name': 'generate_components_resources', |
| 26 'variables': { | 26 'variables': { |
| 27 'grit_grd_file': 'resources/components_resources.grd', | 27 'grit_grd_file': 'resources/components_resources.grd', |
| 28 'grit_additional_defines': [ | 28 'grit_additional_defines': [ |
| 29 '-E', 'about_credits_file=<(about_credits_file_bro)', | 29 '-E', 'about_credits_file=<(about_credits_file_bro)', |
| 30 '-E', 'output_dir=<(grit_out_dir)', |
| 30 ], | 31 ], |
| 31 }, | 32 }, |
| 32 'includes': [ '../build/grit_action.gypi' ], | 33 'includes': [ '../build/grit_action.gypi' ], |
| 33 }, | 34 }, |
| 34 { | 35 { |
| 35 # GN version: //components/resources:components_scaled_resources | 36 # GN version: //components/resources:components_scaled_resources |
| 36 'action_name': 'generate_components_scaled_resources', | 37 'action_name': 'generate_components_scaled_resources', |
| 37 'variables': { | 38 'variables': { |
| 38 'grit_grd_file': 'resources/components_scaled_resources.grd', | 39 'grit_grd_file': 'resources/components_scaled_resources.grd', |
| 39 }, | 40 }, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 '--target-os=<(OS)', | 85 '--target-os=<(OS)', |
| 85 'credits', | 86 'credits', |
| 86 '<(about_credits_file)', | 87 '<(about_credits_file)', |
| 87 ], | 88 ], |
| 88 'message': 'Generating about:credits', | 89 'message': 'Generating about:credits', |
| 89 }, | 90 }, |
| 90 ], | 91 ], |
| 91 }, | 92 }, |
| 92 ], | 93 ], |
| 93 } | 94 } |
| OLD | NEW |