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 # The range of ID values, which is used by pak files, is from 0 to 2^16 - 1. 
     14 {
     15   "SRCDIR": "../..",
     16 
     17   "chrome/browser/browser_resources.grd": {
     18     "includes": [400],
     19     "structures": [750],
     20   },
     21   "chrome/browser/resources/component_extension_resources.grd": {
     22     "includes": [1000],
     23     "structures": [1450],
     24   },
     25   "chrome/browser/resources/net_internals_resources.grd": {
     26     "includes": [1500],
     27   },
     28   "ui/webui/resources/webui_resources.grd": {
     29     "includes": [2000],
     30     "structures": [2200],
     31   },
     32   "chrome/common/common_resources.grd": {
     33     "includes": [2500],
     34   },
     35   "chrome/renderer/resources/renderer_resources.grd": {
     36     "includes": [3500],
     37     "structures": [3700],
     38   },
     39   "net/base/net_resources.grd": {
     40     "includes": [4000],
     41   },
     42   "ui/resources/ui_unscaled_resources.grd": {
     43     "includes": [4500],
     44   },
     45   "content/app/resources/content_resources.grd": {
     46     "structures": [4700],
     47   },
     48   "ui/resources/ui_resources.grd": {
     49     "structures": [5500],
     50   },
     51   "ash/resources/ash_resources.grd": {
     52     "includes": [6100],
     53     "structures": [6150],
     54   },
     55   "athena/resources/athena_resources.grd": {
     56     "structures": [6400],
     57   },
     58   "athena/strings/athena_strings.grd": {
     59     "messages": [6500],
     60   },
     61   "chrome/app/theme/theme_resources.grd": {
     62     "structures": [7000],
     63   },
     64   "chrome/app/theme/chrome_unscaled_resources.grd": {
     65     "includes": [8000],
     66   },
     67   "ui/strings/app_locale_settings.grd": {
     68     "messages": [9000],
     69   },
     70   "chrome/app/resources/locale_settings.grd": {
     71     "includes": [9500],
     72     "messages": [10000],
     73   },
     74   # These each start with the same resource id because we only use one
     75   # file for each build (chromiumos, google_chromeos, linux, mac, or win).
     76   "chrome/app/resources/locale_settings_chromiumos.grd": {
     77     "messages": [10500],
     78   },
     79   "chrome/app/resources/locale_settings_google_chromeos.grd": {
     80     "messages": [10500],
     81   },
     82   "chrome/app/resources/locale_settings_linux.grd": {
     83     "messages": [10500],
     84   },
     85   "chrome/app/resources/locale_settings_mac.grd": {
     86     "messages": [10500],
     87   },
     88   "chrome/app/resources/locale_settings_win.grd": {
     89     "messages": [10500],
     90   },
     91   "ui/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   "content/app/strings/content_strings.grd": {
    110     "messages": [18500],
    111   },
    112   "components/policy/resources/policy_templates.grd": {
    113     "structures": [20500],
    114     "messages": [20510],
    115   },
    116   "chrome/browser/resources/sync_internals_resources.grd": {
    117     "includes": [21500],
    118   },
    119   "chrome/browser/resources/signin_internals_resources.grd": {
    120     "includes": [21750],
    121   },
    122   "chrome/browser/resources/invalidations_resources.grd": {
    123     "includes": [21950],
    124   },
    125   # This file is generated during the build.
    126   "<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd": {
    127     "includes": [22000],
    128   },
    129   "devtools_resources.grd": {
    130     "includes": [22000],
    131   },
    132   "chrome/browser/resources/options_resources.grd": {
    133     "includes": [23000],
    134     "structures": [23200],
    135   },
    136   "cloud_print/virtual_driver/win/install/virtual_driver_setup_resources.grd": {
    137     "messages": [23500],
    138     "includes": [23550],
    139   },
    140   "cloud_print/service/win/service_resources.grd": {
    141     "messages": [23600],
    142     "includes": [23700],
    143     "structures": [23750],
    144   },
    145   "cloud_print/gcp20/prototype/gcp20_device.grd": {
    146     "messages": [23800],
    147     "includes": [23830],
    148     "structures": [23860],
    149   },
    150   "chrome/browser/resources/quota_internals_resources.grd": {
    151     "includes": [24000],
    152   },
    153   "content/content_resources.grd": {
    154     "includes": [25000],
    155   },
    156   "content/shell/shell_resources.grd": {
    157     "includes": [25500],
    158   },
    159   # This file is generated during the build.
    160   "<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.grd": {
    161     "includes": [25750],
    162   },
    163   "ash/ash_strings.grd": {
    164     "messages": [26000],
    165   },
    166   "ui/chromeos/resources/ui_chromeos_resources.grd": {
    167     "structures": [26200],
    168   },
    169   "ui/chromeos/ui_chromeos_strings.grd": {
    170     "messages": [26300],
    171   },
    172   "chrome/common/extensions_api_resources.grd": {
    173     "includes": [26400],
    174   },
    175   "extensions/extensions_resources.grd": {
    176     "includes": [26600],
    177   },
    178   "extensions/browser/resources/extensions_browser_resources.grd": {
    179     "structures": [26800],
    180   },
    181   "extensions/renderer/resources/extensions_renderer_resources.grd": {
    182     "includes": [26850],
    183     "structures": [26950],
    184   },
    185   "extensions/extensions_strings.grd": {
    186     "messages": [27000],
    187   },
    188   "chrome/browser/resources/memory_internals_resources.grd": {
    189     "includes": [27500],
    190   },
    191   "chrome/browser/resources/password_manager_internals_resources.grd": {
    192     "includes": [27800],
    193   },
    194   "device/bluetooth/bluetooth_strings.grd": {
    195     "messages": [28000],
    196   },
    197   "ui/keyboard/keyboard_resources.grd": {
    198     "includes": [28050],
    199   },
    200   "ui/file_manager/file_manager_resources.grd": {
    201     "includes": [28100],
    202   },
    203   "ui/login/login_resources.grd": {
    204     "includes": [28300],
    205   },
    206   "chrome/browser/resources/translate_internals_resources.grd": {
    207     "includes": [28500],
    208   },
    209   "chrome/browser/resources/sync_file_system_internals_resources.grd": {
    210     "includes": [29000],
    211   },
    212   "chrome/app/address_input_strings.grd": {
    213     "messages": [29100],
    214   },
    215   "components/components_strings.grd": {
    216     "messages": [30000],
    217   },
    218   "components/resources/components_resources.grd": {
    219     "includes": [30250],
    220   },
    221   "components/resources/components_scaled_resources.grd": {
    222     "structures": [30350],
    223   },
    224   "third_party/WebKit/public/blink_resources.grd": {
    225     "includes": [30500],
    226   },
    227 
    228   # These files don't need to reserve resource ids, but are listed here so that
    229   # translation scripts know of their existence.
    230   "android_webview/java/strings/android_webview_strings.grd": {},
    231   "chrome/android/java/strings/android_chrome_strings.grd": {},
    232   "content/public/android/java/strings/android_content_strings.grd": {},
    233   "ui/android/java/strings/android_ui_strings.grd": {},
    234 
    235   # Resource ids starting at 31000 are reserved for projects built on Chromium.
    236 }
    237