Revert "Reland "[webui] Create //ui webui_code_cache_resources bundle"" This reverts commit 9499f74458641207d1a4574024e789394d40131e. Reason for revert: Causing official Mac builds to fail. Original change's description: > Reland "[webui] Create //ui webui_code_cache_resources bundle" > > This is a reland of commit fcf9034d123bc4314d8191a6c1dea0e872f1e95a > > See diff against PS1. > > MSan builds use hermetic instrumented system libraries, and so > instrumented binaries only run when the system libraries match the > version of the prebuilt msan-instrumented libraries. For that reason, > it's recommended to run msan-built binaries under docker. > > However, for host binaries that's not easily doable. This reland > specifically disables code_cache_generator for msan builds when the > host and target toolchains are the same. > > Note: When they're not the same it's all good and the host toolchain > doesn't instrument. See crbug.com/40055221#comment17 for context. > > Original change's description: > > [webui] Create //ui webui_code_cache_resources bundle > > > > This CL creates a new //ui/webui/resources:code_cache_resources > > target that generates a .pak file for code cache resources and > > integrates this into chrome's resource bundle behind the > > enable_webui_generate_code_cache buildflag. > > > > Currently only the lit-element third party library has been > > integrated into this target and this is only done for desktop > > platforms. > > > > The code cache resources have been deliberately kept separate from > > the existing //ui/webui/resources::resources .pak for the following > > reasons: > > > > - Code cache bytecode introduces a dependency on blink that is > > unneeded by the other webui resources > > This can cause dependency issues since //base depends on > > //ui/webui/resources::resources > > > > - Simplifies downstream code that intends to process code cache > > resources specifically to establish the resource => code cache ID > > mapping > > This otherwise requires iterating over all resources while > > applying conditional filtering > > > > Bug: 378504039, 399764218 > > Change-Id: I145167eea7345e4d52e5fc69fd2fc6b5a2dafd90 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6283765 > > Commit-Queue: Tom Lukaszewicz <tluk@chromium.org> > > Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> > > Cr-Commit-Position: refs/heads/main@{#1426858} > > Bug: 378504039, 399764218 > Change-Id: I58582d8169539008b9e88f5a8c70a609343b659c > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6311874 > Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> > Commit-Queue: Tom Lukaszewicz <tluk@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1427205} Bug: 378504039, 399764218 No-Presubmit: true No-Tree-Checks: true No-Try: true Change-Id: Icf532259f5b8db7c2f8fc307432e50a561f7f37a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6320896 Reviewed-by: Prudhvikumar Bommana <pbommana@google.com> Owners-Override: Prudhvikumar Bommana <pbommana@google.com> Commit-Queue: Prudhvikumar Bommana <pbommana@google.com> Auto-Submit: Keybo Qian <keybo@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1427741}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.