OLD | NEW |
| (Empty) |
1 # Copyright (c) 2011 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. | |
4 # | |
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 | |
7 # across all the grd files. If you are adding a new grd file, please add | |
8 # a new entry to this file. | |
9 # | |
10 # http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx says that the | |
11 # range for IDR_ is 1 to 28,671 and the range for IDS_ is 1 to 32,767 and | |
12 # common convention starts practical use of IDs at 100 or 101. | |
13 { | |
14 "chrome/browser/browser_resources.grd": { | |
15 "includes": [500], | |
16 }, | |
17 "chrome/browser/resources/component_extension_resources.grd": { | |
18 "includes": [1000], | |
19 }, | |
20 "chrome/browser/resources/net_internals_resources.grd": { | |
21 "includes": [1500], | |
22 }, | |
23 "chrome/browser/resources/shared_resources.grd": { | |
24 "includes": [2000], | |
25 }, | |
26 "chrome/common/common_resources.grd": { | |
27 "includes": [2500], | |
28 }, | |
29 "chrome/default_plugin/default_plugin_resources.grd": { | |
30 "includes": [3000], | |
31 }, | |
32 "chrome/renderer/renderer_resources.grd": { | |
33 "includes": [3500], | |
34 }, | |
35 "net/base/net_resources.grd": { | |
36 "includes": [4000], | |
37 }, | |
38 "webkit/glue/webkit_resources.grd": { | |
39 "includes": [4500], | |
40 }, | |
41 "webkit/tools/test_shell/test_shell_resources.grd": { | |
42 "includes": [5000], | |
43 }, | |
44 "ui/resources/ui_resources.grd": { | |
45 "includes": [5500], | |
46 }, | |
47 "chrome/app/theme/theme_resources.grd": { | |
48 "includes": [6000], | |
49 }, | |
50 "chrome_frame/resources/chrome_frame_resources.grd": { | |
51 "includes": [6500], | |
52 }, | |
53 # WebKit.grd can be in two different places depending on whether we are | |
54 # in a chromium checkout or a webkit-only checkout. | |
55 "third_party/WebKit/Source/WebKit/chromium/WebKit.grd": { | |
56 "includes": [7000], | |
57 }, | |
58 "WebKit.grd": { | |
59 "includes": [7000], | |
60 }, | |
61 | |
62 "ui/base/strings/app_locale_settings.grd": { | |
63 "messages": [7500], | |
64 }, | |
65 "chrome/app/resources/locale_settings.grd": { | |
66 "includes": [8000], | |
67 "messages": [8500], | |
68 }, | |
69 # These each start with the same resource id because we only use one | |
70 # file for each build (cros, linux, mac, or win). | |
71 "chrome/app/resources/locale_settings_cros.grd": { | |
72 "messages": [9000], | |
73 }, | |
74 "chrome/app/resources/locale_settings_linux.grd": { | |
75 "messages": [9000], | |
76 }, | |
77 "chrome/app/resources/locale_settings_mac.grd": { | |
78 "messages": [9000], | |
79 }, | |
80 "chrome/app/resources/locale_settings_win.grd": { | |
81 "messages": [9000], | |
82 }, | |
83 | |
84 "ui/base/strings/ui_strings.grd": { | |
85 "messages": [9500], | |
86 }, | |
87 # Chromium strings and Google Chrome strings must start at the same id. | |
88 # We only use one file depending on whether we're building Chromium or | |
89 # Google Chrome. | |
90 "chrome/app/chromium_strings.grd": { | |
91 "messages": [10000], | |
92 }, | |
93 "chrome/app/google_chrome_strings.grd": { | |
94 "messages": [10000], | |
95 }, | |
96 # Leave lots of space for generated_resources since it has most of our | |
97 # strings. | |
98 "chrome/app/generated_resources.grd": { | |
99 "structures": [10500], | |
100 "messages": [11000], | |
101 }, | |
102 # The chrome frame dialogs are also in generated_resources.grd so they | |
103 # get included by the translation console. We make sure that the ids | |
104 # for structures here are the same as for generated_resources.grd. | |
105 "chrome_frame/resources/chrome_frame_dialogs.grd": { | |
106 "structures": [10500], | |
107 "includes": [10750], | |
108 }, | |
109 "webkit/glue/inspector_strings.grd": { | |
110 "messages": [16000], | |
111 }, | |
112 "webkit/glue/webkit_strings.grd": { | |
113 "messages": [16500], | |
114 }, | |
115 | |
116 "chrome_frame/resources/chrome_frame_resources.grd": { | |
117 "includes": [17500], | |
118 "structures": [18000], | |
119 }, | |
120 | |
121 "ui/gfx/gfx_resources.grd": { | |
122 "includes": [18500], | |
123 }, | |
124 | |
125 "chrome/app/policy/policy_templates.grd": { | |
126 "structures": [19000], | |
127 "messages": [19010], | |
128 }, | |
129 | |
130 "chrome/browser/autofill/autofill_resources.grd": { | |
131 "messages": [19500], | |
132 }, | |
133 "chrome/browser/resources/sync_internals_resources.grd": { | |
134 "includes": [20000], | |
135 }, | |
136 # This file is generated during the build. | |
137 "<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd": { | |
138 "includes": [20500], | |
139 }, | |
140 # All standard and large theme resources should have the same IDs. | |
141 "chrome/app/theme/theme_resources_standard.grd": { | |
142 "includes": [21000], | |
143 }, | |
144 "chrome/app/theme/theme_resources_large.grd": { | |
145 "includes": [21000], | |
146 }, | |
147 # This file is generated during the build. | |
148 "chrome/browser/debugger/frontend/devtools_frontend_resources.grd": { | |
149 "includes": [21500], | |
150 }, | |
151 "chrome/browser/resources/options_resources.grd": { | |
152 "includes": [22000], | |
153 }, | |
154 "cloud_print/virtual_driver/win/install/virtual_driver_setup_resources.grd": { | |
155 "messages": [22500], | |
156 }, | |
157 "chrome/browser/resources/quota_internals_resources.grd": { | |
158 "includes": [23000], | |
159 }, | |
160 "chrome/browser/resources/workers_resources.grd": { | |
161 "includes": [23500], | |
162 }, | |
163 # All standard and large theme resources should have the same IDs. | |
164 "ui/resources/ui_resources_standard.grd": { | |
165 "includes": [24000], | |
166 }, | |
167 "ui/resources/ui_resources_large.grd": { | |
168 "includes": [24000], | |
169 }, | |
170 } | |
OLD | NEW |