OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'dest_dir': '<(PRODUCT_DIR)/ui/accessibility/extensions', | 7 'dest_dir': '<(PRODUCT_DIR)/ui/accessibility/extensions', |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'accessibility_extensions', | 11 'target_name': 'accessibility_extensions', |
12 'type': 'none', | 12 'type': 'none', |
13 'dependencies': [ | 13 'dependencies': [ |
14 'alt', | 14 'alt', |
15 'caretbrowsing', | 15 'caretbrowsing', |
16 'colorenhancer', | |
16 'highcontrast', | 17 'highcontrast', |
17 'longdesc', | 18 'longdesc', |
18 ] | 19 ] |
19 }, | 20 }, |
20 { | 21 { |
21 'target_name': 'alt', | 22 'target_name': 'alt', |
22 'type': 'none', | 23 'type': 'none', |
23 'copies': [ | 24 'copies': [ |
24 { | 25 { |
25 'destination': '<(dest_dir)/alt', | 26 'destination': '<(dest_dir)/alt', |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
94 'grit_grd_file': 'strings/accessibility_extensions_strings.grd', | 95 'grit_grd_file': 'strings/accessibility_extensions_strings.grd', |
95 'grit_out_dir': '<(dest_dir)/caretbrowsing', | 96 'grit_out_dir': '<(dest_dir)/caretbrowsing', |
96 # We don't generate any RC files, so no resource_ds file is needed. | 97 # We don't generate any RC files, so no resource_ds file is needed. |
97 'grit_resource_ids': '', | 98 'grit_resource_ids': '', |
98 }, | 99 }, |
99 'includes': [ '../../../build/grit_action.gypi' ], | 100 'includes': [ '../../../build/grit_action.gypi' ], |
100 }, | 101 }, |
101 ], | 102 ], |
102 }, | 103 }, |
103 { | 104 { |
105 'target_name': 'colorenhancer', | |
kevers
2015/03/09 13:56:59
Can you please add the GN build change as well.
Peter Wen
2015/03/09 21:35:56
Since there is no current BUILD.gn under accessibi
| |
106 'type': 'none', | |
107 'copies': [ | |
108 { | |
109 'destination': '<(dest_dir)/colorenhancer', | |
110 'files': [ | |
111 'colorenhancer/res/cvd-128.png', | |
112 'colorenhancer/res/cvd-16.png', | |
113 'colorenhancer/res/cvd-19.png', | |
114 'colorenhancer/res/cvd-38.png', | |
115 'colorenhancer/res/cvd-48.png', | |
116 'colorenhancer/res/cvd.css', | |
117 'colorenhancer/manifest.json', | |
118 'colorenhancer/src/background.js', | |
119 'colorenhancer/src/common.js', | |
120 'colorenhancer/src/cvd.js', | |
121 'colorenhancer/src/popup.html', | |
122 'colorenhancer/src/popup.js', | |
123 ] | |
124 } | |
125 ], | |
126 'actions': [ | |
127 { | |
128 'action_name': 'colorenhancer_strings', | |
129 'variables': { | |
130 'grit_grd_file': 'strings/accessibility_extensions_strings.grd', | |
131 'grit_out_dir': '<(dest_dir)/colorenhancer', | |
132 # We don't generate any RC files, so no resource_ds file is needed. | |
133 'grit_resource_ids': '', | |
134 }, | |
135 'includes': [ '../../../build/grit_action.gypi' ], | |
136 }, | |
137 ], | |
138 }, | |
139 { | |
104 'target_name': 'highcontrast', | 140 'target_name': 'highcontrast', |
105 'type': 'none', | 141 'type': 'none', |
106 'copies': [ | 142 'copies': [ |
107 { | 143 { |
108 'destination': '<(dest_dir)/highcontrast', | 144 'destination': '<(dest_dir)/highcontrast', |
109 'files': [ | 145 'files': [ |
110 'highcontrast/background.js', | 146 'highcontrast/background.js', |
111 'highcontrast/common.js', | 147 'highcontrast/common.js', |
112 'highcontrast/highcontrast-128.png', | 148 'highcontrast/highcontrast-128.png', |
113 'highcontrast/highcontrast-16.png', | 149 'highcontrast/highcontrast-16.png', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
162 'grit_out_dir': '<(dest_dir)/longdesc', | 198 'grit_out_dir': '<(dest_dir)/longdesc', |
163 # We don't generate any RC files, so no resource_ds file is needed. | 199 # We don't generate any RC files, so no resource_ds file is needed. |
164 'grit_resource_ids': '', | 200 'grit_resource_ids': '', |
165 }, | 201 }, |
166 'includes': [ '../../../build/grit_action.gypi' ], | 202 'includes': [ '../../../build/grit_action.gypi' ], |
167 }, | 203 }, |
168 ], | 204 ], |
169 }, | 205 }, |
170 ], | 206 ], |
171 } | 207 } |
OLD | NEW |