Add ability for make_injection to invalidate itself when Android.bp
files change.

This is a lightweight solution to allow make_injection to invalidate
itself when Android.bp files change their content, so that it can build
the HEAD version of the module requested.

Bug: 210399979
Test: Modify Android.bp file, b test //build/bazel/tests/apex:build.bazel.examples.apex.minimal_content_diff_test (test fails as expected, since the repo rule is invalidated), revert it, and run b test again (test passes as expected)
Change-Id: I0334e5438529df62c7da0c7ff0c7a0db903d214e
2 files changed
tree: be306d9d4fbbe3d43efa1b08704b10ba9388f1a4
  1. ci/
  2. docs/
  3. examples/
  4. json_module_graph/
  5. mk2rbc/
  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.