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 first entry in the file, SRCDIR, is special: It is a relative path from |
11 # this file to the base of your checkout. | 11 # this file to the base of your checkout. |
12 # | 12 # |
13 # http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx says that the | 13 # The range of ID values, which is used by pak files, is from 0 to 2^16 - 1. |
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 { | 14 { |
17 "SRCDIR": "../..", | 15 "SRCDIR": "../..", |
18 | 16 |
19 "chrome/browser/browser_resources.grd": { | 17 "chrome/browser/browser_resources.grd": { |
20 "includes": [400], | 18 "includes": [400], |
21 "structures": [750], | 19 "structures": [750], |
22 }, | 20 }, |
23 "chrome/browser/resources/component_extension_resources.grd": { | 21 "chrome/browser/resources/component_extension_resources.grd": { |
24 "includes": [1000], | 22 "includes": [1000], |
25 "structures": [1450], | 23 "structures": [1450], |
(...skipping 24 matching lines...) Expand all Loading... |
50 "ui/resources/ui_resources.grd": { | 48 "ui/resources/ui_resources.grd": { |
51 "structures": [5500], | 49 "structures": [5500], |
52 }, | 50 }, |
53 "ash/resources/ash_resources.grd": { | 51 "ash/resources/ash_resources.grd": { |
54 "includes": [6100], | 52 "includes": [6100], |
55 "structures": [6150], | 53 "structures": [6150], |
56 }, | 54 }, |
57 "athena/resources/athena_resources.grd": { | 55 "athena/resources/athena_resources.grd": { |
58 "structures": [6400], | 56 "structures": [6400], |
59 }, | 57 }, |
| 58 "athena/strings/athena_strings.grd": { |
| 59 "messages": [6500], |
| 60 }, |
60 "chrome/app/theme/theme_resources.grd": { | 61 "chrome/app/theme/theme_resources.grd": { |
61 "structures": [6500], | 62 "structures": [7000], |
62 }, | 63 }, |
63 "chrome/app/theme/chrome_unscaled_resources.grd": { | 64 "chrome/app/theme/chrome_unscaled_resources.grd": { |
64 "includes": [7500], | 65 "includes": [8000], |
65 }, | 66 }, |
66 "ui/strings/app_locale_settings.grd": { | 67 "ui/strings/app_locale_settings.grd": { |
67 "messages": [9000], | 68 "messages": [9000], |
68 }, | 69 }, |
69 "chrome/app/resources/locale_settings.grd": { | 70 "chrome/app/resources/locale_settings.grd": { |
70 "includes": [9500], | 71 "includes": [9500], |
71 "messages": [10000], | 72 "messages": [10000], |
72 }, | 73 }, |
73 # These each start with the same resource id because we only use one | 74 # 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 # file for each build (chromiumos, google_chromeos, linux, mac, or win). |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 | 227 |
227 # These files don't need to reserve resource ids, but are listed here so that | 228 # These files don't need to reserve resource ids, but are listed here so that |
228 # translation scripts know of their existence. | 229 # translation scripts know of their existence. |
229 "android_webview/java/strings/android_webview_strings.grd": {}, | 230 "android_webview/java/strings/android_webview_strings.grd": {}, |
230 "chrome/android/java/strings/android_chrome_strings.grd": {}, | 231 "chrome/android/java/strings/android_chrome_strings.grd": {}, |
231 "content/public/android/java/strings/android_content_strings.grd": {}, | 232 "content/public/android/java/strings/android_content_strings.grd": {}, |
232 "ui/android/java/strings/android_ui_strings.grd": {}, | 233 "ui/android/java/strings/android_ui_strings.grd": {}, |
233 | 234 |
234 # Resource ids starting at 31000 are reserved for projects built on Chromium. | 235 # Resource ids starting at 31000 are reserved for projects built on Chromium. |
235 } | 236 } |
OLD | NEW |