- add sources.
[platform/framework/web/crosswalk.git] / src / content / content_resources.gyp
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
3 # found in the LICENSE file.
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 {
9   'targets': [
10     {
11       'target_name': 'content_resources',
12       'type': 'none',
13       'variables': {
14         'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/content',
15       },
16       'actions': [
17         {
18           'action_name': 'generate_content_resources',
19           'variables': {
20             'grit_grd_file': 'content_resources.grd',
21           },
22           'includes': [ '../build/grit_action.gypi' ],
23         },
24       ],
25       'includes': [ '../build/grit_target.gypi' ],
26       'copies': [
27         {
28           'destination': '<(PRODUCT_DIR)',
29           'files': [
30             '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak'
31           ],
32         },
33       ],
34     },
35   ],
36 }