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