Commit eaa5b11d authored by dpapad's avatar dpapad Committed by Chromium LUCI CQ

WebUI: Auto-generate grd entries for ui/webui/resources/js/ios/.

Bug: 1132403
Change-Id: Ice9c1a005017378b0e215c19cec44aa8e2868630
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595516Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
Commit-Queue: dpapad <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#837995}
parent 73b04d7e
...@@ -70,6 +70,13 @@ preprocess_if_expr("preprocess_src") { ...@@ -70,6 +70,13 @@ preprocess_if_expr("preprocess_src") {
"web_ui_listener_behavior.js", "web_ui_listener_behavior.js",
] ]
} }
if (is_ios) {
in_files += [
"ios/mojo_api.js",
"ios/web_ui.js",
]
}
} }
preprocess_if_expr("preprocess_generated") { preprocess_if_expr("preprocess_generated") {
......
...@@ -44,13 +44,6 @@ without changes to the corresponding grd file. --> ...@@ -44,13 +44,6 @@ without changes to the corresponding grd file. -->
use_base_dir="false" /> use_base_dir="false" />
</if> </if>
<if expr="is_ios">
<structure name="IDR_WEBUI_JS_IOS_WEB_UI"
file="js/ios/web_ui.js" type="chrome_html" />
<structure name="IDR_WEBUI_JS_IOS_MOJO_API"
file="js/ios/mojo_api.js" type="chrome_html" />
</if>
<if expr="not is_android and not is_ios"> <if expr="not is_android and not is_ios">
<structure name="IDR_LOTTIE_LOTTIE_WORKER_MIN_JS" <structure name="IDR_LOTTIE_LOTTIE_WORKER_MIN_JS"
file="../../../third_party/lottie/lottie_worker.min.js" file="../../../third_party/lottie/lottie_worker.min.js"
......
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