Restrict Bazel PATH envvar to mimic Soong.

This CL sets --action_env=PATH to a value that's equivalent to https://cs.android.com/android/platform/superproject/+/master:build/soong/ui/build/bazel.go;l=143-149;drc=05ab2d0731495fed0e9ee7d4158cf70697728f77

Test: bp2build; bazel build //bionic/...
Test: TH
Fixes: b/189794089

Change-Id: I1a590caeb4c6d63e43c9971628276bfb736211bc
3 files changed
tree: 815e764c3096404b43b8666684d70a633471bbad
  1. bazel_skylib/
  2. ci/
  3. docs/
  4. examples/
  5. json_module_graph/
  6. platforms/
  7. product_variables/
  8. rules/
  9. rules_cc/
  10. scripts/
  11. tests/
  12. bazel.BUILD
  13. bazel.sh
  14. bazel.WORKSPACE
  15. common.bazelrc
  16. darwin.bazelrc
  17. linux.bazelrc
  18. OWNERS
  19. README.md
README.md

Bazel

The code in this directory is experimental. Bazel support for Android Platform is undergoing active development and workflow stability is currently not guaranteed.