Commit 613390d9 authored by dpapad's avatar dpapad Committed by Commit Bot

WebUI: Auto-generate cr_components/ resources grdp files.

 - Move preprocess_grit() for cr_components/ under
   cr_components/BUILD.gn
 - Add new generate_grd() target in cr_components/
 - Remove now obsolete alias in shared_resources_data_source.cc.

Note: cr_components/cr_components_images.grdp will be addressed in
a follow up CL.

Bug: 1132403
Change-Id: Id41f9c08e498d1a014854b1ebc6ee20d6cf7b916
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2495082
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Auto-Submit: dpapad <dpapad@chromium.org>
Reviewed-by: default avatarRebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#821370}
parent c17d3b20
......@@ -62,7 +62,6 @@ const std::map<std::string, std::string> CreatePathPrefixAliasesMap() {
std::map<std::string, std::string> aliases = {
{"../../views/resources/default_100_percent/common/", "images/apps/"},
{"../../views/resources/default_200_percent/common/", "images/2x/apps/"},
{"../../webui/resources/cr_components/", "cr_components/"},
{"@out_folder@/gen/ui/webui/resources/", ""},
#if defined(OS_ANDROID)
// This is a temporary fix for `target_cpu = "arm64"`. See the bug for
......
......@@ -646,7 +646,7 @@
"structures": [3820],
},
"<(SHARED_INTERMEDIATE_DIR)/ui/webui/resources/webui_generated_resources.grd": {
"META": {"sizes": {"includes": [300]}},
"META": {"sizes": {"includes": [500]}},
"includes": [3830],
},
"weblayer/weblayer_resources.grd": {
......
......@@ -18,6 +18,7 @@ if (include_polymer) {
grd_prefix = "webui_generated"
out_grd = "$target_gen_dir/${grd_prefix}_resources.grd"
deps = [
"cr_components:build_grdp",
"cr_elements:build_grdp",
"//third_party/polymer/v1_0:build_grdp",
"//third_party/polymer/v3_0:build_grdp",
......@@ -26,6 +27,7 @@ if (include_polymer) {
"$root_gen_dir/third_party/polymer/v1_0/polymer_1_0_resources.grdp",
"$root_gen_dir/third_party/polymer/v3_0/polymer_3_0_resources.grdp",
"$root_gen_dir/ui/webui/resources/cr_elements/cr_elements_resources.grdp",
"$root_gen_dir/ui/webui/resources/cr_components/cr_components_resources.grdp",
]
if (is_chromeos) {
......@@ -52,15 +54,6 @@ preprocess_grit("preprocess_src") {
"js/cr.m.js",
"js/plural_string_proxy.js",
]
if (include_polymer) {
in_files += [
"cr_components/certificate_manager/certificates_browser_proxy.js",
"cr_components/certificate_manager/certificate_manager_types.js",
"cr_components/certificate_manager/certificate_provisioning_browser_proxy.js",
"cr_components/customize_themes/browser_proxy.js",
]
}
}
preprocess_grit("preprocess_generated") {
......@@ -87,24 +80,6 @@ preprocess_grit("preprocess_generated") {
if (include_polymer) {
in_files += [
"cr_components/certificate_manager/ca_trust_edit_dialog.js",
"cr_components/certificate_manager/certificate_delete_confirmation_dialog.js",
"cr_components/certificate_manager/certificate_entry.js",
"cr_components/certificate_manager/certificate_list.js",
"cr_components/certificate_manager/certificate_manager.js",
"cr_components/certificate_manager/certificate_password_decryption_dialog.js",
"cr_components/certificate_manager/certificate_password_encryption_dialog.js",
"cr_components/certificate_manager/certificate_provisioning_details_dialog.js",
"cr_components/certificate_manager/certificate_provisioning_entry.js",
"cr_components/certificate_manager/certificate_provisioning_list.js",
"cr_components/certificate_manager/certificates_error_dialog.js",
"cr_components/certificate_manager/certificate_shared_css.js",
"cr_components/certificate_manager/certificate_subentry.js",
"cr_components/customize_themes/customize_themes.js",
"cr_components/customize_themes/customize_themes.mojom-lite.js",
"cr_components/customize_themes/theme_icon.js",
"cr_components/managed_footnote/managed_footnote.m.js",
"cr_components/omnibox/cr_autocomplete_match_list.js",
"js/i18n_behavior.m.js",
"js/list_property_update_behavior.m.js",
"js/search_highlight_utils.m.js",
......@@ -113,61 +88,6 @@ preprocess_grit("preprocess_generated") {
"js/cr/ui/focus_without_ink.m.js",
]
}
if (is_chromeos) {
in_files += [
"cr_components/chromeos/bluetooth/bluetooth_dialog.m.js",
"cr_components/chromeos/cellular_setup/base_page.m.js",
"cr_components/chromeos/cellular_setup/button_bar.m.js",
"cr_components/chromeos/cellular_setup/cellular_setup_delegate.m.js",
"cr_components/chromeos/cellular_setup/cellular_setup.m.js",
"cr_components/chromeos/cellular_setup/cellular_types.m.js",
"cr_components/chromeos/cellular_setup/esim_flow_ui.m.js",
"cr_components/chromeos/cellular_setup/final_page.m.js",
"cr_components/chromeos/cellular_setup/mojo_interface_provider.m.js",
"cr_components/chromeos/cellular_setup/provisioning_page.m.js",
"cr_components/chromeos/cellular_setup/psim_flow_ui.m.js",
"cr_components/chromeos/cellular_setup/setup_selection_flow.m.js",
"cr_components/chromeos/cellular_setup/sim_detect_page.m.js",
"cr_components/chromeos/cellular_setup/subflow_behavior.m.js",
"cr_components/chromeos/cellular_setup/webview_post_util.m.js",
"cr_components/chromeos/network/cr_policy_network_behavior_mojo.m.js",
"cr_components/chromeos/network/cr_policy_network_indicator_mojo.m.js",
"cr_components/chromeos/network_health/network_diagnostics.m.js",
"cr_components/chromeos/network_health/network_health_summary.m.js",
"cr_components/chromeos/network/mojo_interface_provider.m.js",
"cr_components/chromeos/network/network_apnlist.m.js",
"cr_components/chromeos/network/network_choose_mobile.m.js",
"cr_components/chromeos/network/network_config_element_behavior.m.js",
"cr_components/chromeos/network/network_config_input.m.js",
"cr_components/chromeos/network/network_config.m.js",
"cr_components/chromeos/network/network_config_select.m.js",
"cr_components/chromeos/network/network_config_toggle.m.js",
"cr_components/chromeos/network/network_icon.m.js",
"cr_components/chromeos/network/network_icons.m.js",
"cr_components/chromeos/network/network_ip_config.m.js",
"cr_components/chromeos/network/network_listener_behavior.m.js",
"cr_components/chromeos/network/network_list_item.m.js",
"cr_components/chromeos/network/network_list.m.js",
"cr_components/chromeos/network/network_list_types.m.js",
"cr_components/chromeos/network/network_nameservers.m.js",
"cr_components/chromeos/network/network_password_input.m.js",
"cr_components/chromeos/network/network_property_list_mojo.m.js",
"cr_components/chromeos/network/network_proxy_exclusions.m.js",
"cr_components/chromeos/network/network_proxy_input.m.js",
"cr_components/chromeos/network/network_proxy.m.js",
"cr_components/chromeos/network/network_select.m.js",
"cr_components/chromeos/network/network_shared_css.m.js",
"cr_components/chromeos/network/network_siminfo.m.js",
"cr_components/chromeos/network/onc_mojo.m.js",
"cr_components/chromeos/quick_unlock/lock_screen_constants.m.js",
"cr_components/chromeos/quick_unlock/pin_keyboard_icon.m.js",
"cr_components/chromeos/quick_unlock/pin_keyboard.m.js",
"cr_components/chromeos/quick_unlock/setup_pin_keyboard.m.js",
"cr_components/chromeos/smb_shares/add_smb_share_dialog.m.js",
"cr_components/chromeos/smb_shares/smb_browser_proxy.m.js",
]
}
}
group("closure_compile") {
......
......@@ -3,6 +3,274 @@
# found in the LICENSE file.
import("//third_party/closure_compiler/compile_js.gni")
import("//tools/grit/preprocess_grit.gni")
import("//ui/webui/resources/tools/generate_grd.gni")
import("//ui/webui/webui_features.gni")
preprocess_folder =
"$root_gen_dir/ui/webui/resources/preprocessed/cr_components"
preprocess_gen_manifest = "preprocessed_gen_manifest.json"
preprocess_polymer2_manifest = "preprocessed_polymer2_manifest.json"
preprocess_src_manifest = "preprocessed_src_manifest.json"
generate_grd("build_grdp") {
grd_prefix = "cr_components"
out_grd = "$target_gen_dir/${grd_prefix}_resources.grdp"
deps = [ ":preprocess" ]
manifest_files = [
"$target_gen_dir/$preprocess_gen_manifest",
"$target_gen_dir/$preprocess_polymer2_manifest",
"$target_gen_dir/$preprocess_src_manifest",
]
resource_path_prefix = "cr_components"
}
group("preprocess") {
public_deps = [
":preprocess_generated",
":preprocess_polymer2",
":preprocess_src",
]
}
preprocess_grit("preprocess_src") {
in_folder = "./"
out_folder = "$preprocess_folder"
out_manifest = "$target_gen_dir/$preprocess_src_manifest"
in_files = [ "customize_themes/browser_proxy.js" ]
if (use_nss_certs) {
in_files += [
"certificate_manager/certificate_manager_types.js",
"certificate_manager/certificate_provisioning_browser_proxy.js",
"certificate_manager/certificates_browser_proxy.js",
]
}
}
preprocess_grit("preprocess_generated") {
deps = [ ":polymer3_elements" ]
in_folder = target_gen_dir
out_folder = "$preprocess_folder"
out_manifest = "$target_gen_dir/$preprocess_gen_manifest"
in_files = [
"customize_themes/customize_themes.js",
"customize_themes/customize_themes.mojom-lite.js",
"customize_themes/theme_icon.js",
"managed_footnote/managed_footnote.m.js",
"omnibox/cr_autocomplete_match_list.js",
]
if (use_nss_certs) {
in_files += [
"certificate_manager/ca_trust_edit_dialog.js",
"certificate_manager/certificate_delete_confirmation_dialog.js",
"certificate_manager/certificate_entry.js",
"certificate_manager/certificate_list.js",
"certificate_manager/certificate_manager.js",
"certificate_manager/certificate_password_decryption_dialog.js",
"certificate_manager/certificate_password_encryption_dialog.js",
"certificate_manager/certificate_provisioning_details_dialog.js",
"certificate_manager/certificate_provisioning_entry.js",
"certificate_manager/certificate_provisioning_list.js",
"certificate_manager/certificates_error_dialog.js",
"certificate_manager/certificate_shared_css.js",
"certificate_manager/certificate_subentry.js",
]
}
if (is_chromeos) {
in_files += [
"chromeos/bluetooth/bluetooth_dialog.m.js",
"chromeos/cellular_setup/base_page.m.js",
"chromeos/cellular_setup/button_bar.m.js",
"chromeos/cellular_setup/cellular_setup_delegate.m.js",
"chromeos/cellular_setup/cellular_setup.m.js",
"chromeos/cellular_setup/cellular_types.m.js",
"chromeos/cellular_setup/esim_flow_ui.m.js",
"chromeos/cellular_setup/final_page.m.js",
"chromeos/cellular_setup/mojo_interface_provider.m.js",
"chromeos/cellular_setup/provisioning_page.m.js",
"chromeos/cellular_setup/psim_flow_ui.m.js",
"chromeos/cellular_setup/setup_selection_flow.m.js",
"chromeos/cellular_setup/sim_detect_page.m.js",
"chromeos/cellular_setup/subflow_behavior.m.js",
"chromeos/cellular_setup/webview_post_util.m.js",
"chromeos/network/cr_policy_network_behavior_mojo.m.js",
"chromeos/network/cr_policy_network_indicator_mojo.m.js",
"chromeos/network/mojo_interface_provider.m.js",
"chromeos/network/network_apnlist.m.js",
"chromeos/network/network_choose_mobile.m.js",
"chromeos/network/network_config_element_behavior.m.js",
"chromeos/network/network_config_input.m.js",
"chromeos/network/network_config.m.js",
"chromeos/network/network_config_select.m.js",
"chromeos/network/network_config_toggle.m.js",
"chromeos/network/network_icon.m.js",
"chromeos/network/network_icons.m.js",
"chromeos/network/network_ip_config.m.js",
"chromeos/network/network_listener_behavior.m.js",
"chromeos/network/network_list_item.m.js",
"chromeos/network/network_list.m.js",
"chromeos/network/network_list_types.m.js",
"chromeos/network/network_nameservers.m.js",
"chromeos/network/network_password_input.m.js",
"chromeos/network/network_property_list_mojo.m.js",
"chromeos/network/network_proxy_exclusions.m.js",
"chromeos/network/network_proxy_input.m.js",
"chromeos/network/network_proxy.m.js",
"chromeos/network/network_select.m.js",
"chromeos/network/network_shared_css.m.js",
"chromeos/network/network_siminfo.m.js",
"chromeos/network/onc_mojo.m.js",
"chromeos/quick_unlock/lock_screen_constants.m.js",
"chromeos/quick_unlock/pin_keyboard_icon.m.js",
"chromeos/quick_unlock/pin_keyboard.m.js",
"chromeos/quick_unlock/setup_pin_keyboard.m.js",
"chromeos/smb_shares/add_smb_share_dialog.m.js",
"chromeos/smb_shares/smb_browser_proxy.m.js",
]
}
}
preprocess_grit("preprocess_polymer2") {
in_folder = "./"
out_folder = "$preprocess_folder"
out_manifest = "$target_gen_dir/$preprocess_polymer2_manifest"
in_files = [
"managed_footnote/managed_footnote.html",
"managed_footnote/managed_footnote.js",
]
if (is_chromeos) {
if (!optimize_webui) {
in_files += [
"chromeos/bluetooth/bluetooth_dialog.html",
"chromeos/bluetooth/bluetooth_dialog.js",
"chromeos/network/network_apnlist.html",
"chromeos/network/network_apnlist.js",
"chromeos/network/network_choose_mobile.html",
"chromeos/network/network_choose_mobile.js",
"chromeos/network/network_config.html",
"chromeos/network/network_config.js",
"chromeos/network/network_config_element_behavior.html",
"chromeos/network/network_config_element_behavior.js",
"chromeos/network/network_config_input.html",
"chromeos/network/network_config_input.js",
"chromeos/network/network_config_select.html",
"chromeos/network/network_config_select.js",
"chromeos/network/network_config_toggle.html",
"chromeos/network/network_config_toggle.js",
"chromeos/network/network_ip_config.html",
"chromeos/network/network_ip_config.js",
"chromeos/network/network_nameservers.html",
"chromeos/network/network_nameservers.js",
"chromeos/network/network_password_input.html",
"chromeos/network/network_password_input.js",
"chromeos/network/network_property_list_mojo.html",
"chromeos/network/network_property_list_mojo.js",
"chromeos/network/network_proxy.html",
"chromeos/network/network_proxy.js",
"chromeos/network/network_proxy_exclusions.html",
"chromeos/network/network_proxy_exclusions.js",
"chromeos/network/network_proxy_input.html",
"chromeos/network/network_proxy_input.js",
"chromeos/network/network_siminfo.html",
"chromeos/network/network_siminfo.js",
"chromeos/network/network_shared_css.html",
]
}
in_files += [
"chromeos/cellular_setup/base_page.html",
"chromeos/cellular_setup/base_page.js",
"chromeos/cellular_setup/button_bar.html",
"chromeos/cellular_setup/button_bar.js",
"chromeos/cellular_setup/cellular_setup_delegate.html",
"chromeos/cellular_setup/cellular_setup_delegate.js",
"chromeos/cellular_setup/cellular_setup.html",
"chromeos/cellular_setup/cellular_setup.js",
"chromeos/cellular_setup/cellular_types.html",
"chromeos/cellular_setup/cellular_types.js",
"chromeos/cellular_setup/esim_flow_ui.html",
"chromeos/cellular_setup/esim_flow_ui.js",
"chromeos/cellular_setup/final_page.html",
"chromeos/cellular_setup/final_page.js",
"chromeos/cellular_setup/mojo_interface_provider.html",
"chromeos/cellular_setup/mojo_interface_provider.js",
"chromeos/cellular_setup/provisioning_page.html",
"chromeos/cellular_setup/provisioning_page.js",
"chromeos/cellular_setup/psim_flow_ui.html",
"chromeos/cellular_setup/psim_flow_ui.js",
"chromeos/cellular_setup/setup_selection_flow.html",
"chromeos/cellular_setup/setup_selection_flow.js",
"chromeos/cellular_setup/sim_detect_page.html",
"chromeos/cellular_setup/sim_detect_page.js",
"chromeos/cellular_setup/subflow_behavior.html",
"chromeos/cellular_setup/subflow_behavior.js",
"chromeos/cellular_setup/webview_post_util.html",
"chromeos/cellular_setup/webview_post_util.js",
"chromeos/multidevice_setup/button_bar.html",
"chromeos/multidevice_setup/button_bar.js",
"chromeos/multidevice_setup/fake_mojo_service.html",
"chromeos/multidevice_setup/fake_mojo_service.js",
"chromeos/multidevice_setup/icons.html",
"chromeos/multidevice_setup/mojo_api.html",
"chromeos/multidevice_setup/mojo_api.js",
"chromeos/multidevice_setup/multidevice_setup_browser_proxy.html",
"chromeos/multidevice_setup/multidevice_setup_browser_proxy.js",
"chromeos/multidevice_setup/multidevice_setup_delegate.html",
"chromeos/multidevice_setup/multidevice_setup_delegate.js",
"chromeos/multidevice_setup/multidevice_setup.html",
"chromeos/multidevice_setup/multidevice_setup.js",
"chromeos/multidevice_setup/multidevice_setup_shared_css.html",
"chromeos/multidevice_setup/password_page.html",
"chromeos/multidevice_setup/password_page.js",
"chromeos/multidevice_setup/setup_succeeded_page.html",
"chromeos/multidevice_setup/setup_succeeded_page.js",
"chromeos/multidevice_setup/start_setup_page.html",
"chromeos/multidevice_setup/start_setup_page.js",
"chromeos/multidevice_setup/ui_page_container_behavior.html",
"chromeos/multidevice_setup/ui_page_container_behavior.js",
"chromeos/multidevice_setup/ui_page.html",
"chromeos/multidevice_setup/ui_page.js",
"chromeos/network/cr_policy_network_behavior_mojo.html",
"chromeos/network/cr_policy_network_behavior_mojo.js",
"chromeos/network/cr_policy_network_indicator_mojo.html",
"chromeos/network/cr_policy_network_indicator_mojo.js",
"chromeos/network_health/network_diagnostics.html",
"chromeos/network_health/network_diagnostics.js",
"chromeos/network_health/network_health_summary.html",
"chromeos/network_health/network_health_summary.js",
"chromeos/network/mojo_interface_provider.html",
"chromeos/network/mojo_interface_provider.js",
"chromeos/network/network_icon.html",
"chromeos/network/network_icon.js",
"chromeos/network/network_icons.html",
"chromeos/network/network_listener_behavior.html",
"chromeos/network/network_listener_behavior.js",
"chromeos/network/network_list.html",
"chromeos/network/network_list_item.html",
"chromeos/network/network_list_item.js",
"chromeos/network/network_list.js",
"chromeos/network/network_list_types.html",
"chromeos/network/network_list_types.js",
"chromeos/network/network_select.html",
"chromeos/network/network_select.js",
"chromeos/network/onc_mojo.html",
"chromeos/network/onc_mojo.js",
"chromeos/quick_unlock/lock_screen_constants.html",
"chromeos/quick_unlock/lock_screen_constants.js",
"chromeos/quick_unlock/pin_keyboard.html",
"chromeos/quick_unlock/pin_keyboard_icon.html",
"chromeos/quick_unlock/pin_keyboard.js",
"chromeos/quick_unlock/setup_pin_keyboard.html",
"chromeos/quick_unlock/setup_pin_keyboard.js",
"chromeos/smb_shares/add_smb_share_dialog.html",
"chromeos/smb_shares/add_smb_share_dialog.js",
"chromeos/smb_shares/smb_browser_proxy.html",
"chromeos/smb_shares/smb_browser_proxy.js",
]
}
}
group("closure_compile") {
deps = [
......
<?xml version="1.0" encoding="utf-8"?>
<grit-part>
<if expr="chromeos and not optimize_webui">
<!-- Chrome OS Custom Elements. When optimize_webui is true these are -->
<!-- vulcanized and are not included individually. -->
<structure name="IDR_WEBUI_CHROMEOS_BLUETOOTH_DIALOG_HTML"
file="cr_components/chromeos/bluetooth/bluetooth_dialog.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_BLUETOOTH_DIALOG_JS"
file="cr_components/chromeos/bluetooth/bluetooth_dialog.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_APNLIST_HTML"
file="cr_components/chromeos/network/network_apnlist.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_APNLIST_JS"
file="cr_components/chromeos/network/network_apnlist.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CHOOSE_MOBILE_HTML"
file="cr_components/chromeos/network/network_choose_mobile.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CHOOSE_MOBILE_JS"
file="cr_components/chromeos/network/network_choose_mobile.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_HTML"
file="cr_components/chromeos/network/network_config.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_JS"
file="cr_components/chromeos/network/network_config.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_ELEMENT_BEHAVIOR_HTML"
file="cr_components/chromeos/network/network_config_element_behavior.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_ELEMENT_BEHAVIOR_JS"
file="cr_components/chromeos/network/network_config_element_behavior.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_INPUT_HTML"
file="cr_components/chromeos/network/network_config_input.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_INPUT_JS"
file="cr_components/chromeos/network/network_config_input.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_SELECT_HTML"
file="cr_components/chromeos/network/network_config_select.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_SELECT_JS"
file="cr_components/chromeos/network/network_config_select.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_TOGGLE_HTML"
file="cr_components/chromeos/network/network_config_toggle.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_TOGGLE_JS"
file="cr_components/chromeos/network/network_config_toggle.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_IP_CONFIG_HTML"
file="cr_components/chromeos/network/network_ip_config.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_IP_CONFIG_JS"
file="cr_components/chromeos/network/network_ip_config.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_NAMESERVERS_HTML"
file="cr_components/chromeos/network/network_nameservers.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_NAMESERVERS_JS"
file="cr_components/chromeos/network/network_nameservers.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PASSWORD_INPUT_HTML"
file="cr_components/chromeos/network/network_password_input.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PASSWORD_INPUT_JS"
file="cr_components/chromeos/network/network_password_input.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROPERTY_LIST_MOJO_HTML"
file="cr_components/chromeos/network/network_property_list_mojo.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROPERTY_LIST_MOJO_JS"
file="cr_components/chromeos/network/network_property_list_mojo.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_HTML"
file="cr_components/chromeos/network/network_proxy.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_JS"
file="cr_components/chromeos/network/network_proxy.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_EXCLUSIONS_HTML"
file="cr_components/chromeos/network/network_proxy_exclusions.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_EXCLUSIONS_JS"
file="cr_components/chromeos/network/network_proxy_exclusions.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_INPUT_HTML"
file="cr_components/chromeos/network/network_proxy_input.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_INPUT_JS"
file="cr_components/chromeos/network/network_proxy_input.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_SIMINFO_HTML"
file="cr_components/chromeos/network/network_siminfo.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_SIMINFO_JS"
file="cr_components/chromeos/network/network_siminfo.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_SHARED_CSS_HTML"
file="cr_components/chromeos/network/network_shared_css.html"
type="chrome_html" />
</if>
<if expr="chromeos">
<!-- Shared between settings and OOBE, which is not vulcanized. -->
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_PIN_KEYBOARD_HTML"
file="cr_components/chromeos/quick_unlock/pin_keyboard.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_PIN_KEYBOARD_JS"
file="cr_components/chromeos/quick_unlock/pin_keyboard.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_SETUP_PIN_KEYBOARD_JS"
file="cr_components/chromeos/quick_unlock/setup_pin_keyboard.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_SETUP_PIN_KEYBOARD_HTML"
file="cr_components/chromeos/quick_unlock/setup_pin_keyboard.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_PIN_KEYBOARD_ICON_HTML"
file="cr_components/chromeos/quick_unlock/pin_keyboard_icon.html"
type="chrome_html"/>
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_LOCK_SCREEN_CONSTANTS_JS"
file="cr_components/chromeos/quick_unlock/lock_screen_constants.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_LOCK_SCREEN_CONSTANTS_HTML"
file="cr_components/chromeos/quick_unlock/lock_screen_constants.html"
type="chrome_html" />
<!-- Shared between cellular setup flow and OOBE. -->
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_CELLULAR_SETUP_HTML"
file="cr_components/chromeos/cellular_setup/cellular_setup.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_CELLULAR_SETUP_JS"
file="cr_components/chromeos/cellular_setup/cellular_setup.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_PSIM_FLOW_HTML"
file="cr_components/chromeos/cellular_setup/psim_flow_ui.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_PSIM_FLOW_JS"
file="cr_components/chromeos/cellular_setup/psim_flow_ui.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_ESIM_FLOW_HTML"
file="cr_components/chromeos/cellular_setup/esim_flow_ui.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_ESIM_FLOW_JS"
file="cr_components/chromeos/cellular_setup/esim_flow_ui.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_TYPES_JS"
file="cr_components/chromeos/cellular_setup/cellular_types.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_TYPES_HTML"
file="cr_components/chromeos/cellular_setup/cellular_types.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_DELEGATE_HTML"
file="cr_components/chromeos/cellular_setup/cellular_setup_delegate.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_DELEGATE_JS"
file="cr_components/chromeos/cellular_setup/cellular_setup_delegate.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_MOJO_INTERFACE_PROVIDER_HTML"
file="cr_components/chromeos/cellular_setup/mojo_interface_provider.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_MOJO_INTERFACE_PROVIDER_JS"
file="cr_components/chromeos/cellular_setup/mojo_interface_provider.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_BUTTON_BAR_HTML"
file="cr_components/chromeos/cellular_setup/button_bar.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_BUTTON_BAR_JS"
file="cr_components/chromeos/cellular_setup/button_bar.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_BASE_PAGE_HTML"
file="cr_components/chromeos/cellular_setup/base_page.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_BASE_PAGE_JS"
file="cr_components/chromeos/cellular_setup/base_page.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_SIM_DETECT_PAGE_HTML"
file="cr_components/chromeos/cellular_setup/sim_detect_page.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_SIM_DETECT_PAGE_JS"
file="cr_components/chromeos/cellular_setup/sim_detect_page.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_PROVISIONING_PAGE_HTML"
file="cr_components/chromeos/cellular_setup/provisioning_page.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_PROVISIONING_PAGE_JS"
file="cr_components/chromeos/cellular_setup/provisioning_page.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_FINAL_PAGE_HTML"
file="cr_components/chromeos/cellular_setup/final_page.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_FINAL_PAGE_JS"
file="cr_components/chromeos/cellular_setup/final_page.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_WEBVIEW_POST_UTIL_HTML"
file="cr_components/chromeos/cellular_setup/webview_post_util.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_WEBVIEW_POST_UTIL_JS"
file="cr_components/chromeos/cellular_setup/webview_post_util.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_SELECTION_FLOW_HTML"
file="cr_components/chromeos/cellular_setup/setup_selection_flow.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_SELECTION_FLOW_JS"
file="cr_components/chromeos/cellular_setup/setup_selection_flow.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SUBFLOW_BEHAVIOR_HTML"
file="cr_components/chromeos/cellular_setup/subflow_behavior.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_CELLULAR_SUBFLOW_BEHAVIOR_JS"
file="cr_components/chromeos/cellular_setup/subflow_behavior.js"
type="chrome_html" />
<!-- Shared between MultiDevice setup flow and OOBE. -->
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_BROWSER_PROXY_HTML"
file="cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_BROWSER_PROXY_JS"
file="cr_components/chromeos/multidevice_setup/multidevice_setup_browser_proxy.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_BUTTON_BAR_HTML"
file="cr_components/chromeos/multidevice_setup/button_bar.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_BUTTON_BAR_JS"
file="cr_components/chromeos/multidevice_setup/button_bar.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_FAKE_MOJO_SERVICE_HTML"
file="cr_components/chromeos/multidevice_setup/fake_mojo_service.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_FAKE_MOJO_SERVICE_JS"
file="cr_components/chromeos/multidevice_setup/fake_mojo_service.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_ICONS_HTML"
file="cr_components/chromeos/multidevice_setup/icons.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MOJO_API_HTML"
file="cr_components/chromeos/multidevice_setup/mojo_api.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MOJO_API_JS"
file="cr_components/chromeos/multidevice_setup/mojo_api.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_HTML"
file="cr_components/chromeos/multidevice_setup/multidevice_setup.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_JS"
file="cr_components/chromeos/multidevice_setup/multidevice_setup.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_DELEGATE_HTML"
file="cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_DELEGATE_JS"
file="cr_components/chromeos/multidevice_setup/multidevice_setup_delegate.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_MULTIDEVICE_SETUP_SHARED_CSS_HTML"
file="cr_components/chromeos/multidevice_setup/multidevice_setup_shared_css.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_PASSWORD_PAGE_HTML"
file="cr_components/chromeos/multidevice_setup/password_page.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_PASSWORD_PAGE_JS"
file="cr_components/chromeos/multidevice_setup/password_page.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_SETUP_SUCCEEDED_PAGE_HTML"
file="cr_components/chromeos/multidevice_setup/setup_succeeded_page.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_SETUP_SUCCEEDED_PAGE_JS"
file="cr_components/chromeos/multidevice_setup/setup_succeeded_page.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_START_SETUP_PAGE_HTML"
file="cr_components/chromeos/multidevice_setup/start_setup_page.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_START_SETUP_PAGE_JS"
file="cr_components/chromeos/multidevice_setup/start_setup_page.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_UI_PAGE_CONTAINER_BEHAVIOR_HTML"
file="cr_components/chromeos/multidevice_setup/ui_page_container_behavior.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_UI_PAGE_CONTAINER_BEHAVIOR_JS"
file="cr_components/chromeos/multidevice_setup/ui_page_container_behavior.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_UI_PAGE_HTML"
file="cr_components/chromeos/multidevice_setup/ui_page.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_MULTIDEVICE_SETUP_UI_PAGE_JS"
file="cr_components/chromeos/multidevice_setup/ui_page.js"
type="chrome_html" />
<!-- For use in Settings, oobe, configuration dialogs, and debug UI. -->
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_MOJO_INTERFACE_PROVIDER_HTML"
file="cr_components/chromeos/network/mojo_interface_provider.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_NETWORK_MOJO_INTERFACE_PROVIDER_JS"
file="cr_components/chromeos/network/mojo_interface_provider.js"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_HEALTH_SUMMARY_HTML"
file="cr_components/chromeos/network_health/network_health_summary.html"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_HEALTH_SUMMARY_JS"
file="cr_components/chromeos/network_health/network_health_summary.js"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_DIAGNOSTICS_HTML"
file="cr_components/chromeos/network_health/network_diagnostics.html"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_DIAGNOSTICS_JS"
file="cr_components/chromeos/network_health/network_diagnostics.js"
type="chrome_html" />
<!-- Shared between settings and add new share flow. -->
<structure name="IDR_WEBUI_CHROMEOS_SMB_SHARES_SMB_BROWSER_PROXY_HTML"
file="cr_components/chromeos/smb_shares/smb_browser_proxy.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_SMB_SHARES_SMB_BROWSER_PROXY_JS"
file="cr_components/chromeos/smb_shares/smb_browser_proxy.js"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_SMB_SHARES_ADD_SMB_SHARE_DIALOG_HTML"
file="cr_components/chromeos/smb_shares/add_smb_share_dialog.html"
type="chrome_html" />
<structure name="IDR_WEBUI_CHROMEOS_SMB_SHARES_ADD_SMB_SHARE_DIALOG_JS"
file="cr_components/chromeos/smb_shares/add_smb_share_dialog.js"
type="chrome_html" />
<!-- Used to render network-list and related subcomponents. -->
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_CR_POLICY_NETWORK_BEHAVIOR_MOJO_HTML"
file="cr_components/chromeos/network/cr_policy_network_behavior_mojo.html"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_CR_POLICY_NETWORK_BEHAVIOR_MOJO_JS"
file="cr_components/chromeos/network/cr_policy_network_behavior_mojo.js"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_CR_POLICY_NETWORK_INDICATOR_MOJO_HTML"
file="cr_components/chromeos/network/cr_policy_network_indicator_mojo.html"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_CR_POLICY_NETWORK_INDICATOR_MOJO_JS"
file="cr_components/chromeos/network/cr_policy_network_indicator_mojo.js"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_ICON_HTML"
file="cr_components/chromeos/network/network_icon.html"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_ICON_JS"
file="cr_components/chromeos/network/network_icon.js"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LIST_HTML"
file="cr_components/chromeos/network/network_list.html"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LIST_JS"
file="cr_components/chromeos/network/network_list.js"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LIST_ITEM_HTML"
file="cr_components/chromeos/network/network_list_item.html"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LIST_ITEM_JS"
file="cr_components/chromeos/network/network_list_item.js"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LIST_TYPES_HTML"
file="cr_components/chromeos/network/network_list_types.html"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LIST_TYPES_JS"
file="cr_components/chromeos/network/network_list_types.js"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LISTENER_BEHAVIOR_HTML"
file="cr_components/chromeos/network/network_listener_behavior.html"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_LISTENER_BEHAVIOR_JS"
file="cr_components/chromeos/network/network_listener_behavior.js"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_SELECT_HTML"
file="cr_components/chromeos/network/network_select.html"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_SELECT_JS"
file="cr_components/chromeos/network/network_select.js"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_NETWORK_ICONS_HTML"
file="cr_components/chromeos/network/network_icons.html"
type="chrome_html"
preprocess="true" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_ONC_MOJO_HTML"
file="cr_components/chromeos/network/onc_mojo.html"
type="chrome_html" />
<structure name="IDR_CR_COMPONENTS_CHROMEOS_ONC_MOJO_JS"
file="cr_components/chromeos/network/onc_mojo.js"
type="chrome_html" />
</if>
<structure name="IDR_WEBUI_MANAGED_FOOTNOTE_HTML"
file="cr_components/managed_footnote/managed_footnote.html"
type="chrome_html" />
<structure name="IDR_WEBUI_MANAGED_FOOTNOTE_JS"
file="cr_components/managed_footnote/managed_footnote.js"
type="chrome_html" />
</grit-part>
<?xml version="1.0" encoding="utf-8"?>
<grit-part>
<include name="IDR_WEBUI_MANAGED_FOOTNOTE_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/managed_footnote/managed_footnote.m.js"
use_base_dir="false"
type="BINDATA"
preprocess="true" />
<include name="IDR_WEBUI_CR_COMPONENTS_OMNIBOX_CR_AUTOCOMPLETE_MATCH_LIST_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/omnibox/cr_autocomplete_match_list.js"
use_base_dir="false"
type="BINDATA" />
<!-- customize_themes -->
<include name="IDR_WEBUI_CR_COMPONENTS_CUSTOMIZE_THEMES_CUSTOMIZE_THEMES_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/customize_themes/customize_themes.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CR_COMPONENTS_CUSTOMIZE_THEMES_THEME_ICON_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/customize_themes/theme_icon.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_CUSTOMIZE_THEMES_MOJOM_LITE_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/customize_themes/customize_themes.mojom-lite.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CR_COMPONENTS_CUSTOMIZE_THEMES_BROWSER_PROXY_JS"
file="cr_components/customize_themes/browser_proxy.js"
type="BINDATA" />
<if expr="chromeos">
<include name="IDR_WEBUI_CHROMEOS_SMB_SHARES_ADD_SMB_SHARE_DIALOG_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/smb_shares/add_smb_share_dialog.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_SMB_SHARES_SMB_BROWSER_PROXY_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/smb_shares/smb_browser_proxy.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_BLUETOOTH_BLUETOOTH_DIALOG_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/bluetooth/bluetooth_dialog.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CR_POLICY_NETWORK_BEHAVIOR_MOJO_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/cr_policy_network_behavior_mojo.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CR_POLICY_NETWORK_INDICATOR_MOJO_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/cr_policy_network_indicator_mojo.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_APNLIST_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_apnlist.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_CHOOSE_MOBILE_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_choose_mobile.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_ELEMENT_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_config_element_behavior.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_config.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_INPUT_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_config_input.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_SELECT_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_config_select.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_CONFIG_TOGGLE_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_config_toggle.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_LISTENER_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_listener_behavior.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_IP_CONFIG_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_ip_config.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_LIST_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_list.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_LIST_ITEM_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_list_item.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_LIST_TYPES_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_list_types.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_NAMESERVERS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_nameservers.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_PASSWORD_INPUT_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_password_input.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_PROPRETY_LIST_MOJO_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_property_list_mojo.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_EXCLUSIONS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_proxy_exclusions.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_INPUT_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_proxy_input.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_PROXY_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_proxy.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_SELECT_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_select.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_SHARED_CSS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_shared_css.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_SIMINFO_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_siminfo.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_ONC_MOJOM_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/onc_mojo.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_MOJO_INTERFACE_PROVIDER_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/mojo_interface_provider.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_ICON_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_icon.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_NETWORK_ICONS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/network/network_icons.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_LOCK_SCREEN_CONSTANTS_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/quick_unlock/lock_screen_constants.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_LOCK_SETUP_PIN_KEYBOARD_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/quick_unlock/setup_pin_keyboard.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_LOCK_PIN_KEYBOARD_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_QUICK_UNLOCK_LOCK_PIN_KEYBOARD_ICON_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/quick_unlock/pin_keyboard_icon.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_BASE_PAGE_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/base_page.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_FINAL_PAGE_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/final_page.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_MOJO_INTERFACE_PROVIDER_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/mojo_interface_provider.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_WEBVIEW_POST_UTIL_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/webview_post_util.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_SIM_DETECT_PAGE_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/sim_detect_page.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_PROVISIONING_PAGE_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/provisioning_page.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_BUTTON_BAR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/button_bar.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_CELLULAR_TYPES_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/cellular_types.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_CELLULAR_SETUP_DELEGATE_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/cellular_setup_delegate.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_SUBFLOW_BEHAVIOR_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/subflow_behavior.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_PSIM_FLOW_UI_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/psim_flow_ui.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_ESIM_FLOW_UI_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/esim_flow_ui.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_SETUP_SELECTION_FLOW_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/setup_selection_flow.m.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CHROMEOS_CELLULAR_SETUP_CELLULAR_SETUP_M_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/chromeos/cellular_setup/cellular_setup.m.js"
use_base_dir="false"
type="BINDATA" />
</if>
<if expr="use_nss_certs">
<include name="IDR_WEBUI_CA_TRUST_EDIT_DIALOG_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/ca_trust_edit_dialog.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_DELETE_CONFIRMATION_DIALOG_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_delete_confirmation_dialog.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_MANAGER_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_manager.js"
use_base_dir="false"
preprocess="true"
type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_PASSWORD_ENCRYPTION_DIALOG_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_password_encryption_dialog.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_PASSWORD_DECRYPTION_DIALOG_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_password_decryption_dialog.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATES_ERROR_DIALOG_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificates_error_dialog.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_ENTRY_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_entry.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_LIST_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_list.js"
use_base_dir="false"
preprocess="true"
type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_MANAGER_TYPES_JS"
file="cr_components/certificate_manager/certificate_manager_types.js"
type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_SHARED_CSS_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_shared_css.js"
use_base_dir="false"
type="BINDATA" />
<include name="IDR_WEBUI_CERTIFICATE_SUBENTRY_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_subentry.js"
use_base_dir="false"
type="BINDATA" />
<!-- TODO(https://crbug.com/1071641): When conditional imports are possible
in cr_components, only include the certificate provisioning items for
ChromeOS platforms. -->
<include name="IDR_WEBUI_CERTIFICATE_PROVISIONING_LIST_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_provisioning_list.js"
use_base_dir="false"
type="BINDATA"
preprocess="true" />
<include name="IDR_WEBUI_CERTIFICATE_PROVISIONING_ENTRY_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_provisioning_entry.js"
use_base_dir="false"
type="BINDATA"
preprocess="true" />
<include name="IDR_WEBUI_CERTIFICATE_PROVISIONING_DETAILS_DIALOG_JS"
file="${root_gen_dir}/ui/webui/resources/cr_components/certificate_manager/certificate_provisioning_details_dialog.js"
use_base_dir="false"
type="BINDATA"
preprocess="true" />
<include name="IDR_WEBUI_CERTIFICATE_PROVISIONING_BROWSER_PROXY"
file="cr_components/certificate_manager/certificate_provisioning_browser_proxy.js"
type="BINDATA"
preprocess="true" />
<include name="IDR_WEBUI_CERTIFICATES_BROWSER_PROXY_JS"
file="cr_components/certificate_manager/certificates_browser_proxy.js"
type="BINDATA" />
</if>
</grit-part>
......@@ -9,7 +9,7 @@ import("//tools/polymer/polymer.gni")
import("//ui/webui/resources/tools/generate_grd.gni")
import("//ui/webui/resources/tools/js_modulizer.gni")
preprocess_folder = "$target_gen_dir/../preprocessed/cr_elements"
preprocess_folder = "$root_gen_dir/ui/webui/resources/preprocessed/cr_elements"
preprocess_gen_manifest = "preprocessed_gen_manifest.json"
preprocess_polymer2_manifest = "preprocessed_polymer2_manifest.json"
preprocess_src_manifest = "preprocessed_src_manifest.json"
......
......@@ -200,7 +200,6 @@ without changes to the corresponding grd file. -->
</if>
<if expr="not is_android and not is_ios">
<part file="cr_components/cr_components_resources_v3.grdp" />
<part file="cr_polymer_resources_v3.grdp" />
</if>
</includes>
......@@ -466,7 +465,6 @@ without changes to the corresponding grd file. -->
</if>
<if expr="not is_android and not is_ios">
<part file="cr_components/cr_components_resources.grdp" />
<part file="cr_polymer_resources.grdp" />
</if>
</structures>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment