diff options
author | Steven Moreland <smoreland@google.com> | 2019-06-17 17:17:02 -0700 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2019-06-19 09:29:18 -0700 |
commit | 9f53eda37fe905211ce6546d32784e7f4d980614 (patch) | |
tree | 3cdc09f9859f0f721e9fb431d45cfb13c8fc9bad | |
parent | a46371d5b3ffd08808ae93ec420721345738ec65 (diff) | |
download | libhidl-9f53eda37fe905211ce6546d32784e7f4d980614.tar.gz |
Combine libhwbinder into libhidlbase.android10-dev
For memory.
Bug: 134961554
Test: boot
Change-Id: I18b61e8d3a3cb1fd30a8d04edfefaf93be5f0211
-rw-r--r-- | Android.bp | 34 |
1 files changed, 29 insertions, 5 deletions
@@ -47,23 +47,47 @@ cc_test { ], } +cc_defaults { + name: "libhidlbase-combined-impl", + + defaults: [ + "libhwbinder-impl-shared-libs", + "libhidlbase-impl-shared-libs", + "libhidltransport-impl-shared-libs", + ], + + whole_static_libs: [ + "libhidlbase-impl-internal", + "libhidltransport-impl-internal", + ], +} + cc_library { name: "libhidlbase", + defaults: ["libhidlbase-combined-impl"], recovery_available: true, vendor_available: true, vndk: { enabled: true, support_system_process: true, }, + whole_static_libs: [ + "libhwbinder-impl-internal", + ], +} +// Only libhwbinder_benchmark needs to have pgo enabled. When all places +// support having PGO selectively enabled, all places can use libhwbinder. +// +// http://b/77320844 +cc_library { + name: "libhidlbase_pgo", defaults: [ - "libhidlbase-impl-shared-libs", - "libhidltransport-impl-shared-libs", + "libhidlbase-combined-impl", + "hwbinder_benchmark_pgo", ], - whole_static_libs: [ - "libhidlbase-impl-internal", - "libhidltransport-impl-internal", + "libhwbinder_pgo-impl-internal", ], } |