OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # This file is used to assign starting resource ids for resources and strings | 5 # This file is used to assign starting resource ids for resources and strings |
6 # used by Chromium. This is done to ensure that resource ids are unique | 6 # used by Chromium. This is done to ensure that resource ids are unique |
7 # across all the grd files. If you are adding a new grd file, please add | 7 # across all the grd files. If you are adding a new grd file, please add |
8 # a new entry to this file. | 8 # a new entry to this file. |
9 # | 9 # |
10 # The first entry in the file, SRCDIR, is special: It is a relative path from | 10 # The entries below are organized into sections. When adding new entries, |
11 # this file to the base of your checkout. | 11 # please use the right section. Try to keep entries in alphabetical order. |
12 # | |
13 # - chrome/app/ | |
14 # - chrome/browser/ | |
15 # - chrome/ miscellaneous | |
16 # - components/ | |
17 # - content/ | |
18 # - ios/ (overlaps with chrome/ and content/) | |
19 # - everything else | |
12 # | 20 # |
13 # The range of ID values, which is used by pak files, is from 0 to 2^16 - 1. | 21 # The range of ID values, which is used by pak files, is from 0 to 2^16 - 1. |
14 { | 22 { |
23 # The first entry in the file, SRCDIR, is special: It is a relative path from | |
24 # this file to the base of your checkout. | |
15 "SRCDIR": "../..", | 25 "SRCDIR": "../..", |
16 | 26 |
17 "chrome/browser/browser_resources.grd": { | 27 # START chrome/app section. |
18 "includes": [400], | 28 # Previous versions of this file started with resource id 400, so stick with |
19 "structures": [850], | 29 # that. |
20 }, | 30 # |
21 "chrome/browser/resources/component_extension_resources.grd": { | 31 # chrome/ and ios/chrome/ must start at the same id. |
22 "includes": [1000], | 32 # App only use one file depending on whether it is iOS or other platform. |
23 "structures": [1450], | 33 "chrome/app/address_input_strings.grd": { |
24 }, | 34 "messages": [400], |
25 "chrome/browser/resources/net_internals_resources.grd": { | 35 }, |
26 "includes": [1500], | 36 |
27 }, | |
28 "ui/webui/resources/webui_resources.grd": { | |
29 "includes": [2000], | |
30 "structures": [2200], | |
31 }, | |
32 "chrome/common/common_resources.grd": { | |
33 "includes": [3000], | |
34 }, | |
35 "chrome/renderer/resources/renderer_resources.grd": { | |
36 "includes": [3500], | |
37 "structures": [3700], | |
38 }, | |
39 "net/base/net_resources.grd": { | |
40 "includes": [4000], | |
41 }, | |
42 "ui/resources/ui_unscaled_resources.grd": { | |
43 "includes": [4500], | |
44 }, | |
45 "content/app/resources/content_resources.grd": { | |
46 "structures": [4700], | |
47 }, | |
48 "third_party/WebKit/public/blink_image_resources.grd": { | |
49 "structures": [4750], | |
50 }, | |
51 "ui/resources/ui_resources.grd": { | |
52 "structures": [5500], | |
53 }, | |
54 "ui/app_list/resources/app_list_resources.grd": { | |
55 "structures": [5760], | |
56 }, | |
57 "ui/views/resources/views_resources.grd": { | |
58 "structures": [5800], | |
59 }, | |
60 "ash/resources/ash_resources.grd": { | |
61 "includes": [6100], | |
62 "structures": [6150], | |
63 }, | |
64 "ui/keyboard/keyboard_resources.grd": { | |
65 "includes": [6850], | |
66 }, | |
67 "chrome/app/theme/theme_resources.grd": { | |
68 "structures": [7000], | |
69 }, | |
70 "chrome/app/theme/chrome_unscaled_resources.grd": { | |
71 "includes": [8000], | |
72 }, | |
73 "ui/strings/app_locale_settings.grd": { | |
74 "messages": [9000], | |
75 }, | |
76 "chrome/app/resources/locale_settings.grd": { | |
77 "messages": [9500], | |
78 }, | |
79 # These each start with the same resource id because we only use one | |
80 # file for each build (chromiumos, google_chromeos, linux, mac, or win). | |
81 "chrome/app/resources/locale_settings_chromiumos.grd": { | |
82 "messages": [10500], | |
83 }, | |
84 "chrome/app/resources/locale_settings_google_chromeos.grd": { | |
85 "messages": [10500], | |
86 }, | |
87 "chrome/app/resources/locale_settings_linux.grd": { | |
88 "messages": [10500], | |
89 }, | |
90 "chrome/app/resources/locale_settings_mac.grd": { | |
91 "messages": [10500], | |
92 }, | |
93 "chrome/app/resources/locale_settings_win.grd": { | |
94 "messages": [10500], | |
95 }, | |
96 "ui/strings/ui_strings.grd": { | |
97 "messages": [11000], | |
98 }, | |
99 # Chromium strings and Google Chrome strings must start at the same id. | 37 # Chromium strings and Google Chrome strings must start at the same id. |
100 # We only use one file depending on whether we're building Chromium or | 38 # We only use one file depending on whether we're building Chromium or |
101 # Google Chrome. | 39 # Google Chrome. |
102 "chrome/app/chromium_strings.grd": { | 40 "chrome/app/chromium_strings.grd": { |
103 "messages": [11200], | 41 "messages": [500], |
104 }, | 42 }, |
105 "chrome/app/google_chrome_strings.grd": { | 43 "chrome/app/google_chrome_strings.grd": { |
106 "messages": [11200], | 44 "messages": [500], |
107 }, | 45 }, |
46 | |
108 # Leave lots of space for generated_resources since it has most of our | 47 # Leave lots of space for generated_resources since it has most of our |
109 # strings. | 48 # strings. |
110 "chrome/app/generated_resources.grd": { | 49 "chrome/app/generated_resources.grd": { |
111 "structures": [11700], | 50 "messages": [900], |
112 "messages": [12200], | 51 }, |
52 | |
53 "chrome/app/resources/locale_settings.grd": { | |
54 "messages": [10000], | |
55 }, | |
56 | |
57 # These each start with the same resource id because we only use one | |
58 # file for each build (chromiumos, google_chromeos, linux, mac, or win). | |
59 "chrome/app/resources/locale_settings_chromiumos.grd": { | |
60 "messages": [10100], | |
61 }, | |
62 "chrome/app/resources/locale_settings_google_chromeos.grd": { | |
63 "messages": [10100], | |
64 }, | |
65 "chrome/app/resources/locale_settings_linux.grd": { | |
66 "messages": [10100], | |
67 }, | |
68 "chrome/app/resources/locale_settings_mac.grd": { | |
69 "messages": [10100], | |
70 }, | |
71 "chrome/app/resources/locale_settings_win.grd": { | |
72 "messages": [10100], | |
73 }, | |
74 | |
75 "chrome/app/theme/chrome_unscaled_resources.grd": { | |
76 "includes": [10150], | |
77 }, | |
78 | |
79 # Leave space for theme_resources since it has many structures. | |
80 "chrome/app/theme/theme_resources.grd": { | |
81 "structures": [10200], | |
82 }, | |
83 # END chrome/app section. | |
84 | |
85 # START chrome/browser section. | |
86 "chrome/browser/browser_resources.grd": { | |
87 "includes": [11000], | |
88 "structures": [11450], | |
89 }, | |
90 "chrome/browser/resources/component_extension_resources.grd": { | |
91 "includes": [11550], | |
92 "structures": [11800], | |
93 }, | |
94 "chrome/browser/resources/invalidations_resources.grd": { | |
95 "includes": [11850], | |
96 }, | |
97 "chrome/browser/resources/md_policy/policy_resources.grd": { | |
98 "structures": [11860], | |
99 }, | |
100 "chrome/browser/resources/net_internals_resources.grd": { | |
101 "includes": [11900], | |
102 }, | |
103 "chrome/browser/resources/options_resources.grd": { | |
104 "includes": [11910], | |
105 "structures": [11920], | |
106 }, | |
107 "chrome/browser/resources/options_test_resources.grd": { | |
108 "structures": [11950], | |
109 }, | |
110 "chrome/browser/resources/password_manager_internals_resources.grd": { | |
111 "includes": [11960], | |
112 }, | |
113 "chrome/browser/resources/quota_internals_resources.grd": { | |
114 "includes": [11970], | |
115 }, | |
116 "chrome/browser/resources/settings/settings_resources.grd": { | |
117 "structures": [12000], | |
118 }, | |
119 "chrome/browser/resources/sync_file_system_internals_resources.grd": { | |
120 "includes": [12500], | |
121 }, | |
122 "chrome/browser/resources/task_scheduler_internals/resources.grd": { | |
123 "includes": [12530], | |
124 }, | |
125 "chrome/browser/resources/translate_internals_resources.grd": { | |
126 "includes": [12540], | |
127 }, | |
128 # END chrome/browser section. | |
129 | |
130 # START chrome/ miscellaneous section. | |
131 "chrome/common/common_resources.grd": { | |
132 "includes": [12700], | |
133 }, | |
134 "chrome/renderer/resources/renderer_resources.grd": { | |
135 "includes": [12710], | |
136 "structures": [12790], | |
137 }, | |
138 "chrome/test/data/webui_test_resources.grd": { | |
139 "includes": [12800], | |
140 }, | |
141 # END chrome/ miscellaneous section. | |
142 | |
143 # START components/ section. | |
144 # | |
145 # Chromium strings and Google Chrome strings must start at the same id. | |
146 # We only use one file depending on whether we're building Chromium or | |
147 # Google Chrome. | |
148 "components/components_chromium_strings.grd": { | |
149 "messages": [15000], | |
150 }, | |
151 "components/components_google_chrome_strings.grd": { | |
152 "messages": [15000], | |
153 }, | |
154 | |
155 "components/components_locale_settings.grd": { | |
156 "includes": [15020], | |
157 "messages": [15030], | |
158 }, | |
159 "components/components_strings.grd": { | |
160 "messages": [15040], | |
161 }, | |
162 "components/chrome_apps/chrome_apps_resources.grd": { | |
163 "includes": [15900], | |
164 }, | |
165 "components/policy/resources/policy_templates.grd": { | |
166 "structures": [15920], | |
167 }, | |
168 "components/resources/components_resources.grd": { | |
169 "includes": [15930], | |
170 }, | |
171 "components/resources/components_scaled_resources.grd": { | |
172 "structures": [16050], | |
173 }, | |
174 # END components/ section. | |
175 | |
176 # START content/ section. | |
177 # content/ and ios/web/ must start at the same id. | |
178 # App only use one file depending on whether it is iOS or other platform. | |
179 "content/app/resources/content_resources.grd": { | |
180 "structures": [20000], | |
113 }, | 181 }, |
114 "content/app/strings/content_strings.grd": { | 182 "content/app/strings/content_strings.grd": { |
115 "messages": [19300], | 183 "messages": [20100], |
116 }, | |
117 "components/policy/resources/policy_templates.grd": { | |
118 "structures": [20100], | |
119 "messages": [20110], | |
120 }, | |
121 "chrome/browser/resources/invalidations_resources.grd": { | |
122 "includes": [21100], | |
123 }, | |
124 # This file is generated during the build. | |
125 "<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd": { | |
126 "includes": [21150], | |
127 }, | |
128 "devtools_resources.grd": { | |
129 "includes": [21150], | |
130 }, | |
131 "chrome/browser/resources/options_resources.grd": { | |
132 "includes": [22150], | |
133 "structures": [22350], | |
134 }, | |
135 "chrome/browser/resources/options_test_resources.grd": { | |
136 "includes": [22550], | |
137 "structures": [22590], | |
138 }, | |
139 "chrome/test/data/webui_test_resources.grd": { | |
140 "includes": [22630], | |
141 "structures": [22640], | |
142 }, | |
143 "chrome/browser/resources/quota_internals_resources.grd": { | |
144 "includes": [22950], | |
145 }, | 184 }, |
146 "content/content_resources.grd": { | 185 "content/content_resources.grd": { |
147 "includes": [23650], | 186 "includes": [20400], |
148 }, | |
149 # ios_web strings and content strings must start at the same id. | |
150 # App only use one file depending on whether it is iOS or other platform. | |
151 "ios/web/ios_web_resources.grd": { | |
152 "includes": [23650], | |
153 }, | |
154 # ios/web test strings and content/shell strings must start at the same id. | |
155 # App only use one file depending on whether it is iOS or other platform. | |
156 "ios/web/test/test_resources.grd": { | |
157 "includes": [24150], | |
158 }, | 187 }, |
159 "content/shell/shell_resources.grd": { | 188 "content/shell/shell_resources.grd": { |
160 "includes": [24150], | 189 "includes": [20500], |
161 }, | 190 }, |
191 | |
162 # This file is generated during the build. | 192 # This file is generated during the build. |
163 "<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.grd": { | 193 "<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.grd": { |
164 "includes": [24300], | 194 "includes": [20550], |
165 }, | 195 }, |
166 # iOS resources overlap with android_webview, ash, chromeos and extensions_api , | 196 # END content/ section. |
167 # as these are not used on iOS. | 197 |
168 "ios/chrome/app/strings/ios_strings.grd": { | 198 # START ios/ section. |
169 "messages": [24550], | 199 # |
170 }, | 200 # chrome/ and ios/chrome/ must start at the same id. |
201 # App only use one file depending on whether it is iOS or other platform. | |
202 "ios/chrome/app/resources/ios_resources.grd": { | |
203 "includes": [400], | |
204 "structures": [1000], | |
205 }, | |
206 | |
171 # Chromium strings and Google Chrome strings must start at the same id. | 207 # Chromium strings and Google Chrome strings must start at the same id. |
172 # We only use one file depending on whether we're building Chromium or | 208 # We only use one file depending on whether we're building Chromium or |
173 # Google Chrome. | 209 # Google Chrome. |
174 "ios/chrome/app/strings/ios_chromium_strings.grd": { | 210 "ios/chrome/app/strings/ios_chromium_strings.grd": { |
175 "messages": [25455], | 211 "messages": [1500], |
176 }, | 212 }, |
177 "ios/chrome/app/strings/ios_google_chrome_strings.grd": { | 213 "ios/chrome/app/strings/ios_google_chrome_strings.grd": { |
178 "messages": [25455], | 214 "messages": [1500], |
179 }, | 215 }, |
180 "ios/chrome/app/resources/ios_resources.grd": { | 216 |
181 "structures": [25650], | 217 "ios/chrome/app/strings/ios_strings.grd": { |
182 "includes": [25760], | 218 "messages": [2000], |
183 }, | 219 }, |
184 "ios/chrome/app/theme/ios_theme_resources.grd": { | 220 "ios/chrome/app/theme/ios_theme_resources.grd": { |
185 "structures": [25570], | 221 "structures": [2500], |
186 }, | 222 }, |
187 "ios/chrome/share_extension/strings/ios_share_extension_strings.grd": { | 223 "ios/chrome/share_extension/strings/ios_share_extension_strings.grd": { |
188 "messages": [26025], | 224 "messages": [3000], |
189 }, | 225 }, |
190 "ios/chrome/today_extension/strings/ios_today_extension_strings.grd": { | 226 "ios/chrome/today_extension/strings/ios_today_extension_strings.grd": { |
191 "messages": [26035], | 227 "messages": [3010], |
192 }, | 228 }, |
229 | |
230 # content/ and ios/web/ must start at the same id. | |
231 # App only use one file depending on whether it is iOS or other platform. | |
232 "ios/web/ios_web_resources.grd": { | |
233 "includes": [20000], | |
234 }, | |
235 "ios/web/test/test_resources.grd": { | |
236 "includes": [22000], | |
237 }, | |
238 # END ios/ section. | |
239 | |
240 # START "everything else" section. | |
241 # Everything but chrome/, components/, content/, and ios/ | |
242 "android_webview/ui/aw_resources.grd": { | |
243 "includes": [23500], | |
244 }, | |
245 "android_webview/ui/aw_strings.grd": { | |
246 "messages": [23510], | |
247 }, | |
248 | |
193 "ash/ash_strings.grd": { | 249 "ash/ash_strings.grd": { |
194 "messages": [24550], | 250 "messages": [23520], |
195 }, | 251 }, |
196 "android_webview/ui/aw_resources.grd": { | 252 "ash/resources/ash_resources.grd": { |
197 "includes": [24550], | 253 "structures": [23920], |
198 }, | 254 }, |
199 "android_webview/ui/aw_strings.grd": { | 255 |
200 "messages": [24650], | 256 "blimp/client/support/resources/blimp_strings.grd": { |
257 "messages": [24200], | |
258 }, | |
259 "blimp/engine/app/blimp_browser_resources.grd": { | |
260 "includes": [24250], | |
261 }, | |
262 | |
263 "chromecast/browser/cast_browser_resources.grd": { | |
264 "includes": [24300], | |
265 }, | |
266 | |
267 "device/bluetooth/bluetooth_strings.grd": { | |
268 "messages": [24400], | |
269 }, | |
270 | |
271 "extensions/browser/resources/extensions_browser_resources.grd": { | |
272 "structures": [24450], | |
273 }, | |
274 "extensions/extensions_resources.grd": { | |
275 "includes": [24460], | |
276 }, | |
277 "extensions/renderer/resources/extensions_renderer_resources.grd": { | |
278 "includes": [24470], | |
279 "structures": [24600], | |
280 }, | |
281 "extensions/shell/app_shell_resources.grd": { | |
282 "includes": [24610], | |
283 }, | |
284 "extensions/strings/extensions_strings.grd": { | |
285 "messages": [24620], | |
286 }, | |
287 | |
288 "headless/lib/resources/headless_lib_resources.grd": { | |
289 "includes": [24700], | |
290 }, | |
291 | |
292 "net/base/net_resources.grd": { | |
293 "includes": [24750], | |
294 }, | |
295 | |
296 "remoting/resources/remoting_strings.grd": { | |
297 "messages": [24800], | |
298 }, | |
299 | |
300 "third_party/WebKit/public/blink_image_resources.grd": { | |
301 "structures": [25300], | |
302 }, | |
303 "third_party/WebKit/public/blink_resources.grd": { | |
304 "includes": [25400], | |
305 }, | |
306 | |
307 "ui/app_list/resources/app_list_resources.grd": { | |
308 "structures": [25800], | |
201 }, | 309 }, |
202 "ui/chromeos/resources/ui_chromeos_resources.grd": { | 310 "ui/chromeos/resources/ui_chromeos_resources.grd": { |
203 "structures": [24850], | 311 "structures": [25820], |
204 }, | 312 }, |
205 "ui/chromeos/ui_chromeos_strings.grd": { | 313 "ui/chromeos/ui_chromeos_strings.grd": { |
206 "messages": [24950], | 314 "messages": [25920], |
207 }, | |
208 "extensions/extensions_resources.grd": { | |
209 "includes": [25250], | |
210 }, | |
211 "extensions/browser/resources/extensions_browser_resources.grd": { | |
212 "structures": [25450], | |
213 }, | |
214 "extensions/renderer/resources/extensions_renderer_resources.grd": { | |
215 "includes": [25500], | |
216 "structures": [25600], | |
217 }, | |
218 "extensions/strings/extensions_strings.grd": { | |
219 "messages": [25650], | |
220 }, | |
221 "extensions/shell/app_shell_resources.grd": { | |
222 "includes": [26050], | |
223 }, | |
224 "chrome/browser/resources/password_manager_internals_resources.grd": { | |
225 "includes": [26350], | |
226 }, | |
227 "device/bluetooth/bluetooth_strings.grd": { | |
228 "messages": [26650], | |
229 }, | 315 }, |
230 "ui/file_manager/file_manager_resources.grd": { | 316 "ui/file_manager/file_manager_resources.grd": { |
231 "includes": [26760], | 317 "includes": [26150], |
232 }, | 318 }, |
233 "components/chrome_apps/chrome_apps_resources.grd": { | 319 "ui/keyboard/keyboard_resources.grd": { |
234 "includes": [26977], | 320 "includes": [26400], |
235 }, | 321 }, |
236 "ui/login/login_resources.grd": { | 322 "ui/login/login_resources.grd": { |
237 "includes": [26990], | 323 "includes": [26500], |
238 }, | 324 }, |
239 "chrome/browser/resources/translate_internals_resources.grd": { | 325 "ui/resources/ui_resources.grd": { |
240 "includes": [27000], | 326 "structures": [26600], |
241 }, | 327 }, |
242 "chrome/browser/resources/sync_file_system_internals_resources.grd": { | 328 "ui/resources/ui_unscaled_resources.grd": { |
243 "includes": [27010], | 329 "includes": [26850], |
Lei Zhang
2016/10/21 03:03:08
ananta: AshNativeCursorManagerTest.SetCursor is fa
| |
244 }, | 330 }, |
245 "chrome/app/address_input_strings.grd": { | 331 "ui/strings/app_locale_settings.grd": { |
246 "messages": [27110], | 332 "messages": [26900], |
247 }, | 333 }, |
248 "remoting/resources/remoting_strings.grd": { | 334 "ui/strings/ui_strings.grd": { |
249 "messages": [27560], | 335 "messages": [26950], |
250 }, | 336 }, |
251 "components/components_locale_settings.grd": { | 337 "ui/views/resources/views_resources.grd": { |
252 "includes": [28010], | 338 "structures": [27150], |
253 "messages": [28015], | 339 }, |
254 }, | 340 "ui/webui/resources/webui_resources.grd": { |
255 "components/components_strings.grd": { | 341 "includes": [27450], |
256 "messages": [28020], | 342 "structures": [27650], |
257 }, | 343 }, |
258 "chrome/browser/resources/task_scheduler_internals/resources.grd": { | 344 |
259 "includes": [29000], | 345 # This file is generated during the build. |
260 }, | 346 "<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd": { |
261 # Chromium strings and Google Chrome strings must start at the same id. | 347 "includes": [28450], |
262 # We only use one file depending on whether we're building Chromium or | 348 }, |
263 # Google Chrome. | 349 "devtools_resources.grd": { |
264 "components/components_chromium_strings.grd": { | 350 "includes": [28450], |
265 "messages": [29280], | 351 }, |
266 }, | 352 # END "everything else" section. |
267 "components/components_google_chrome_strings.grd": { | 353 # Everything but chrome/, components/, content/, and ios/ |
268 "messages": [29280], | 354 |
269 }, | 355 # Thinking about appending to the end? |
270 "components/resources/components_resources.grd": { | 356 # Please read the header and find the right section above instead. |
271 "includes": [29330], | |
272 }, | |
273 "components/resources/components_scaled_resources.grd": { | |
274 "structures": [29880], | |
275 }, | |
276 "third_party/WebKit/public/blink_resources.grd": { | |
277 "includes": [30100], | |
278 "structures": [30400], | |
279 }, | |
280 "chrome/browser/resources/md_policy/policy_resources.grd": { | |
281 "structures": [30630], | |
282 }, | |
283 "chrome/browser/resources/settings/settings_resources.grd": { | |
284 "structures": [30650], | |
285 }, | |
286 "headless/lib/resources/headless_lib_resources.grd": { | |
287 "includes": [30670], | |
288 }, | |
289 "blimp/engine/app/blimp_browser_resources.grd": { | |
290 "includes": [30680], | |
291 }, | |
292 "chromecast/browser/cast_browser_resources.grd": { | |
293 "includes": [30690], | |
294 }, | |
295 "blimp/client/support/resources/blimp_strings.grd": { | |
296 "messages": [30700], | |
297 }, | |
298 | 357 |
299 # Resource ids starting at 31000 are reserved for projects built on Chromium. | 358 # Resource ids starting at 31000 are reserved for projects built on Chromium. |
300 } | 359 } |
OLD | NEW |