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