Add android_module_lib_stubs_current to stub_only_libs

The framework-virtualization belongs to an non-updatable APEX, hence it
should be able to compile against unstable hidden platform APIs. In
order to achieve this we specify the sdk_version: "core_platform" and
add a the framework lib to the impl_only_libs of the
framework-virtualization.

However, this setup breaks the generation of stub srcs: it relies on the
sdk_version of the java_sdk_library, which in our case doesn't provide
the symbols from the Android SDK. To work around this problem we add the
android_module_lib_stubs_current to the stub_only_libs.

The stub_only_libs get propagate to the stub sources invocation in the
another change in the same topic.

Bug: 243512044
Test: builds
Change-Id: Ied0bfaf653edc2d16564b1f1b551d0624be1b407
1 file changed
tree: 7e800f51ffcb11a25feb68277faa7e289d22a18f
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. avmd/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. rialto/
  15. tests/
  16. virtualizationservice/
  17. vm/
  18. vmbase/
  19. vmclient/
  20. zipfuse/
  21. .clang-format
  22. .gitignore
  23. Android.bp
  24. OWNERS
  25. PREUPLOAD.cfg
  26. README.md
  27. TEST_MAPPING
README.md

Virtualization

This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.