commit | 84b72236af7b70c0cf8a240ad27e67ce62c9e890 | [log] [tgz] |
---|---|---|
author | Lei Zhang <thestig@chromium.org> | Mon Jun 09 21:57:25 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 09 21:57:25 2025 |
tree | a7bfe759f355991aa113833a7f0d4ce5d3fd5804 | |
parent | abe4fb8e200abcce685a0d6061b58b40bfbe522c [diff] |
Better sort lists in chrome/test/BUILD.gn GN's auto-formatter gets confused by comments in the middle of long lists. e.g. sources = [ "a.cc", "x.cc", "z.cc", # h is for hello "h.cc", "y.cc", ] Avoid this by moving the comments and related files into their own sections. Then the rest of the list can be automatically sorted. e.g. sources = [ "a.cc", "x.cc", "y.cc", "z.cc", ] # h is for hello sources += [ "h.cc" ] Change-Id: I3a86bfc9fd9595acfeae1b5e405a45b69cf0e1df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6629438 Reviewed-by: Erik Chen <erikchen@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#1471455}
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.