Allow vendor clients to use AVF API
* virtmgr now checks both clients and origins of FDs
* Early VMs are extended to vendors, regarding early_vms.xsd
* libavf now exports headers to vendor modules
Bug: 369588412
Bug: 383969737
Test: create a vendor binary using libavf and run a vm
Change-Id: Id212f4b9b86504f2081faa4e99baee22b860f481
diff --git a/libs/libavf/Android.bp b/libs/libavf/Android.bp
index e143709..079f4ae 100644
--- a/libs/libavf/Android.bp
+++ b/libs/libavf/Android.bp
@@ -34,7 +34,6 @@
rust_ffi_static {
name: "libavf_impl",
defaults: ["libavf.default"],
- export_include_dirs: ["include"],
}
cc_library {
@@ -49,7 +48,7 @@
"libbinder_rpc_unstable",
"liblog",
],
- export_static_lib_headers: ["libavf_impl"],
+ export_include_dirs: ["include"],
apex_available: ["com.android.virt"],
version_script: "libavf.map.txt",
stubs: {