| 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 # TODO(jochen): make this a .gypi file and include it in content.gyp, once | 5 # TODO(jochen): make this a .gypi file and include it in content.gyp, once |
| 6 # content.gyp doesn't depend on gyp files from chrome/ anymore: | 6 # content.gyp doesn't depend on gyp files from chrome/ anymore: |
| 7 # http://crbug.com/10394 | 7 # http://crbug.com/10394 |
| 8 { | 8 { |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 # GN version: //content:resources | 11 # GN version: //content:resources |
| 12 'target_name': 'content_resources', | 12 'target_name': 'content_resources', |
| 13 'type': 'none', | 13 'type': 'none', |
| 14 'variables': { | 14 'variables': { |
| 15 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content', | 15 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content', |
| 16 }, | 16 }, |
| 17 'actions': [ | 17 'actions': [ |
| 18 { | 18 { |
| 19 'action_name': 'generate_content_resources', | 19 'action_name': 'generate_content_resources', |
| 20 'variables': { | 20 'variables': { |
| 21 'grit_grd_file': 'content_resources.grd', | 21 'grit_grd_file': 'content_resources.grd', |
| 22 }, | 22 }, |
| 23 'includes': [ '../build/grit_action.gypi' ], | 23 'includes': [ '../build/grit_action.gypi' ], |
| 24 }, | 24 }, |
| 25 ], | 25 ], |
| 26 'includes': [ '../build/grit_target.gypi' ], | |
| 27 'copies': [ | 26 'copies': [ |
| 28 { | 27 { |
| 29 'destination': '<(PRODUCT_DIR)', | 28 'destination': '<(PRODUCT_DIR)', |
| 30 'files': [ | 29 'files': [ |
| 31 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak' | 30 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak' |
| 32 ], | 31 ], |
| 33 }, | 32 }, |
| 34 ], | 33 ], |
| 35 }, | 34 }, |
| 36 ], | 35 ], |
| 37 } | 36 } |
| OLD | NEW |