| 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # GN version: //extensions:strings | 8 # GN version: //extensions:strings |
| 9 'target_name': 'extensions_strings', | 9 'target_name': 'extensions_strings', |
| 10 'type': 'none', | 10 'type': 'none', |
| 11 'variables': { |
| 12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions/strings', |
| 13 }, |
| 11 'actions': [ | 14 'actions': [ |
| 12 { | 15 { |
| 13 'action_name': 'generate_extensions_strings', | 16 'action_name': 'generate_extensions_strings', |
| 14 'variables': { | 17 'variables': { |
| 15 'grit_grd_file': 'extensions_strings.grd', | 18 'grit_grd_file': 'extensions_strings.grd', |
| 16 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/extensions/strings', | |
| 17 }, | 19 }, |
| 18 'includes': [ '../build/grit_action.gypi' ], | 20 'includes': [ '../build/grit_action.gypi' ], |
| 19 }, | 21 }, |
| 20 ], | 22 ], |
| 21 'direct_dependent_settings': { | 23 'includes': [ '../build/grit_target.gypi' ], |
| 22 'include_dirs': [ | |
| 23 '<(SHARED_INTERMEDIATE_DIR)/extensions/strings', | |
| 24 ], | |
| 25 }, | |
| 26 # This target generates extensions_strings.h so it must be built before | |
| 27 # targets that depend on it. | |
| 28 'hard_dependency': 1, | |
| 29 }, | 24 }, |
| 30 ], | 25 ], |
| 31 } | 26 } |
| OLD | NEW |