| commit | ae367060faba431c0a0006531eb45ed6d890108d | [log] [tgz] |
|---|---|---|
| author | Takuto Ikuta <tikuta@chromium.org> | Wed Aug 13 04:20:37 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 13 04:20:37 2025 |
| tree | 92a7eac1decd17ef9134a69b8dc20e74f3632ee0 | |
| parent | f55c338fdcdaae4bf17976d496e624621aea5f31 [diff] |
Refactor: Move clang modules configuration This commit refactors the configuration for clang modules. The `use_clang_modules` flag is moved from `build/config/BUILDCONFIG.gn` to `build/config/clang/clang.gni` to be more aligned with other clang-related flags. The logic in `build/config/BUILDCONFIG.gn` and `buildtools/third_party/libc++/BUILD.gn` is simplified to unconditionally handle dependencies for clang modules, but they are no-op targets if clang modules is disabled. This is mostly to avoid importing `//build/toolchain/rbe.gni` in BUILDCONFIG.gni when we enable clang modules gradually which broke vivaldi's build e.g. https://crbug.com/40252588. Bug: 40440396 Cq-Include-Trybots: luci.chromium.try:linux-modules-compile-fyi-rel Change-Id: I9df7b53e22ec0cb4a4b02cde786197a98e24629e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6837397 Reviewed-by: Matt Stark <msta@google.com> Commit-Queue: Takuto Ikuta <tikuta@chromium.org> Cr-Commit-Position: refs/heads/main@{#1500594}
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.