Web UI: Support adding input_files for generate_grd, remove gen paths
Add input_files and input_files_base_dir arguments for generate_grd, to allow inclusion of files that are not preprocessed and therefore included in the manifest in the grd file. Additional updates to generate_grd: - Rename rollup files that aren't shared.rollup.js - Set file type in the grd as "chrome_html" for HTML/JS files - Adding tests Started from: https://chromium-review.googlesource.com/c/chromium/src/+/2443211 by dpapad@ Also removing some unnecessary kGeneratedPath constants from various Web UI controllers that have been updated to use autogenerated grd files. These autogenerated files contain resource_path properties for each <include>, so stripping the generated portion of the path in webui_util.cc is no longer necessary. Bug: 1132403 Change-Id: Ia707d48fe348b168dce6bf806099ffd209385bed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463333 Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Reviewed-by:dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#815746}
Showing
Please register or sign in to comment