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 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 # The first entry in the file, SRCDIR, is special: It is a relative path from 11 # this file to the base of your checkout. 12 # 13 # http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx says that the 14 # range for IDR_ is 1 to 28,671 and the range for IDS_ is 1 to 32,767 and 15 # common convention starts practical use of IDs at 100 or 101. 16 { 17 "SRCDIR": "../..", 18 19 "chrome/browser/browser_resources.grd": { 20 "includes": [500], 21 "structures": [750], 22 }, 23 "chrome/browser/resources/component_extension_resources.grd": { 24 "includes": [1000], 25 "structures": [1450], 26 }, 27 "chrome/browser/resources/net_internals_resources.grd": { 28 "includes": [1500], 29 }, 30 "ui/webui/resources/webui_resources.grd": { 31 "includes": [2000], 32 "structures": [2200], 33 }, 34 "chrome/common/common_resources.grd": { 35 "includes": [2500], 36 }, 37 "chrome/renderer/resources/renderer_resources.grd": { 38 "includes": [3500], 39 "structures": [3700], 40 }, 41 "net/base/net_resources.grd": { 42 "includes": [4000], 43 }, 44 "ui/resources/ui_unscaled_resources.grd": { 45 "includes": [4500], 46 }, 47 "webkit/glue/resources/webkit_resources.grd": { 48 "structures": [4700], 49 }, 50 "webkit/tools/test_shell/test_shell_resources.grd": { 51 "includes": [5000], 52 }, 53 "ui/resources/ui_resources.grd": { 54 "structures": [5500], 55 }, 56 "ash/resources/ash_resources.grd": { 57 "includes": [6100], 58 "structures": [6150], 59 }, 60 "chrome/app/theme/theme_resources.grd": { 61 "structures": [6500], 62 }, 63 "chrome/app/theme/chrome_unscaled_resources.grd": { 64 "includes": [7500], 65 }, 66 "chrome_frame/resources/chrome_frame_resources.grd": { 67 "includes": [8000], 68 }, 69 "ui/base/strings/app_locale_settings.grd": { 70 "messages": [9000], 71 }, 72 "chrome/app/resources/locale_settings.grd": { 73 "includes": [9500], 74 "messages": [10000], 75 }, 76 # These each start with the same resource id because we only use one 77 # file for each build (chromiumos, google_chromeos, linux, mac, or win). 78 "chrome/app/resources/locale_settings_chromiumos.grd": { 79 "messages": [10500], 80 }, 81 "chrome/app/resources/locale_settings_google_chromeos.grd": { 82 "messages": [10500], 83 }, 84 "chrome/app/resources/locale_settings_linux.grd": { 85 "messages": [10500], 86 }, 87 "chrome/app/resources/locale_settings_mac.grd": { 88 "messages": [10500], 89 }, 90 "chrome/app/resources/locale_settings_win.grd": { 91 "messages": [10500], 92 }, 93 94 "ui/base/strings/ui_strings.grd": { 95 "messages": [11000], 96 }, 97 # Chromium strings and Google Chrome strings must start at the same id. 98 # We only use one file depending on whether we're building Chromium or 99 # Google Chrome. 100 "chrome/app/chromium_strings.grd": { 101 "messages": [11500], 102 }, 103 "chrome/app/google_chrome_strings.grd": { 104 "messages": [11500], 105 }, 106 # Leave lots of space for generated_resources since it has most of our 107 # strings. 108 "chrome/app/generated_resources.grd": { 109 "structures": [12000], 110 "messages": [12500], 111 }, 112 # The chrome frame dialogs are also in generated_resources.grd so they 113 # get included by the translation console. We make sure that the ids 114 # for structures here are the same as for generated_resources.grd. 115 "chrome_frame/resources/chrome_frame_dialogs.grd": { 116 "structures": [12000], 117 "includes": [12250], 118 }, 119 "webkit/glue/inspector_strings.grd": { 120 "messages": [17500], 121 }, 122 "webkit/glue/webkit_strings.grd": { 123 "messages": [18000], 124 }, 125 126 "chrome_frame/resources/chrome_frame_resources.grd": { 127 "includes": [19000], 128 "structures": [19500], 129 }, 130 131 "ui/base/native_theme/resources/native_theme_resources.grd": { 132 "includes": [20000], 133 }, 134 135 "chrome/app/policy/policy_templates.grd": { 136 "structures": [20500], 137 "messages": [20510], 138 }, 139 140 "chrome/browser/autofill/autofill_resources.grd": { 141 "messages": [21000], 142 }, 143 "chrome/browser/resources/sync_internals_resources.grd": { 144 "includes": [21500], 145 }, 146 "chrome/browser/resources/signin_internals_resources.grd": { 147 "includes": [21750], 148 }, 149 # This file is generated during the build. 150 # devtools_resources.grd can be in two different places depending on whether 151 # we are in a chromium checkout or a webkit-only checkout. 152 "<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd": { 153 "includes": [22000], 154 }, 155 "devtools_resources.grd": { 156 "includes": [22000], 157 }, 158 # This file is generated during the build. 159 "chrome/browser/devtools/frontend/devtools_discovery_page_resources.grd": { 160 "includes": [22500], 161 }, 162 "chrome/browser/resources/options_resources.grd": { 163 "includes": [23000], 164 }, 165 "chrome/browser/resources/options_resources.grd": { 166 "structures": [23200], 167 }, 168 "cloud_print/virtual_driver/win/install/virtual_driver_setup_resources.grd": { 169 "messages": [23500], 170 "includes": [23550], 171 }, 172 "cloud_print/service/win/service_resources.grd": { 173 "messages": [23600], 174 "includes": [23800], 175 "structures": [23900], 176 }, 177 "chrome/browser/resources/quota_internals_resources.grd": { 178 "includes": [24000], 179 }, 180 "content/content_resources.grd": { 181 "includes": [25000], 182 }, 183 "content/shell/shell_resources.grd": { 184 "includes": [25500], 185 }, 186 # This file is generated during the build. 187 "<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.grd": { 188 "includes": [25750], 189 }, 190 "ash/ash_strings.grd": { 191 "messages": [26000], 192 }, 193 "chrome/common/extensions_api_resources.grd": { 194 "includes": [26500], 195 }, 196 "third_party/trace-viewer/src/tracing.grd": { 197 "includes": [27000], 198 }, 199 "chrome/browser/resources/memory_internals_resources.grd": { 200 "includes": [27500], 201 }, 202 "device/bluetooth/bluetooth_strings.grd": { 203 "messages": [28000], 204 }, 205 "ui/keyboard/keyboard_resources.grd": { 206 "includes": [28050], 207 }, 208 "chrome/browser/resources/translate_internals_resources.grd": { 209 "includes": [28500], 210 }, 211 "chrome/browser/resources/sync_file_system_internals_resources.grd": { 212 "includes": [29000], 213 }, 214 "components/component_strings.grd": { 215 "messages": [30000], 216 }, 217 "third_party/WebKit/public/blink_resources.grd": { 218 "includes": [30500], 219 }, 220 # Resource ids starting at 31000 are reserved for projects built on Chromium. 221 } 222