commit | 0580ff9c72be98ba8c06fbcaa391a11f258e6f75 | [log] [tgz] |
---|---|---|
author | Fergal Daly <fergal@chromium.org> | Wed Nov 27 06:07:13 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 27 06:07:13 2024 |
tree | c53191b66a5e02815c1b8b1b10af7f648af8b357 | |
parent | b2def42b437221c5b6a73c1c8ccbcab6d7cf2983 [diff] |
Tighten up the language_detection core component. Components should only depend on other components or code that nothing else can link against. Otherwise we can end up with second copies of supposed singletons. This change - makes everything external depend on "/core" instead of "/core:language_detection" - correctly annotates the exports we want and moves them into the `component()` - leaves the rest of the code in "/core:internals" so that the unittests can test it without needing to export it It still leaves some non-component deps but I don't think they are causing a problem. Bug: 380786760,354069716 Change-Id: Iefb86f793df6f65ebac633073d9ef508de13e93a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6047209 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Fergal Daly <fergal@chromium.org> Reviewed-by: Trevor Perrier <perrier@chromium.org> Reviewed-by: Clark DuVall <cduvall@chromium.org> Cr-Commit-Position: refs/heads/main@{#1388641}
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.