OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 # GN version: //content/app/strings |
| 9 'target_name': 'content_strings', |
| 10 'type': 'none', |
| 11 'variables': { |
| 12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content/app/strings', |
| 13 }, |
| 14 'actions': [ |
| 15 { |
| 16 'action_name': 'generate_content_strings', |
| 17 'variables': { |
| 18 'grit_grd_file': 'content_strings.grd', |
| 19 }, |
| 20 'includes': [ '../../../build/grit_action.gypi' ], |
| 21 }, |
| 22 { |
| 23 'action_name': 'rm_old_file', |
| 24 'inputs': [ |
| 25 '../../../build/whitespace_file.txt', # Dummy input. |
| 26 |
| 27 ], |
| 28 'outputs': [ |
| 29 '<(INTERMEDIATE_DIR)/dummy_stamp', |
| 30 ], |
| 31 'action': [ |
| 32 'python', |
| 33 './rm_old_file.py', |
| 34 '<(SHARED_INTERMEDIATE_DIR)/webkit/grit/webkit_strings.h' |
| 35 ], |
| 36 }, |
| 37 ], |
| 38 'includes': [ '../../../build/grit_target.gypi' ], |
| 39 }, |
| 40 ] |
| 41 } |
OLD | NEW |