Commit 89a693b5 authored by dpapad's avatar dpapad Committed by Commit Bot

Remove unnecessary HTML imports from download-internals.

Specifically:
 - Remove dependencies to cr.ui.List, cr.ui.ListItem and list.css
   since these were (erroneously?) added at r508574, but were not used.
 - Hook up closure_compile target, since it was not referenced from anywhere.
 - Replace remaining HTML imports with regular <script> tags instead.

Bug: 937747
Change-Id: Ib26d4a31ecb365e23205f28d21d18a79ce03aa52
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1809110Reviewed-by: default avatarMichael Giuffrida <michaelpg@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697668}
parent d10bf7c5
......@@ -19,6 +19,7 @@ if (closure_compile) {
"bluetooth_internals:closure_compile",
"bookmarks:closure_compile",
"discards:closure_compile",
"download_internals:closure_compile",
"downloads:closure_compile",
"history:closure_compile",
"local_ntp:closure_compile",
......
......@@ -15,6 +15,7 @@ js_type_check("closure_compile") {
js_library("download_internals") {
deps = [
":download_internals_browser_proxy",
"//third_party/jstemplate:jstemplate",
"//ui/webui/resources/js:assert",
"//ui/webui/resources/js:cr",
"//ui/webui/resources/js:util",
......
......@@ -4,14 +4,12 @@
<meta charset="utf-8">
<title>Download Internals</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="chrome://resources/css/list.css">
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
<link rel="stylesheet" href="download_internals.css">
<link rel="import" href="chrome://resources/html/cr.html">
<link rel="import" href="chrome://resources/html/cr/ui/list_item.html">
<link rel="import" href="chrome://resources/html/cr/ui/list.html">
<link rel="import" href="chrome://resources/html/util.html">
<script src="chrome://resources/js/promise_resolver.js"></script>
<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="download_internals_browser_proxy.js"></script>
<script src="download_internals.js"></script>
......
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