Home | History | Annotate | Download | only in gritsettings
      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   "ui/strings/app_locale_settings.grd": {
     64     "messages": [9000],
     65   },
     66   "chrome/app/resources/locale_settings.grd": {
     67     "includes": [9500],
     68     "messages": [10000],
     69   },
     70   # These each start with the same resource id because we only use one
     71   # file for each build (chromiumos, google_chromeos, linux, mac, or win).
     72   "chrome/app/resources/locale_settings_chromiumos.grd": {
     73     "messages": [10500],
     74   },
     75   "chrome/app/resources/locale_settings_google_chromeos.grd": {
     76     "messages": [10500],
     77   },
     78   "chrome/app/resources/locale_settings_linux.grd": {
     79     "messages": [10500],
     80   },
     81   "chrome/app/resources/locale_settings_mac.grd": {
     82     "messages": [10500],
     83   },
     84   "chrome/app/resources/locale_settings_win.grd": {
     85     "messages": [10500],
     86   },
     87   "ui/strings/ui_strings.grd": {
     88     "messages": [11000],
     89   },
     90   # Chromium strings and Google Chrome strings must start at the same id.
     91   # We only use one file depending on whether we're building Chromium or
     92   # Google Chrome.
     93   "chrome/app/chromium_strings.grd": {
     94     "messages": [11500],
     95   },
     96   "chrome/app/google_chrome_strings.grd": {
     97     "messages": [11500],
     98   },
     99   # Leave lots of space for generated_resources since it has most of our
    100   # strings.
    101   "chrome/app/generated_resources.grd": {
    102     "structures": [12000],
    103     "messages": [12500],
    104   },
    105   "webkit/glue/inspector_strings.grd": {
    106     "messages": [17500],
    107   },
    108   "webkit/glue/webkit_strings.grd": {
    109     "messages": [18500],
    110   },
    111   "components/policy/resources/policy_templates.grd": {
    112     "structures": [20500],
    113     "messages": [20510],
    114   },
    115   "chrome/browser/resources/sync_internals_resources.grd": {
    116     "includes": [21500],
    117   },
    118   "chrome/browser/resources/signin_internals_resources.grd": {
    119     "includes": [21750],
    120   },
    121   "chrome/browser/resources/invalidations_resources.grd": {
    122     "includes": [21950],
    123   },
    124   # This file is generated during the build.
    125   "<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd": {
    126     "includes": [22000],
    127   },
    128   "devtools_resources.grd": {
    129     "includes": [22000],
    130   },
    131   "chrome/browser/resources/options_resources.grd": {
    132     "includes": [23000],
    133     "structures": [23200],
    134   },
    135   "cloud_print/virtual_driver/win/install/virtual_driver_setup_resources.grd": {
    136     "messages": [23500],
    137     "includes": [23550],
    138   },
    139   "cloud_print/service/win/service_resources.grd": {
    140     "messages": [23600],
    141     "includes": [23700],
    142     "structures": [23750],
    143   },
    144   "cloud_print/gcp20/prototype/gcp20_device.grd": {
    145     "messages": [23800],
    146     "includes": [23830],
    147     "structures": [23860],
    148   },
    149   "chrome/browser/resources/quota_internals_resources.grd": {
    150     "includes": [24000],
    151   },
    152   "content/content_resources.grd": {
    153     "includes": [25000],
    154   },
    155   "content/shell/shell_resources.grd": {
    156     "includes": [25500],
    157   },
    158   # This file is generated during the build.
    159   "<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.grd": {
    160     "includes": [25750],
    161   },
    162   "ash/ash_strings.grd": {
    163     "messages": [26000],
    164   },
    165   "chrome/common/extensions_api_resources.grd": {
    166     "includes": [26400],
    167   },
    168   "extensions/extensions_resources.grd": {
    169     "includes": [26600],
    170   },
    171   "extensions/renderer/resources/extensions_renderer_resources.grd": {
    172     "includes": [26800],
    173   },
    174   "extensions/extensions_strings.grd": {
    175     "messages": [27000],
    176   },
    177   "apps/shell/app_shell_resources.grd": {
    178     "includes": [27400],
    179   },
    180   "chrome/browser/resources/memory_internals_resources.grd": {
    181     "includes": [27500],
    182   },
    183   "chrome/browser/resources/password_manager_internals_resources.grd": {
    184     "includes": [27800],
    185   },
    186   "device/bluetooth/bluetooth_strings.grd": {
    187     "messages": [28000],
    188   },
    189   "ui/keyboard/keyboard_resources.grd": {
    190     "includes": [28050],
    191   },
    192   "ui/file_manager/file_manager_resources.grd": {
    193     "includes": [28100],
    194   },
    195   "chrome/browser/resources/translate_internals_resources.grd": {
    196     "includes": [28500],
    197   },
    198   "chrome/browser/resources/sync_file_system_internals_resources.grd": {
    199     "includes": [29000],
    200   },
    201   "third_party/libaddressinput/chromium/cpp/res/libaddressinput_strings.grd": {
    202     "messages": [29050],
    203   },
    204   "chrome/app/address_input_strings.grd": {
    205     "messages": [29100],
    206   },
    207   "components/components_strings.grd": {
    208     "messages": [30000],
    209   },
    210   "components/resources/components_resources.grd": {
    211     "includes": [30250],
    212   },
    213   "components/resources/components_scaled_resources.grd": {
    214     "structures": [30350],
    215   },
    216   "third_party/WebKit/public/blink_resources.grd": {
    217     "includes": [30500],
    218   },
    219   # Resource ids starting at 31000 are reserved for projects built on Chromium.
    220 }
    221