Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / accessibility / extensions / accessibility_extensions.gyp
blob6734790831e09c41d417bf2cce149c01fa4542de
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     'dest_dir': '<(PRODUCT_DIR)/ui/accessibility/extensions',
8   },
9   'targets': [
10     {
11       'target_name': 'accessibility_extensions',
12       'type': 'none',
13       'dependencies': [
14         'alt',
15         'caretbrowsing',
16         'colorenhancer',
17         'highcontrast',
18         'longdesc',
19       ]
20     },
21     {
22       'target_name': 'alt',
23       'type': 'none',
24       'copies': [
25         {
26           'destination': '<(dest_dir)/alt',
27           'files': [
28             'alt/background.js',
29             'alt/hide-images.css',
30             'alt/hide-images.js',
31             'alt/manifest.json',
32           ]
33         },
34         {
35           'destination': '<(dest_dir)/alt/images',
36           'files': [
37             'alt/images/icon-16.png',
38             'alt/images/icon-19.png',
39             'alt/images/icon-38.png',
40             'alt/images/icon-48.png',
41             'alt/images/icon-128.png',
42             'alt/images/speech-16.png',
43             'alt/images/speech-missing-alt-16.png',
44             'alt/images/statusbarButtonGlyphs.png',
45           ]
46         },
47         {
48           'destination': '<(dest_dir)/alt/lib',
49           'files': [
50             '../../../third_party/accessibility-audit/axs_testing.js',
51           ]
52         },
53       ],
54       'actions': [
55         {
56           'action_name': 'alt_strings',
57           'variables': {
58             'grit_grd_file': 'strings/accessibility_extensions_strings.grd',
59             'grit_out_dir': '<(dest_dir)/alt',
60             # We don't generate any RC files, so no resource_ds file is needed.
61             'grit_resource_ids': '',
62           },
63           'includes': [ '../../../build/grit_action.gypi' ],
64         },
65       ],
66     },
67     {
68       'target_name': 'caretbrowsing',
69       'type': 'none',
70       'copies': [
71         {
72           'destination': '<(dest_dir)/caretbrowsing',
73           'files': [
74             '../../../third_party/accessibility-audit/axs_testing.js',
75             'caretbrowsing/background.js',
76             'caretbrowsing/caret_128.png',
77             'caretbrowsing/caret_16.png',
78             'caretbrowsing/caret_19.png',
79             'caretbrowsing/caret_19_on.png',
80             'caretbrowsing/caret_48.png',
81             'caretbrowsing/caretbrowsing.css',
82             'caretbrowsing/caretbrowsing.js',
83             'caretbrowsing/increase_brightness.png',
84             'caretbrowsing/manifest.json',
85             'caretbrowsing/options.html',
86             'caretbrowsing/options.js',
87             'caretbrowsing/traverse_util.js',
88           ]
89         }
90       ],
91       'actions': [
92         {
93           'action_name': 'caretbrowsing_strings',
94           'variables': {
95             'grit_grd_file': 'strings/accessibility_extensions_strings.grd',
96             'grit_out_dir': '<(dest_dir)/caretbrowsing',
97             # We don't generate any RC files, so no resource_ds file is needed.
98             'grit_resource_ids': '',
99           },
100           'includes': [ '../../../build/grit_action.gypi' ],
101         },
102       ],
103     },
104     {
105       'target_name': 'colorenhancer',
106       'type': 'none',
107       'copies': [
108         {
109           'destination': '<(dest_dir)/colorenhancer',
110           'files': [
111             'colorenhancer/manifest.json',
112           ]
113         },
114         {
115           'destination': '<(dest_dir)/colorenhancer/src',
116           'files': [
117             'colorenhancer/src/background.js',
118             'colorenhancer/src/common.js',
119             'colorenhancer/src/cvd.js',
120             'colorenhancer/src/popup.html',
121             'colorenhancer/src/popup.js',
122             'colorenhancer/src/storage.js',
123           ]
124         },
125         {
126           'destination': '<(dest_dir)/colorenhancer/res',
127           'files': [
128             'colorenhancer/res/cvd-128.png',
129             'colorenhancer/res/cvd-16.png',
130             'colorenhancer/res/cvd-19.png',
131             'colorenhancer/res/cvd-38.png',
132             'colorenhancer/res/cvd-48.png',
133             'colorenhancer/res/cvd.css',
134             'colorenhancer/res/setup.css',
135           ]
136         },
137       ],
138       'actions': [
139         {
140           'action_name': 'colorenhancer_strings',
141           'variables': {
142             'grit_grd_file': 'strings/accessibility_extensions_strings.grd',
143             'grit_out_dir': '<(dest_dir)/colorenhancer',
144             # We don't generate any RC files, so no resource_ds file is needed.
145             'grit_resource_ids': '',
146           },
147           'includes': [ '../../../build/grit_action.gypi' ],
148         },
149       ],
150     },
151     {
152       'target_name': 'highcontrast',
153       'type': 'none',
154       'copies': [
155         {
156           'destination': '<(dest_dir)/highcontrast',
157           'files': [
158             'highcontrast/background.js',
159             'highcontrast/common.js',
160             'highcontrast/highcontrast-128.png',
161             'highcontrast/highcontrast-16.png',
162             'highcontrast/highcontrast-19.png',
163             'highcontrast/highcontrast-48.png',
164             'highcontrast/highcontrast.css',
165             'highcontrast/highcontrast.js',
166             'highcontrast/manifest.json',
167             'highcontrast/popup.html',
168             'highcontrast/popup.js',
169           ]
170         }
171       ],
172       'actions': [
173         {
174           'action_name': 'highcontrast_strings',
175           'variables': {
176             'grit_grd_file': 'strings/accessibility_extensions_strings.grd',
177             'grit_out_dir': '<(dest_dir)/highcontrast',
178             # We don't generate any RC files, so no resource_ds file is needed.
179             'grit_resource_ids': '',
180           },
181           'includes': [ '../../../build/grit_action.gypi' ],
182         },
183       ],
184     },
185     {
186       'target_name': 'longdesc',
187       'type': 'none',
188       'copies': [
189         {
190           'destination': '<(dest_dir)/longdesc',
191           'files': [
192             'longdesc/background.js',
193             'longdesc/border.css',
194             'longdesc/icon.png',
195             'longdesc/icon-128.png',
196             'longdesc/icon-48.png',
197             'longdesc/icon-16.png',
198             'longdesc/lastRightClick.js',
199             'longdesc/manifest.json',
200             'longdesc/options.html',
201             'longdesc/options.js',
202           ]
203         }
204       ],
205       'actions': [
206         {
207           'action_name': 'longdesc_strings',
208           'variables': {
209             'grit_grd_file': 'strings/accessibility_extensions_strings.grd',
210             'grit_out_dir': '<(dest_dir)/longdesc',
211             # We don't generate any RC files, so no resource_ds file is needed.
212             'grit_resource_ids': '',
213           },
214           'includes': [ '../../../build/grit_action.gypi' ],
215         },
216       ],
217     },
218   ],