-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cras_rust_library to automatically select bazel or system cras_rust
The new pattern is: 1. Rust crates use cras_rust_library 2. If the rust package happens to have C headers, create a cc_library to wrap the cras_rust_library and add hdrs to it. This is done so that: 1. If a cc_library only depends on a small crate, it doesn't have to depend the full //cras/src/server/rust. 2. Allows moving the headers for Rust crates to be alongside their sources. Also move @pkg_config//dbus-1 to a better location. BUG=b:314126577 TEST=CQ Change-Id: Id398d12cf4af7b8685f29511327fc060f19849d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/5216247 Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org> Tested-by: chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com <chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com> Commit-Queue: Li-Yu Yu <aaronyu@google.com>
- Loading branch information
Showing
10 changed files
with
143 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.