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 "ui/resources/ui_resources.grd": { 51 "structures": [5500], 52 }, 53 "ash/resources/ash_resources.grd": { 54 "includes": [6100], 55 "structures": [6150], 56 }, 57 "chrome/app/theme/theme_resources.grd": { 58 "structures": [6500], 59 }, 60 "chrome/app/theme/chrome_unscaled_resources.grd": { 61 "includes": [7500], 62 }, 63 "chrome_frame/resources/chrome_frame_resources.grd": { 64 "includes": [8000], 65 }, 66 "ui/base/strings/app_locale_settings.grd": { 67 "messages": [9000], 68 }, 69 "chrome/app/resources/locale_settings.grd": { 70 "includes": [9500], 71 "messages": [10000], 72 }, 73 # These each start with the same resource id because we only use one 74 # file for each build (chromiumos, google_chromeos, linux, mac, or win). 75 "chrome/app/resources/locale_settings_chromiumos.grd": { 76 "messages": [10500], 77 }, 78 "chrome/app/resources/locale_settings_google_chromeos.grd": { 79 "messages": [10500], 80 }, 81 "chrome/app/resources/locale_settings_linux.grd": { 82 "messages": [10500], 83 }, 84 "chrome/app/resources/locale_settings_mac.grd": { 85 "messages": [10500], 86 }, 87 "chrome/app/resources/locale_settings_win.grd": { 88 "messages": [10500], 89 }, 90 91 "ui/base/strings/ui_strings.grd": { 92 "messages": [11000], 93 }, 94 # Chromium strings and Google Chrome strings must start at the same id. 95 # We only use one file depending on whether we're building Chromium or 96 # Google Chrome. 97 "chrome/app/chromium_strings.grd": { 98 "messages": [11500], 99 }, 100 "chrome/app/google_chrome_strings.grd": { 101 "messages": [11500], 102 }, 103 # Leave lots of space for generated_resources since it has most of our 104 # strings. 105 "chrome/app/generated_resources.grd": { 106 "structures": [12000], 107 "messages": [12500], 108 }, 109 # The chrome frame dialogs are also in generated_resources.grd so they 110 # get included by the translation console. We make sure that the ids 111 # for structures here are the same as for generated_resources.grd. 112 "chrome_frame/resources/chrome_frame_dialogs.grd": { 113 "structures": [12000], 114 "includes": [12250], 115 }, 116 "webkit/glue/inspector_strings.grd": { 117 "messages": [17500], 118 }, 119 "webkit/glue/webkit_strings.grd": { 120 "messages": [18500], 121 }, 122 123 "chrome_frame/resources/chrome_frame_resources.grd": { 124 "includes": [19000], 125 "structures": [19500], 126 }, 127 128 "components/policy/resources/policy_templates.grd": { 129 "structures": [20500], 130 "messages": [20510], 131 }, 132 133 "chrome/browser/resources/sync_internals_resources.grd": { 134 "includes": [21500], 135 }, 136 "chrome/browser/resources/signin_internals_resources.grd": { 137 "includes": [21750], 138 }, 139 # This file is generated during the build. 140 "<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd": { 141 "includes": [22000], 142 }, 143 "devtools_resources.grd": { 144 "includes": [22000], 145 }, 146 "chrome/browser/devtools/frontend/devtools_discovery_page_resources.grd": { 147 "includes": [22500], 148 }, 149 "chrome/browser/resources/options_resources.grd": { 150 "includes": [23000], 151 }, 152 "chrome/browser/resources/options_resources.grd": { 153 "structures": [23200], 154 }, 155 "cloud_print/virtual_driver/win/install/virtual_driver_setup_resources.grd": { 156 "messages": [23500], 157 "includes": [23550], 158 }, 159 "cloud_print/service/win/service_resources.grd": { 160 "messages": [23600], 161 "includes": [23700], 162 "structures": [23750], 163 }, 164 "cloud_print/gcp20/prototype/gcp20_device.grd": { 165 "messages": [23800], 166 "includes": [23830], 167 "structures": [23860], 168 }, 169 "chrome/browser/resources/quota_internals_resources.grd": { 170 "includes": [24000], 171 }, 172 "content/content_resources.grd": { 173 "includes": [25000], 174 }, 175 "content/shell/shell_resources.grd": { 176 "includes": [25500], 177 }, 178 # This file is generated during the build. 179 "<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.grd": { 180 "includes": [25750], 181 }, 182 "ash/ash_strings.grd": { 183 "messages": [26000], 184 }, 185 "chrome/common/extensions_api_resources.grd": { 186 "includes": [26500], 187 }, 188 "chrome/browser/resources/memory_internals_resources.grd": { 189 "includes": [27500], 190 }, 191 "device/bluetooth/bluetooth_strings.grd": { 192 "messages": [28000], 193 }, 194 "ui/keyboard/keyboard_resources.grd": { 195 "includes": [28050], 196 }, 197 "chrome/browser/resources/translate_internals_resources.grd": { 198 "includes": [28500], 199 }, 200 "chrome/browser/resources/sync_file_system_internals_resources.grd": { 201 "includes": [29000], 202 }, 203 "third_party/libaddressinput/chromium/cpp/res/messages.grd": { 204 "messages": [29050], 205 }, 206 "components/component_strings.grd": { 207 "messages": [30000], 208 }, 209 "components/dom_distiller_resources.grd": { 210 "includes": [30250], 211 }, 212 "third_party/WebKit/public/blink_resources.grd": { 213 "includes": [30500], 214 }, 215 # Resource ids starting at 31000 are reserved for projects built on Chromium. 216 } 217