From 88b890f800a86b59690890c53c9ed4757c5e2e9e Mon Sep 17 00:00:00 2001 From: Samiul Islam Date: Thu, 30 Sep 2021 21:49:43 +0100 Subject: 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: Ifc38609b885f4eab55f83d963f6d4d4e295a6791 --- Android.bp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Android.bp b/Android.bp index b665a12..1d181bd 100644 --- a/Android.bp +++ b/Android.bp @@ -110,10 +110,6 @@ cc_defaults { // TODO: can we use the lite library somehow? header_libs: ["librxcpp"], - - export_shared_lib_headers: [ - "packagemanager_aidl-cpp", - ], } cc_library_static { @@ -142,10 +138,6 @@ cc_library_static { static_libs: [ "libplatformprotos", // android framework C++ protos. ], - - export_shared_lib_headers: [ - "packagemanager_aidl-cpp", - ], } cc_defaults { -- cgit v1.2.3