Skip direct map from apk check for Samsung Mega.
[chromium-blink-merge.git] / ui / accessibility / extensions / accessibility_extensions.gyp
blobd3aa0437aa25df6075adbed85440ed49dbdb4cb3
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         'highcontrast',
17         'longdesc',
18       ]
19     },
20     {
21       'target_name': 'alt',
22       'type': 'none',
23       'copies': [
24         {
25           'destination': '<(dest_dir)/alt',
26           'files': [
27             'alt/background.js',
28             'alt/hide-images.css',
29             'alt/hide-images.js',
30             'alt/manifest.json',
31           ]
32         },
33         {
34           'destination': '<(dest_dir)/alt/images',
35           'files': [
36             'alt/images/icon-16.png',
37             'alt/images/icon-19.png',
38             'alt/images/icon-38.png',
39             'alt/images/icon-48.png',
40             'alt/images/icon-128.png',
41             'alt/images/speech-16.png',
42             'alt/images/speech-missing-alt-16.png',
43             'alt/images/statusbarButtonGlyphs.png',
44           ]
45         },
46         {
47           'destination': '<(dest_dir)/alt/lib',
48           'files': [
49             '../../../third_party/accessibility-audit/axs_testing.js',
50           ]
51         },
52       ],
53       'actions': [
54         {
55           'action_name': 'alt_strings',
56           'variables': {
57             'grit_grd_file': 'strings/accessibility_extensions_strings.grd',
58             'grit_out_dir': '<(dest_dir)/alt',
59             # We don't generate any RC files, so no resource_ds file is needed.
60             'grit_resource_ids': '',
61           },
62           'includes': [ '../../../build/grit_action.gypi' ],
63         },
64       ],
65     },
66     {
67       'target_name': 'caretbrowsing',
68       'type': 'none',
69       'copies': [
70         {
71           'destination': '<(dest_dir)/caretbrowsing',
72           'files': [
73             '../../../third_party/accessibility-audit/axs_testing.js',
74             'caretbrowsing/background.js',
75             'caretbrowsing/caret_128.png',
76             'caretbrowsing/caret_16.png',
77             'caretbrowsing/caret_19.png',
78             'caretbrowsing/caret_19_on.png',
79             'caretbrowsing/caret_48.png',
80             'caretbrowsing/caretbrowsing.css',
81             'caretbrowsing/caretbrowsing.js',
82             'caretbrowsing/increase_brightness.png',
83             'caretbrowsing/manifest.json',
84             'caretbrowsing/options.html',
85             'caretbrowsing/options.js',
86             'caretbrowsing/traverse_util.js',
87           ]
88         }
89       ],
90       'actions': [
91         {
92           'action_name': 'caretbrowsing_strings',
93           'variables': {
94             'grit_grd_file': 'strings/accessibility_extensions_strings.grd',
95             'grit_out_dir': '<(dest_dir)/caretbrowsing',
96             # We don't generate any RC files, so no resource_ds file is needed.
97             'grit_resource_ids': '',
98           },
99           'includes': [ '../../../build/grit_action.gypi' ],
100         },
101       ],
102     },
103     {
104       'target_name': 'highcontrast',
105       'type': 'none',
106       'copies': [
107         {
108           'destination': '<(dest_dir)/highcontrast',
109           'files': [
110             'highcontrast/background.js',
111             'highcontrast/common.js',
112             'highcontrast/highcontrast-128.png',
113             'highcontrast/highcontrast-16.png',
114             'highcontrast/highcontrast-19.png',
115             'highcontrast/highcontrast-48.png',
116             'highcontrast/highcontrast.css',
117             'highcontrast/highcontrast.js',
118             'highcontrast/manifest.json',
119             'highcontrast/popup.html',
120             'highcontrast/popup.js',
121           ]
122         }
123       ],
124       'actions': [
125         {
126           'action_name': 'highcontrast_strings',
127           'variables': {
128             'grit_grd_file': 'strings/accessibility_extensions_strings.grd',
129             'grit_out_dir': '<(dest_dir)/highcontrast',
130             # We don't generate any RC files, so no resource_ds file is needed.
131             'grit_resource_ids': '',
132           },
133           'includes': [ '../../../build/grit_action.gypi' ],
134         },
135       ],
136     },
137     {
138       'target_name': 'longdesc',
139       'type': 'none',
140       'copies': [
141         {
142           'destination': '<(dest_dir)/longdesc',
143           'files': [
144             'longdesc/background.js',
145             'longdesc/border.css',
146             'longdesc/icon.png',
147             'longdesc/icon-128.png',
148             'longdesc/icon-48.png',
149             'longdesc/icon-16.png',
150             'longdesc/lastRightClick.js',
151             'longdesc/manifest.json',
152             'longdesc/options.html',
153             'longdesc/options.js',
154           ]
155         }
156       ],
157       'actions': [
158         {
159           'action_name': 'longdesc_strings',
160           'variables': {
161             'grit_grd_file': 'strings/accessibility_extensions_strings.grd',
162             'grit_out_dir': '<(dest_dir)/longdesc',
163             # We don't generate any RC files, so no resource_ds file is needed.
164             'grit_resource_ids': '',
165           },
166           'includes': [ '../../../build/grit_action.gypi' ],
167         },
168       ],
169     },
170   ],