roll: pigweed pw_watch: Bazel run support

Hook up enough bazel to be able to run pw_watch or pw_build through
bazel run commands. For example:

Run watch:

  bazelisk run //pw_watch/py:watch

Run a single build (same as watch but only once then exit).

  bazelisk run //pw_build/py:project_builder

Run the upstream project builder (optionally with --watch):

  bazelisk run //pw_build/py:pigweed_upstream_build -- \
    -r default_bazel -r default_gn --watch

Original-Bug: 360140397
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/242094
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Original-Revision: 5e7d1a0fddab1204d94ff43cee833431eda75af8

Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: e9391cf5d40a89..5e7d1a0fddab12
Roll-Count: 1
Roller-URL: https://cr-buildbucket.appspot.com/build/8733430480629053345
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I65de000b232f1cd00f4caeeb01728926818ca59f
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/243696
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
1 file changed
tree: 3acd6ec6edbd6acae452e7f56de6d6730b66b04f
  1. .github/
  2. .vscode/
  3. apps/
  4. device/
  5. modules/
  6. system/
  7. targets/
  8. tools/
  9. web_app/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .buildifier.json
  14. .clang-format
  15. .clangd.shared
  16. .gitignore
  17. .pw_console.yaml
  18. AUTHORS
  19. BUILD.bazel
  20. CONTRIBUTING.md
  21. LICENSE
  22. MODULE.bazel
  23. MODULE.bazel.lock
  24. OWNERS
  25. pigweed.json
  26. README.md
README.md

Sense

git clone https://pigweed.googlesource.com/pigweed/showcase/sense

Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.

Please visit Sense: An interactive tour through Pigweed to get started.