Commit ffe3c1da authored by dpapad's avatar dpapad Committed by Commit Bot

Polymer WebUI: Stop including unneeded resources on iOS and Android.

The entirety of Polymer, seems to have been included on iOS, for no good reason.

Bug: None
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I1bfb524c0efec710de91601123800801a15ceea1
Reviewed-on: https://chromium-review.googlesource.com/892122Reviewed-by: default avatarMichael Giuffrida <michaelpg@chromium.org>
Reviewed-by: default avatarDan Beam (no longer on Chrome) <dbeam@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533139}
parent 1e572c3c
......@@ -274,9 +274,11 @@ without changes to the corresponding grd file. -->
<structure name="IDR_WEBUI_HTML_ACTION_LINK"
file="html/action_link.html" type="chrome_html"
compress="gzip" />
<structure name="IDR_WEBUI_HTML_ACTION_LINK_CSS"
file="html/action_link_css.html" type="chrome_html"
compress="gzip" />
<if expr="not is_android and not is_ios">
<structure name="IDR_WEBUI_HTML_ACTION_LINK_CSS"
file="html/action_link_css.html" type="chrome_html"
compress="gzip" />
</if>
<structure name="IDR_WEBUI_HTML_ASSERT"
file="html/assert.html" type="chrome_html" compress="gzip" />
<structure name="IDR_WEBUI_HTML_PROMISE_RESOLVER"
......@@ -319,9 +321,11 @@ without changes to the corresponding grd file. -->
<structure name="IDR_WEBUI_HTML_CR_UI_FOCUS_ROW"
file="html/cr/ui/focus_row.html" type="chrome_html"
compress="gzip" />
<structure name="IDR_WEBUI_HTML_CR_UI_FOCUS_WITHOUT_INK"
file="html/cr/ui/focus_without_ink.html" type="chrome_html"
compress="gzip" />
<if expr="not is_android and not is_ios">
<structure name="IDR_WEBUI_HTML_CR_UI_FOCUS_WITHOUT_INK"
file="html/cr/ui/focus_without_ink.html" type="chrome_html"
compress="gzip" />
</if>
<structure name="IDR_WEBUI_HTML_CR_UI_LIST"
file="html/cr/ui/list.html"
type="chrome_html" compress="gzip" />
......@@ -366,25 +370,31 @@ without changes to the corresponding grd file. -->
<structure name="IDR_WEBUI_HTML_I18N_TEMPLATE"
file="html/i18n_template.html" type="chrome_html"
compress="gzip" />
<structure name="IDR_WEBUI_HTML_MD_SELECT_CSS_HTML"
file="html/md_select_css.html" type="chrome_html"
compress="gzip" flattenhtml="true" />
<if expr="not is_android and not is_ios">
<structure name="IDR_WEBUI_HTML_MD_SELECT_CSS_HTML"
file="html/md_select_css.html" type="chrome_html"
compress="gzip" flattenhtml="true" />
</if>
<structure name="IDR_WEBUI_HTML_LOAD_TIME_DATA"
file="html/load_time_data.html" type="chrome_html"
compress="gzip" />
<structure name="IDR_WEBUI_HTML_PARSE_HTML_SUBSET"
file="html/parse_html_subset.html" type="chrome_html"
compress="gzip" />
<structure name="IDR_WEBUI_HTML_POLYMER"
file="html/polymer.html" type="chrome_html" compress="gzip" />
<structure name="IDR_WEBUI_HTML_I18N_BEHAVIOR"
file="html/i18n_behavior.html" type="chrome_html"
compress="gzip" />
<if expr="not is_android and not is_ios">
<structure name="IDR_WEBUI_HTML_POLYMER"
file="html/polymer.html" type="chrome_html" compress="gzip" />
<structure name="IDR_WEBUI_HTML_I18N_BEHAVIOR"
file="html/i18n_behavior.html" type="chrome_html"
compress="gzip" />
</if>
<structure name="IDR_WEBUI_HTML_UTIL"
file="html/util.html" type="chrome_html" compress="gzip" />
<structure name="IDR_WEBUI_HTML_WEBUI_LISTENER_BEHAVIOR"
file="html/web_ui_listener_behavior.html" type="chrome_html"
compress="gzip" />
<if expr="not is_android and not is_ios">
<structure name="IDR_WEBUI_HTML_WEBUI_LISTENER_BEHAVIOR"
file="html/web_ui_listener_behavior.html" type="chrome_html"
compress="gzip" />
</if>
<structure name="IDR_WEBUI_HTML_WEBUI_LISTENER_TRACKER"
file="html/webui_listener_tracker.html" type="chrome_html"
compress="gzip" />
......@@ -454,9 +464,11 @@ without changes to the corresponding grd file. -->
<structure name="IDR_WEBUI_JS_CR_UI_FOCUS_ROW"
file="js/cr/ui/focus_row.js" type="chrome_html"
compress="gzip" />
<structure name="IDR_WEBUI_JS_CR_UI_FOCUS_WITHOUT_INK"
file="js/cr/ui/focus_without_ink.js" type="chrome_html"
compress="gzip" />
<if expr="not is_android and not is_ios">
<structure name="IDR_WEBUI_JS_CR_UI_FOCUS_WITHOUT_INK"
file="js/cr/ui/focus_without_ink.js" type="chrome_html"
compress="gzip" />
</if>
<structure name="IDR_WEBUI_JS_CR_UI_LIST"
file="js/cr/ui/list.js" type="chrome_html" compress="gzip" />
<structure name="IDR_WEBUI_JS_CR_UI_LIST_ITEM"
......@@ -546,22 +558,26 @@ without changes to the corresponding grd file. -->
<structure name="IDR_WEBUI_JS_PARSE_HTML_SUBSET"
file="js/parse_html_subset.js" type="chrome_html"
compress="gzip" />
<structure name="IDR_WEBUI_JS_POLYMER_CONFIG"
file="js/polymer_config.js" type="chrome_html"
compress="gzip" />
<structure name="IDR_WEBUI_JS_I18N_BEHAVIOR"
file="js/i18n_behavior.js" type="chrome_html"
compress="gzip" />
<if expr="not is_android and not is_ios">
<structure name="IDR_WEBUI_JS_POLYMER_CONFIG"
file="js/polymer_config.js" type="chrome_html"
compress="gzip" />
<structure name="IDR_WEBUI_JS_I18N_BEHAVIOR"
file="js/i18n_behavior.js" type="chrome_html"
compress="gzip" />
</if>
<structure name="IDR_WEBUI_JS_UTIL"
file="js/util.js" type="chrome_html" compress="gzip"
flattenhtml="true" />
<structure name="IDR_WEBUI_JS_WEBUI_LISTENER_BEHAVIOR"
file="js/web_ui_listener_behavior.js" type="chrome_html"
compress="gzip" />
<if expr="not is_android and not is_ios">
<structure name="IDR_WEBUI_JS_WEBUI_LISTENER_BEHAVIOR"
file="js/web_ui_listener_behavior.js" type="chrome_html"
compress="gzip" />
</if>
<structure name="IDR_WEBUI_JS_WEBUI_RESOURCE_TEST"
file="js/webui_resource_test.js" type="chrome_html"
compress="gzip" />
<if expr="not is_android">
<if expr="not is_android and not is_ios">
<part file="cr_components/cr_components_resources.grdp" />
<part file="cr_elements_resources.grdp" />
<part file="polymer_resources.grdp" />
......
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