# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# This file is used to assign starting resource ids for resources and strings
# used by Chromium.  This is done to ensure that resource ids are unique
# across all the grd files.  If you are adding a new grd file, please add
# a new entry to this file.
#
# The entries below are organized into sections. When adding new entries,
# please use the right section. Try to keep entries in alphabetical order.
#
# - chrome/app/
# - chrome/browser/
# - chrome/ miscellaneous
# - components/
# - content/
# - ios/ (overlaps with chrome/ and content/)
# - everything else
#
# The range of ID values, which is used by pak files, is from 0 to 2^16 - 1.
{
  # The first entry in the file, SRCDIR, is special: It is a relative path from
  # this file to the base of your checkout.
  "SRCDIR": "../..",

  # START chrome/app section.
  # Previous versions of this file started with resource id 400, so stick with
  # that.
  #
  # chrome/ and ios/chrome/ must start at the same id.
  # App only use one file depending on whether it is iOS or other platform.
  # Chromium strings and Google Chrome strings must start at the same id.
  # We only use one file depending on whether we're building Chromium or
  # Google Chrome.
  "chrome/app/chromium_strings.grd": {
    "messages": [400],
  },
  "chrome/app/google_chrome_strings.grd": {
    "messages": [400],
  },

  # Leave lots of space for generated_resources since it has most of our
  # strings.
  "chrome/app/generated_resources.grd": {
    "messages": [800],
  },

  "chrome/app/resources/locale_settings.grd": {
    "messages": [10000],
  },

  # These each start with the same resource id because we only use one
  # file for each build (chromiumos, google_chromeos, linux, mac, or win).
  "chrome/app/resources/locale_settings_chromiumos.grd": {
    "messages": [10100],
  },
  "chrome/app/resources/locale_settings_google_chromeos.grd": {
    "messages": [10100],
  },
  "chrome/app/resources/locale_settings_linux.grd": {
    "messages": [10100],
  },
  "chrome/app/resources/locale_settings_mac.grd": {
    "messages": [10100],
  },
  "chrome/app/resources/locale_settings_win.grd": {
    "messages": [10100],
  },

  "chrome/app/theme/chrome_unscaled_resources.grd": {
    "includes": [10150],
  },

  # Leave space for theme_resources since it has many structures.
  "chrome/app/theme/theme_resources.grd": {
    "structures": [10250],
  },
  # END chrome/app section.

  # START chrome/browser section.
  "chrome/browser/browser_resources.grd": {
    "includes": [11000],
    "structures": [11850],
  },
  "chrome/browser/resources/chromeos/camera/camera_resources.grd": {
    "includes": [11930],
    "structures": [11990],
  },
  "chrome/browser/resources/chromeos/camera/strings/camera_strings.grd": {
    "messages": [12030],
  },
  "chrome/browser/resources/chromeos/cellular_setup/cellular_setup_resources.grd": {
    "structures": [12100],
  },
  "chrome/browser/resources/chromeos/multidevice_setup/multidevice_setup_resources.grd": {
    "structures": [12110],
  },
  "chrome/browser/resources/component_extension_resources.grd": {
    "includes": [12120],
    "structures": [12260],
  },
  "chrome/browser/resources/downloads/downloads_resources_vulcanized.grd": {
    "includes": [12300],
  },
  "chrome/browser/resources/downloads/downloads_resources.grd": {
    "includes": [12310],
    "structures": [12320],
  },
  "chrome/browser/resources/extensions/extensions_resources_vulcanized.grd": {
    "includes": [12400],
  },
  "chrome/browser/resources/extensions/extensions_resources.grd": {
    "structures": [12410],
  },
  "chrome/browser/resources/invalidations_resources.grd": {
    "includes": [12500],
  },
  "chrome/browser/resources/local_ntp/local_ntp_resources.grd": {
    "includes": [12540],
  },
  "chrome/browser/resources/net_internals/net_internals_resources.grd": {
    "includes": [12600],
  },
  "chrome/browser/resources/print_preview/print_preview_resources_vulcanized.grd": {
    "includes": [12610],
  },
  "chrome/browser/resources/print_preview/print_preview_resources.grd": {
    "structures": [12620],
  },
  "chrome/browser/resources/quota_internals/quota_internals_resources.grd": {
    "includes": [12810],
  },
  "chrome/browser/resources/settings/os_settings_resources_vulcanized.grd": {
    "includes": [12830],
  },
  "chrome/browser/resources/settings/os_settings_resources.grd": {
    "structures": [12840],
  },
  "chrome/browser/resources/settings/settings_resources_vulcanized.grd": {
    "includes": [13340],
  },
  "chrome/browser/resources/settings/settings_resources.grd": {
    "structures": [13350],
  },
  "chrome/browser/resources/sync_file_system_internals/sync_file_system_internals_resources.grd": {
    "includes": [13850],
  },
  "chrome/browser/resources/translate_internals/translate_internals_resources.grd": {
    "includes": [13880],
  },
  "chrome/browser/resources/webapks/webapks_ui_resources.grd": {
    "includes": [13890],
  },
  "chrome/browser/resources/welcome/onboarding_welcome_resources.grd": {
    "includes": [13900],
    "structures": [13950],
  },
  "chrome/browser/vr/testapp/vr_testapp_resources.grd": {
    "includes": [13990],
  },
  # END chrome/browser section.

  # START chrome/ miscellaneous section.
  "chrome/common/common_resources.grd": {
    "includes": [14160],
  },
  "chrome/credential_provider/gaiacp/gaia_resources.grd": {
    "includes": [14180],
    "messages": [14190],
  },
  "chrome/renderer/resources/renderer_resources.grd": {
    "includes": [14230],
    "structures": [14340],
  },
  "chrome/test/data/webui_test_resources.grd": {
    "includes": [14380],
  },
  # END chrome/ miscellaneous section.

  # START chromeos/ section.
  "chromeos/chromeos_strings.grd": {
    "messages": [14510],
  },
  "chromeos/resources/chromeos_resources.grd": {
    "includes": [14560],
  },
  # END chromeos/ section.

  # START components/ section.
  "components/chrome_apps/chrome_apps_resources.grd": {
    "includes": [15020],
  },

  # Chromium strings and Google Chrome strings must start at the same id.
  # We only use one file depending on whether we're building Chromium or
  # Google Chrome.
  "components/components_chromium_strings.grd": {
    "messages": [15040],
  },
  "components/components_google_chrome_strings.grd": {
    "messages": [15040],
  },

  "components/components_locale_settings.grd": {
    "includes": [15060],
    "messages": [15070],
  },
  "components/components_strings.grd": {
    "messages": [15100],
  },
  "components/omnibox/resources/omnibox_resources.grd": {
    "includes": [17190],
  },
  "components/policy/resources/policy_templates.grd": {
    "structures": [17200],
  },
  "components/resources/components_resources.grd": {
    "includes": [17210],
  },
  "components/resources/components_scaled_resources.grd": {
    "structures": [17400],
  },
  "components/embedder_suppport/android/java/strings/web_contents_delegate_android_strings.grd": {
    "messages": [17600],
  },
  "components/autofill/core/browser/autofill_address_rewriter_resources.grd":{
    "includes": [18000]
  },
  # END components/ section.

  # START content/ section.
  # content/ and ios/web/ must start at the same id.
  # App only use one file depending on whether it is iOS or other platform.
  "content/app/resources/content_resources.grd": {
    "structures": [20000],
  },
  "content/app/strings/content_strings.grd": {
    "messages": [20100],
  },
  "content/content_resources.grd": {
    "includes": [20400],
  },
  "content/shell/shell_resources.grd": {
    "includes": [20500],
  },

  # This file is generated during the build.
  "<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.grd": {
    "includes": [20550],
  },
  # END content/ section.

  # START ios/ section.
  #
  # chrome/ and ios/chrome/ must start at the same id.
  # App only use one file depending on whether it is iOS or other platform.
  "ios/chrome/app/resources/ios_resources.grd": {
    "includes": [400],
    "structures": [1000],
  },

  # Chromium strings and Google Chrome strings must start at the same id.
  # We only use one file depending on whether we're building Chromium or
  # Google Chrome.
  "ios/chrome/app/strings/ios_chromium_strings.grd": {
    "messages": [1500],
  },
  "ios/chrome/app/strings/ios_google_chrome_strings.grd": {
    "messages": [1500],
  },

  "ios/chrome/app/strings/ios_strings.grd": {
    "messages": [2000],
  },
  "ios/chrome/app/theme/ios_theme_resources.grd": {
    "structures": [2500],
  },
  "ios/chrome/share_extension/strings/ios_share_extension_strings.grd": {
    "messages": [3000],
  },
  "ios/chrome/search_widget_extension/strings/ios_search_widget_extension_strings.grd": {
    "messages": [3050],
  },
  "ios/chrome/search_widget_extension/strings/ios_search_widget_extension_chromium_strings.grd": {
    "messages": [3070],
  },
  "ios/chrome/search_widget_extension/strings/ios_search_widget_extension_google_chrome_strings.grd": {
    "messages": [3070],
  },
  "ios/chrome/content_widget_extension/strings/ios_content_widget_extension_chromium_strings.grd": {
    "messages": [3080],
  },
  "ios/chrome/content_widget_extension/strings/ios_content_widget_extension_google_chrome_strings.grd": {
    "messages": [3080],
  },

  # content/ and ios/web/ must start at the same id.
  # App only use one file depending on whether it is iOS or other platform.
  "ios/web/ios_web_resources.grd": {
    "includes": [20000],
  },
  "ios/web/shell/shell_resources.grd": {
    "includes": [21500],
  },
  "ios/web/test/test_resources.grd": {
    "includes": [22000],
  },
  # END ios/ section.

  # START "everything else" section.
  # Everything but chrome/, components/, content/, and ios/
  "android_webview/ui/aw_resources.grd": {
    "includes": [23500],
  },
  "android_webview/ui/aw_strings.grd": {
    "messages": [23510],
  },

  "ash/app_list/resources/app_list_resources.grd": {
    "structures": [23520],
  },
  "ash/ash_strings.grd": {
    "messages": [23525],
  },
  "ash/components/ash_components_strings.grd": {
    "messages": [24130],
  },
  "ash/components/resources/ash_components_resources.grd": {
    "structures": [24350],
  },
  "ash/keyboard/ui/keyboard_resources.grd": {
    "includes": [26800],
  },
  "ash/login/resources/login_resources.grd": {
    "structures": [24360],
  },
  "ash/public/cpp/resources/ash_public_unscaled_resources.grd": {
    "includes": [24370],
  },
  "ash/shell/ash_shell_resources.grd": {
    "includes": [24380],
  },

  "chromecast/browser/cast_browser_resources.grd": {
    "includes": [24400],
  },
  "chromecast/renderer/resources/extensions_renderer_resources.grd": {
    "includes": [24410],
  },

  "cloud_print/virtual_driver/win/install/virtual_driver_setup_resources.grd": {
    "includes": [24450],
    "messages": [24460],
  },

  "device/bluetooth/bluetooth_strings.grd": {
    "messages": [24500],
  },

  "device/fido/fido_strings.grd": {
    "messages": [24540],
  },

  "extensions/browser/resources/extensions_browser_resources.grd": {
    "structures": [24550],
  },
  "extensions/extensions_resources.grd": {
    "includes": [24560],
  },
  "extensions/renderer/resources/extensions_renderer_resources.grd": {
    "includes": [24570],
    "structures": [24700],
  },
  "extensions/shell/app_shell_resources.grd": {
    "includes": [24710],
  },
  "extensions/strings/extensions_strings.grd": {
    "messages": [24720],
  },

  "headless/lib/resources/headless_lib_resources.grd": {
    "includes": [24800],
  },

  "mojo/public/js/mojo_bindings_resources.grd": {
    "includes": [24850],
  },

  "net/base/net_resources.grd": {
    "includes": [24890],
  },

  "remoting/resources/remoting_strings.grd": {
    "messages": [24900],
  },

  "services/services_strings.grd": {
    "messages": [25300],
  },

  "third_party/blink/public/blink_image_resources.grd": {
    "structures": [25400],
  },
  "third_party/blink/public/blink_resources.grd": {
    "includes": [25500],
  },
  "third_party/blink/renderer/modules/media_controls/touchless/resources/media_controls_touchless_resources.grd": {
    "structures": [25590],
  },
  "third_party/blink/renderer/modules/media_controls/resources/media_controls_resources.grd": {
    "includes": [25600],
    "structures": [25700],
  },
  "third_party/ink/ink_resources.grd": {
    "includes": [25900],
  },
  "third_party/libaddressinput/chromium/address_input_strings.grd": {
    "messages": [25910],
  },

  "ui/base/test/ui_base_test_resources.grd": {
    "messages": [26000],
  },
  "ui/chromeos/resources/ui_chromeos_resources.grd": {
    "structures": [26010],
  },
  "ui/chromeos/ui_chromeos_strings.grd": {
    "messages": [26100],
  },
  "ui/file_manager/file_manager_resources.grd": {
    "includes": [26550],
  },
  "ui/login/login_resources.grd": {
    "includes": [26900],
  },
  "ui/resources/ui_resources.grd": {
    "structures": [27000],
  },
  "ui/resources/ui_unscaled_resources.grd": {
    "includes": [27250],
  },
  "ui/strings/app_locale_settings.grd": {
    "messages": [27300],
  },
  "ui/strings/ui_strings.grd": {
    "messages": [27350],
  },
  "ui/views/resources/views_resources.grd": {
    "structures": [27600],
  },
  "ui/webui/resources/webui_resources.grd": {
    "includes": [27880],
    "structures": [28080],
  },

  # This file is generated during the build.
  "<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd": {
    "includes": [28880],
  },

  "qtwebengine/browser/qt_webengine_resources.grd": {
    "includes": [30210],
  },

  # END "everything else" section.
  # Everything but chrome/, components/, content/, and ios/

  # Thinking about appending to the end?
  # Please read the header and find the right section above instead.

  # Resource ids starting at 31000 are reserved for projects built on Chromium.
}
