commit | 74173fdff7aeb77069754eb99a916ffa64824ae2 | [log] [tgz] |
---|---|---|
author | Hans Wennborg <hans@chromium.org> | Mon Dec 05 16:26:11 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 05 16:26:11 2022 |
tree | c94868bc398be5c1af9817d588a428d544261ca9 | |
parent | 711ac0c6817b77cece7bfdfb65e8dac0f6865e65 [diff] |
Don't include runtime_feature_state_override_context.h in runtime_enabled_features.h runtime_enabled_features.h is a popular header, included in ca 5000 translation units in Blink. Adding runtime_feature_state_override_context.h to each of those is costly and unnecessary. Avoiding the include saves almost 800 MB of total compiler input size for the 'chrome' target according to include analysis [1]. [1] https://commondatastorage.googleapis.com/chromium-browser-clang/chrome_includes_2022-12-05_115924.html#view=edges&included=runtime_feature_state_override_context%5C.h Bug: 242216, 1377000 Change-Id: I39e200aba673e369f047bbf96daadbb88266faa3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4079189 Reviewed-by: Steven Bingler <bingler@chromium.org> Commit-Queue: Hans Wennborg <hans@chromium.org> Cr-Commit-Position: refs/heads/main@{#1079258}
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.