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