| # 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/ WebUI |
| # - chrome/ miscellaneous |
| # - chromeos/ |
| # - components/ |
| # - ios/ (overlaps with chrome/) |
| # - content/ |
| # - ios/web/ (overlaps with content/) |
| # - everything else |
| # |
| # The range of ID values, which is used by pak files, is from 0 to 2^16 - 1. |
| # |
| # IMPORTANT: Update instructions: |
| # * If adding items, manually assign draft start IDs so that numerical order is |
| # preserved. Usually it suffices to +1 from previous tag. |
| # * If updating items with repeated, be sure to add / update |
| # "META": {"join": <duplicate count>}, |
| # for the item following duplicates. Be sure to look for duplicates that |
| # may appear earlier than those that immediately precede the item. |
| # * To update IDs, run the following (from src/): |
| # |
| # python tools/grit/grit.py update_resource_ids \ |
| # -o tools/gritsettings/resource_ids tools/gritsettings/resource_ids |
| { |
| # 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": { |
| # Big alignment since strings (previous item) are frequently added. |
| "META": {"join": 2, "align": 200}, |
| "messages": [800], |
| }, |
| |
| "chrome/app/resources/locale_settings.grd": { |
| # Big alignment since strings (previous item) are frequently added. |
| "META": {"align": 1000}, |
| "messages": [9000], |
| }, |
| |
| # 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": { |
| # Big alignment since strings (previous item) are frequently added. |
| "META": {"align": 100}, |
| "messages": [9100], |
| }, |
| "chrome/app/resources/locale_settings_google_chromeos.grd": { |
| "messages": [9100], |
| }, |
| "chrome/app/resources/locale_settings_linux.grd": { |
| "messages": [9100], |
| }, |
| "chrome/app/resources/locale_settings_mac.grd": { |
| "messages": [9100], |
| }, |
| "chrome/app/resources/locale_settings_win.grd": { |
| "messages": [9100], |
| }, |
| |
| "chrome/app/theme/chrome_unscaled_resources.grd": { |
| "META": {"join": 5}, |
| "includes": [9150], |
| }, |
| |
| # Leave space for theme_resources since it has many structures. |
| "chrome/app/theme/theme_resources.grd": { |
| "structures": [9230], |
| }, |
| # END chrome/app section. |
| |
| # START chrome/browser section. |
| "chrome/browser/browser_resources.grd": { |
| # Big alignment at start of section. |
| "META": {"align": 100}, |
| "includes": [9500], |
| "structures": [9910], |
| }, |
| "chrome/browser/resources/bookmarks/bookmarks_resources.grd": { |
| "includes": [9940], |
| "structures": [9960], |
| }, |
| "chrome/browser/resources/bookmarks/bookmarks_resources_vulcanized.grd": { |
| "includes": [9980], |
| }, |
| "chrome/browser/resources/chromeos/camera/camera_resources.grd": { |
| "includes": [9990], |
| "structures": [10060], |
| }, |
| "chrome/browser/resources/chromeos/camera/src/strings/camera_strings.grd": { |
| "messages": [10120], |
| }, |
| "chrome/browser/resources/chromeos/cellular_setup/cellular_setup_resources.grd": { |
| "structures": [10210], |
| }, |
| "chrome/browser/resources/chromeos/multidevice_setup/multidevice_setup_resources.grd": { |
| "structures": [10220], |
| }, |
| "chrome/browser/resources/component_extension_resources.grd": { |
| "includes": [10230], |
| "structures": [10370], |
| }, |
| "chrome/browser/resources/downloads/downloads_resources_vulcanized.grd": { |
| "includes": [10380], |
| }, |
| "chrome/browser/resources/downloads/downloads_resources.grd": { |
| "includes": [10390], |
| "structures": [10400], |
| }, |
| "chrome/browser/resources/extensions/extensions_resources_vulcanized.grd": { |
| "includes": [10410], |
| }, |
| "chrome/browser/resources/extensions/extensions_resources.grd": { |
| "includes": [10420], |
| "structures": [10460], |
| }, |
| "chrome/browser/resources/history/history_resources_vulcanized.grd": { |
| "includes": [10480], |
| }, |
| "chrome/browser/resources/history/history_resources.grd": { |
| "includes": [10500], |
| }, |
| "chrome/browser/resources/local_ntp/local_ntp_resources.grd": { |
| "includes": [10540], |
| }, |
| "chrome/browser/resources/new_tab_page/new_tab_page_resources.grd": { |
| "includes": [10580], |
| "structures": [10590], |
| }, |
| "chrome/browser/resources/print_preview/print_preview_resources_vulcanized.grd": { |
| "includes": [10600], |
| }, |
| "chrome/browser/resources/print_preview/print_preview_resources.grd": { |
| "includes": [10610], |
| "structures": [10660], |
| }, |
| "chrome/browser/resources/settings/os_settings_resources_vulcanized.grd": { |
| "includes": [10700], |
| }, |
| "chrome/browser/resources/settings/os_settings_resources.grd": { |
| "structures": [10710], |
| }, |
| "chrome/browser/resources/settings/settings_resources_vulcanized.grd": { |
| "includes": [11250], |
| }, |
| "chrome/browser/resources/settings/settings_resources.grd": { |
| "structures": [11260], |
| }, |
| "chrome/browser/resources/tab_strip/tab_strip_resources.grd": { |
| "structures": [11850], |
| "includes": [11870], |
| }, |
| "chrome/browser/resources/welcome/welcome_resources.grd": { |
| "includes": [11890], |
| "structures": [11920], |
| }, |
| "chrome/browser/vr/testapp/vr_testapp_resources.grd": { |
| "includes": [11940], |
| }, |
| # END chrome/browser section. |
| |
| # START chrome/ WebUI resources section |
| "chrome/browser/media/kaleidoscope/internal/kaleidoscope_resources.grd": { |
| # Big alignment at start of section. |
| "META": {"align": 100}, |
| "includes": [12000], |
| }, |
| "chrome/browser/resources/bluetooth_internals/resources.grd": { |
| "includes": [12010], |
| }, |
| "chrome/browser/resources/invalidations_resources.grd": { |
| "includes": [12050], |
| }, |
| "chrome/browser/resources/media/webrtc_logs_resources.grd": { |
| "includes": [12060], |
| }, |
| "chrome/browser/resources/net_internals/net_internals_resources.grd": { |
| "includes": [12070], |
| }, |
| "chrome/browser/resources/omnibox/resources.grd": { |
| "includes": [12080], |
| }, |
| "chrome/browser/resources/quota_internals/quota_internals_resources.grd": { |
| "includes": [12100], |
| }, |
| "chrome/browser/resources/sync_file_system_internals/sync_file_system_internals_resources.grd": { |
| "includes": [12110], |
| }, |
| "chrome/browser/resources/usb_internals/resources.grd": { |
| "includes": [12120], |
| }, |
| "chrome/browser/resources/webapks/webapks_ui_resources.grd": { |
| "includes": [12130], |
| }, |
| "components/sync/driver/resources.grd": { |
| "includes": [12140], |
| }, |
| "content/browser/resources/media/media_internals_resources.grd": { |
| "includes": [12160], |
| }, |
| "content/browser/webrtc/resources/resources.grd": { |
| "includes": [12170], |
| }, |
| # END chrome/ WebUI resources section |
| |
| # START chrome/ miscellaneous section. |
| "chrome/android/features/test_dummy/internal/resources/resources.grd": { |
| # Big alignment at start of section. |
| "META": {"align": 100}, |
| "includes": [12200], |
| }, |
| "chrome/common/common_resources.grd": { |
| "includes": [12210], |
| }, |
| "chrome/credential_provider/gaiacp/gaia_resources.grd": { |
| "includes": [12220], |
| "messages": [12230], |
| }, |
| "chrome/renderer/resources/renderer_resources.grd": { |
| "includes": [12270], |
| "structures": [12350], |
| }, |
| "chrome/test/data/webui_test_resources.grd": { |
| "includes": [12360], |
| }, |
| # END chrome/ miscellaneous section. |
| |
| # START chromeos/ section. |
| "chromeos/chromeos_strings.grd": { |
| # Big alignment at start of section. |
| "META": {"align": 100}, |
| "messages": [12400], |
| }, |
| "chromeos/components/help_app_ui/resources/help_app_resources.grd": { |
| "includes": [12450], |
| }, |
| "chromeos/components/media_app_ui/resources/media_app_resources.grd": { |
| "includes": [12460], |
| }, |
| # Both media_app_bundle_resources.grd and media_app_bundle_mock_resources.grd |
| # start with the same id because only one of them is built depending on if |
| # src_internal is available. Lower bound for number of resource ids is number |
| # of languages (74). |
| "chromeos/components/media_app_ui/resources/app/app/media_app_bundle_resources.grd": { |
| "META": {"sizes": {"includes": [100],}}, # Relies on src-internal. |
| "includes": [12470], |
| }, |
| "chromeos/components/media_app_ui/resources/mock/media_app_bundle_mock_resources.grd": { |
| "includes": [12470], |
| }, |
| "chromeos/resources/chromeos_resources.grd": { |
| "META": {"join": 2}, |
| "includes": [12590], |
| }, |
| # END chromeos/ section. |
| |
| # START components/ section. |
| # 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": { |
| # Big alignment at start of section. |
| "META": {"align": 100}, |
| "messages": [12700], |
| }, |
| "components/components_google_chrome_strings.grd": { |
| "messages": [12700], |
| }, |
| |
| "components/components_locale_settings.grd": { |
| "META": {"join": 2}, |
| "includes": [12720], |
| "messages": [12730], |
| }, |
| "components/components_strings.grd": { |
| "messages": [12740], |
| }, |
| "components/omnibox/resources/omnibox_resources.grd": { |
| "includes": [14670], |
| }, |
| "components/policy/resources/policy_templates.grd": { |
| "structures": [14680], |
| }, |
| "components/resources/components_resources.grd": { |
| "includes": [14690], |
| }, |
| "components/resources/components_scaled_resources.grd": { |
| "structures": [14770], |
| }, |
| "components/embedder_support/android/java/strings/web_contents_delegate_android_strings.grd": { |
| "messages": [14810], |
| }, |
| "components/autofill/core/browser/autofill_address_rewriter_resources.grd":{ |
| "includes": [14830] |
| }, |
| # END components/ 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": [420], |
| }, |
| |
| # 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": { |
| # Big alignment to make start IDs look nicer. |
| "META": {"align": 100}, |
| "messages": [500], |
| }, |
| "ios/chrome/app/strings/ios_google_chrome_strings.grd": { |
| "messages": [500], |
| }, |
| |
| "ios/chrome/app/strings/ios_strings.grd": { |
| # Big alignment since strings (previous item) are frequently added. |
| "META": {"join": 2, "align": 200}, |
| "messages": [600], |
| }, |
| "ios/chrome/app/theme/ios_theme_resources.grd": { |
| # Big alignment since strings (previous item) are frequently added. |
| "META": {"align": 100}, |
| "structures": [1400], |
| }, |
| "ios/chrome/share_extension/strings/ios_share_extension_strings.grd": { |
| "messages": [1440], |
| }, |
| "ios/chrome/search_widget_extension/strings/ios_search_widget_extension_strings.grd": { |
| "messages": [1450], |
| }, |
| "ios/chrome/search_widget_extension/strings/ios_search_widget_extension_chromium_strings.grd": { |
| "messages": [1470], |
| }, |
| "ios/chrome/search_widget_extension/strings/ios_search_widget_extension_google_chrome_strings.grd": { |
| "messages": [1470], |
| }, |
| "ios/chrome/content_widget_extension/strings/ios_content_widget_extension_chromium_strings.grd": { |
| "META": {"join": 2}, |
| "messages": [1480], |
| }, |
| "ios/chrome/content_widget_extension/strings/ios_content_widget_extension_google_chrome_strings.grd": { |
| "messages": [1480], |
| }, |
| |
| # END ios/ 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": { |
| # Big alignment at start of section. |
| "META": {"join": 3, "align": 100}, |
| "structures": [14900], |
| }, |
| "content/content_resources.grd": { |
| "includes": [14930], |
| }, |
| "content/shell/shell_resources.grd": { |
| "includes": [14970], |
| }, |
| |
| # This file is generated during the build. |
| "<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.grd": { |
| "META": {"sizes": {"includes": [20],}}, |
| "includes": [14980], |
| }, |
| # END content/ section. |
| |
| # START ios/web/ 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. |
| "ios/web/ios_web_resources.grd": { |
| # Big alignment at start of section. |
| "META": {"align": 100}, |
| "includes": [14900], |
| }, |
| "ios/web/test/test_resources.grd": { |
| "includes": [14910], |
| }, |
| # END ios/web/ section. |
| |
| # START "everything else" section. |
| # Everything but chrome/, chromeos/, components/, content/, and ios/ |
| "android_webview/ui/aw_resources.grd": { |
| # Big alignment at start of section. |
| "META": {"join": 2, "align": 100}, |
| "includes": [15100], |
| }, |
| "android_webview/ui/aw_strings.grd": { |
| "messages": [15110], |
| }, |
| |
| "ash/app_list/resources/app_list_resources.grd": { |
| "structures": [15120], |
| }, |
| "ash/ash_strings.grd": { |
| "messages": [15130], |
| }, |
| "ash/components/ash_components_strings.grd": { |
| "messages": [15870], |
| }, |
| "ash/keyboard/ui/keyboard_resources.grd": { |
| "includes": [16120], |
| }, |
| "ash/login/resources/login_resources.grd": { |
| "structures": [16200], |
| }, |
| "ash/public/cpp/resources/ash_public_unscaled_resources.grd": { |
| "includes": [16210], |
| }, |
| "chromecast/renderer/resources/extensions_renderer_resources.grd": { |
| "includes": [16220], |
| }, |
| |
| "cloud_print/virtual_driver/win/install/virtual_driver_setup_resources.grd": { |
| "includes": [16230], |
| "messages": [16240], |
| }, |
| |
| "device/bluetooth/bluetooth_strings.grd": { |
| "messages": [16250], |
| }, |
| |
| "device/fido/fido_strings.grd": { |
| "messages": [16270], |
| }, |
| |
| "extensions/browser/resources/extensions_browser_resources.grd": { |
| "structures": [16280], |
| }, |
| "extensions/extensions_resources.grd": { |
| "includes": [16290], |
| }, |
| "extensions/renderer/resources/extensions_renderer_resources.grd": { |
| "includes": [16300], |
| "structures": [16370], |
| }, |
| "extensions/shell/app_shell_resources.grd": { |
| "includes": [16380], |
| }, |
| "extensions/strings/extensions_strings.grd": { |
| "messages": [16390], |
| }, |
| |
| "headless/lib/resources/headless_lib_resources.grd": { |
| "includes": [16470], |
| }, |
| |
| "mojo/public/js/mojo_bindings_resources.grd": { |
| "includes": [16480], |
| }, |
| |
| "net/base/net_resources.grd": { |
| "includes": [16500], |
| }, |
| |
| "remoting/resources/remoting_strings.grd": { |
| "messages": [16510], |
| }, |
| |
| "services/services_strings.grd": { |
| "messages": [16890], |
| }, |
| |
| "third_party/blink/public/blink_image_resources.grd": { |
| "structures": [16900], |
| }, |
| "third_party/blink/public/blink_resources.grd": { |
| "includes": [16910], |
| }, |
| "third_party/blink/renderer/modules/media_controls/resources/media_controls_resources.grd": { |
| "includes": [16990], |
| "structures": [17000], |
| }, |
| "third_party/blink/public/strings/blink_strings.grd": { |
| "messages": [17010], |
| }, |
| "third_party/ink/ink_resources.grd": { |
| "includes": [17320], |
| }, |
| "third_party/libaddressinput/chromium/address_input_strings.grd": { |
| "messages": [17330], |
| }, |
| |
| "ui/base/test/ui_base_test_resources.grd": { |
| "messages": [17380], |
| }, |
| "ui/chromeos/resources/ui_chromeos_resources.grd": { |
| "structures": [17390], |
| }, |
| "ui/chromeos/ui_chromeos_strings.grd": { |
| "messages": [17490], |
| }, |
| "ui/file_manager/file_manager_resources.grd": { |
| "includes": [18410], |
| }, |
| "ui/resources/ui_resources.grd": { |
| "structures": [18630], |
| }, |
| "ui/resources/ui_unscaled_resources.grd": { |
| "includes": [18770], |
| }, |
| "ui/strings/app_locale_settings.grd": { |
| "messages": [18800], |
| }, |
| "ui/strings/ui_strings.grd": { |
| "messages": [18810], |
| }, |
| "ui/views/resources/views_resources.grd": { |
| "structures": [19110], |
| }, |
| "ui/webui/resources/webui_resources.grd": { |
| "includes": [19170], |
| "structures": [19330], |
| }, |
| "weblayer/weblayer_resources.grd": { |
| "includes": [19950], |
| }, |
| |
| # This file is generated during the build. |
| "<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd": { |
| "META": {"sizes": {"includes": [500],}}, |
| "includes": [19960], |
| }, |
| |
| # 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. |
| } |