Flag guard removal of the vendor partition from Microdroid super

The
MicrodroidHostTests#testBootFailsWhenVbMetaDigestDoesNotMatchBootconfig
test built as part of Android UDC CTS binary will fail when running
against the -next targets, since that test expects existence of the
vendor partition.

This patch partially reverts commit baf578de569c8d07c3978dcf3cc8d8ed8968651f, by making removal of the vendor partition conditional on the value of the RELEASE_AVF_ENABLE_VENDOR_MODULES flag
(on -next builds flag is disabled, hence the vendor partition will still be present). Note that the /vendor still
won't be mounted, since that change is not flag-guarded. I think this
should be ok, because in Android U the /vendor partition was effectively empty.

Bug: 307904471
Test: atest MicrodroidHostTestCases
Change-Id: I40fa72f1343c881bdda546f7539303f2ff971e55
2 files changed
tree: 9585e0226a822300083b71547b9504469cf28c2e
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. compos/
  5. demo/
  6. demo_native/
  7. docs/
  8. encryptedstore/
  9. javalib/
  10. launcher/
  11. libs/
  12. microdroid/
  13. microdroid_manager/
  14. pvmfw/
  15. rialto/
  16. secretkeeper/
  17. service_vm/
  18. tests/
  19. virtualizationmanager/
  20. virtualizationservice/
  21. vm/
  22. vm_payload/
  23. vmbase/
  24. vmclient/
  25. zipfuse/
  26. .clang-format
  27. .gitignore
  28. Android.bp
  29. OWNERS
  30. PREUPLOAD.cfg
  31. README.md
  32. rustfmt.toml
  33. TEST_MAPPING
README.md

Android Virtualization Framework (AVF)

Android Virtualization Framework (AVF) provides secure and private execution environments for executing code. AVF is ideal for security-oriented use cases that require stronger isolation assurances over those offered by Android’s app sandbox.

Visit our public doc site to learn more about what AVF is, what it is for, and how it is structured. This repository contains source code for userspace components of AVF.

If you want a quick start, see the getting started guideline and follow the steps there.

For in-depth explanations about individual topics and components, visit the following links.

AVF components:

AVF APIs:

How-Tos: