roll: pigweed, pw_toolchain: pw_ide: Add option to process comp DBs by path
As an alternative to the current method of searching for compilation
databases in your source and build tree, this adds an option to
directly specify the path(s). This is particularly helpful for Bazel-
based projects for two reasons:
1. The predominant approach to generating compile commands in Bazel
world is to just generate a single file with all commands in the
root dir of the project, so there's no need to search for files.
2. By default, tooling runs within the Bazel environment, which could
be located somewhere completely different from project checkout dir.
So the search-based approach's assumptions of known source and build
dirs breaks down.
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/218334
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
https://pigweed.googlesource.com/pigweed/pigweed
pigweed, pw_toolchain Rolled-Commits: 51ed6ec5209e23c..64f458827b65993
Roller-URL: https://ci.chromium.org/b/8744048389785160017
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I2a9fe22d62e072a7475c74884465aa8029799197
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/218491
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/WORKSPACE b/WORKSPACE
index 937a61a..268c4e0 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -84,8 +84,8 @@
name = "pigweed",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-06-26.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8744048785942766097.
- commit = "51ed6ec5209e23c62fff74bc811ebb881c07a454",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8744048389785160017.
+ commit = "64f458827b659935bb5b00df42d8dca89c06ce20",
remote = "https://pigweed.googlesource.com/pigweed/pigweed.git",
)
@@ -93,8 +93,8 @@
name = "pw_toolchain",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-06-26.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8744048785942766097.
- commit = "51ed6ec5209e23c62fff74bc811ebb881c07a454",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8744048389785160017.
+ commit = "64f458827b659935bb5b00df42d8dca89c06ce20",
remote = "https://pigweed.googlesource.com/pigweed/pigweed.git",
strip_prefix = "pw_toolchain_bazel",
)