commit | a9c681177f9361a6a57631d35d157cde60bc14bb | [log] [tgz] |
---|---|---|
author | Adrian Taylor <adetaylor@chromium.org> | Wed Oct 06 17:53:18 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 06 17:53:18 2021 |
tree | 433bd33a2f956b335d065d0ad7f821ee1c027220 | |
parent | 3111943fbb673af4ee42cf1fddf17954e8aa1603 [diff] |
[rust] Add rust_source_set This adds a higher level template on top of the standard rust_library GN primitive, which provides some useful facilities: * allowing downstream C++ targets to depend upon this plus core Rust stdlib * allowing downstream Rust targets to depend upon this plus interdependent C++ peers * building unit tests automatically * (future) building C++ bindings automatically A small design document can be found here: https://docs.google.com/document/d/1SGXNvwa1fBdVzfRJxXuLScndSOq7NQKLOQy5Hc3rCQk/edit# Bug: 1069271 Change-Id: I2cf21793248e7c96f748294fccf6394fe6b39f1d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3195086 Reviewed-by: danakj <danakj@chromium.org> Reviewed-by: Ćukasz Anforowicz <lukasza@chromium.org> Commit-Queue: Adrian Taylor <adetaylor@chromium.org> Cr-Commit-Position: refs/heads/main@{#928756}
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.