Create a minimal app that builds against the NDK

The two jni libs were chosen because they are deps of an internal
android_test (b/297405812). The jni libs builds against the ndk variant
of `libz`

Test: b build //build/bazel/examples/android_app/java/com/app:app_with_sdk_variant_of_jni_deps --config=android
Test: b cquery
"deps(//build/bazel/examples/android_app/java/com/app:app_with_sdk_variant_of_jni_deps)"
--config=android
Observations
- uses the ndk STL and not the platform STL
- uses libz.ndk_stub_libs-current (libz ndk stubs and not impl)

Change-Id: I66022515ef36c65797e4f5731140006f4e6fdc00
1 file changed
tree: ad6dc315fab905f035c1d27dc82d4cb9654a2222
  1. api_surfaces/
  2. bazel_sandwich/
  3. bin/
  4. ci/
  5. compliance/
  6. docs/
  7. examples/
  8. flags/
  9. json_module_graph/
  10. mk2rbc/
  11. mkcompare/
  12. platforms/
  13. product_config/
  14. rules/
  15. scripts/
  16. tests/
  17. toolchains/
  18. utils/
  19. vendor/
  20. .gitignore
  21. bazel.BUILD
  22. bazel.WORKSPACE
  23. buildifier_hook.sh
  24. common.bazelrc
  25. constants_exported_to_soong.bzl
  26. darwin.bazelrc
  27. linux.bazelrc
  28. OWNERS
  29. PREUPLOAD.cfg
  30. 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.