Remove packagemanager_aidl from export_shared_lib_headers
Unless a module is exporting libbinder as export_shared_lib_headers,
there is no reason for it to export packagemanager_aidl. Most of them
are consumers of packagemanager_aidl, not providers.
If Removing packagemanager_aidl from export_shared_lib_headers breaks
the build, then it just means there is some module which is
relying on one of these modules with export_shared_lib_headers as
provider for packagemanager_aidl. We should update them accordingly.
Bug: 183654927
Test: builds + presubmit
Change-Id: I952ec5c58686e1263aabf95587851faf780fe7e1
diff --git a/media/libaudioclient/Android.bp b/media/libaudioclient/Android.bp
index 9c307ff..d4725d5 100644
--- a/media/libaudioclient/Android.bp
+++ b/media/libaudioclient/Android.bp
@@ -133,6 +133,7 @@
"libutils",
"libvibrator",
"framework-permission-aidl-cpp",
+ "packagemanager_aidl-cpp",
],
export_shared_lib_headers: [
"audioflinger-aidl-cpp",