diff options
author | Samiul Islam <samiul@google.com> | 2021-08-26 11:41:57 +0100 |
---|---|---|
committer | Samiul Islam <samiul@google.com> | 2021-08-26 15:54:36 +0100 |
commit | 165de728cd7c974df3000f8d5df857532952d8eb (patch) | |
tree | 7ef612576641f013754ecc12ce9979cdc0eec376 | |
parent | 893324e813b4bf151c31ae971e17015af92e1aed (diff) | |
download | iorap-165de728cd7c974df3000f8d5df857532952d8eb.tar.gz |
libbinder: split out PackageManagerNative aidl
Very few clients of libbinder use PackageManagerNative service, as such
it's a waste to couple them together. Now, user of PackageManagerNative
service need to add the corresponding aidl files as shared library.
Bug: 183654927
Test: builds + presubmit
Ignore-AOSP-First: To avoid merge conflicts, uploading it internally
first. Will be cherry-picked to AOSP later.
Change-Id: I691fefed4ee0a3d7e16acba5c052ca3747a411f3
-rw-r--r-- | Android.bp | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -99,6 +99,8 @@ cc_defaults { // errors if we use lite "libprotobuf-cpp-full", + "packagemanager_aidl-cpp", + // phenotype flags support "server_configurable_flags", ], @@ -108,6 +110,10 @@ cc_defaults { // TODO: can we use the lite library somehow? header_libs: ["librxcpp"], + + export_shared_lib_headers: [ + "packagemanager_aidl-cpp", + ], } cc_library_static { @@ -125,6 +131,7 @@ cc_library_static { "libbinder", "libutils", "libcutils", // tracing. + "packagemanager_aidl-cpp", ], aidl: { local_include_dirs: ["binder"], @@ -135,6 +142,10 @@ cc_library_static { static_libs: [ "libplatformprotos", // android framework C++ protos. ], + + export_shared_lib_headers: [ + "packagemanager_aidl-cpp", + ], } cc_defaults { |