Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / file_manager / file_manager.gyp
blobdc6da75abb70536dc7721d6c6bb0f1c89f227381
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.
6   'variables': {
7     'chromium_code': 1,
8     'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/ui/file_manager',
9   },
10   'targets': [
11     {
12       'target_name': 'file_manager_resources',
13       'type': 'none',
14       'actions': [
15         {
16           'action_name': 'file_manager_resources',
17           'variables': {
18             'grit_grd_file': 'file_manager_resources.grd',
19           },
20           'includes': [ '../../build/grit_action.gypi' ],
21         },
22       ],
23       'includes': [ '../../build/grit_target.gypi' ],
24       'copies': [
25         {
26           'destination': '<(PRODUCT_DIR)',
27           'files': [
28             '<(SHARED_INTERMEDIATE_DIR)/ui/file_manager/file_manager_resources.pak',
29           ],
30         },
31       ],
32     },
33     {
34       'target_name': 'file_manager',
35       'type': '<(component)',
36       'dependencies': [
37         '../../base/base.gyp:base',
38         'file_manager_resources',
39       ],
40       'defines': [
41         'FILE_MANAGER_IMPLEMENTATION',
42       ],
43       'sources': [
44         '<(grit_out_dir)/grit/file_manager_resources_map.cc',
45         '<(grit_out_dir)/grit/file_manager_resources_map.h',
46         'file_manager_export.h',
47         'file_manager_resource_util.cc',
48         'file_manager_resource_util.h',
49       ]
50     },
51   ],