Add product and mode vars to mixed_droid

This will allow us to easily leverage mixed_droid to test `m droid` with
alternative target products, or in prod mode. This is especially useful
as we add additional CI for products other than aosp_arm64.

Bug: 231322898
Test: MIXED_DROID_MODE=prod build/bazel/ci/mixed_droid.sh
Test: mixed_droid.sh  (no vars)
Test: MIXED_DROID_MODE=badflag build/bazel/ci/mixed_droid.sh
Test: mixed_libc.sh with and without lunch
Change-Id: I22d16567e0fbf6f04ba9dd85c59a58d48079419a
2 files changed
tree: b148e9a59696023eaee56d464ee0a3e18c4181c3
  1. ci/
  2. docs/
  3. examples/
  4. json_module_graph/
  5. mk2rbc/
  6. platforms/
  7. product_config/
  8. product_variables/
  9. rules/
  10. scripts/
  11. tests/
  12. vendor/
  13. .gitignore
  14. bazel.BUILD
  15. bazel.sh
  16. bazel.WORKSPACE
  17. buildifier_hook.sh
  18. common.bazelrc
  19. darwin.bazelrc
  20. linux.bazelrc
  21. OWNERS
  22. PREUPLOAD.cfg
  23. 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.