Create platform mappings file.

This maps the current --fat_apk_cpu setting to
//build/bazel/platforms:android_target so that the platform reset
that occurs in the android_binary deps split transition knows to
use an android (rather than host) platform to build the deps.

Test: b build packages/apps/WallpaperPicker + CI
Change-Id: I38d23dccb297c97c271b8710c8e72f3809a2cca1
Bug: 240761789
Bug: 215230093
Bug: 215230095
3 files changed
tree: 7d0f9650ae02a981dea4fc50168e58a1dea6f9e3
  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.