| OLD | NEW |
| 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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # GN version: //content:resources | 8 # GN version: //content:resources |
| 9 'target_name': 'content_resources', | 9 'target_name': 'content_resources', |
| 10 'type': 'none', | 10 'type': 'none', |
| 11 'hard_dependency': 1, |
| 11 'variables': { | 12 'variables': { |
| 12 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content', | 13 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content', |
| 13 }, | 14 }, |
| 14 'actions': [ | 15 'actions': [ |
| 15 { | 16 { |
| 16 'action_name': 'generate_content_resources', | 17 'action_name': 'generate_content_resources', |
| 17 'variables': { | 18 'variables': { |
| 18 'grit_grd_file': 'content_resources.grd', | 19 'grit_grd_file': 'content_resources.grd', |
| 19 }, | 20 }, |
| 20 'includes': [ '../build/grit_action.gypi' ], | 21 'includes': [ '../build/grit_action.gypi' ], |
| 21 }, | 22 }, |
| 22 ], | 23 ], |
| 23 'copies': [ | 24 'copies': [ |
| 24 { | 25 { |
| 25 'destination': '<(PRODUCT_DIR)', | 26 'destination': '<(PRODUCT_DIR)', |
| 26 'files': [ | 27 'files': [ |
| 27 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak' | 28 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak' |
| 28 ], | 29 ], |
| 29 }, | 30 }, |
| 30 ], | 31 ], |
| 31 }, | 32 }, |
| 32 ], | 33 ], |
| 33 } | 34 } |
| OLD | NEW |