diff options
| author | Pirama Arumuga Nainar <pirama@google.com> | 2022-03-23 10:24:38 -0700 |
|---|---|---|
| committer | Pirama Arumuga Nainar <pirama@google.com> | 2022-03-24 16:55:12 +0000 |
| commit | 98e453f6126945ba60a743f7c9fdc951e49ce1b4 (patch) | |
| tree | 91558d3e7e79a5769dfb2efa64a4a3fb45a4ef05 /framework/java/android/bluetooth/BluetoothFrameworkInitializer.java | |
| parent | cabd9bc230852ff75b3bada264f10f517cbc6d85 (diff) | |
Remove static libcutils and libutils dependencies
Bug: 197965342
- libcutils from fluoride_defaults_fuzzable, net_test_device,
net_test_hci
- libutils from bluetoothtbd_test
fluoride_defaults_fuzzable is used by libbluetooth.so which depends on
libchrome.so and libcutils.so. libchrome.so also has undefined symbols
provided by libcutils.so.
Then:
ld.lld libcutils.a ... libchrome.so -o libbluetooth.so
fails with upstream lld because the linker tries to define undefined
functions from libchrome.so by fetching objects from libcutils.a. This
causes undefined symbol errors from libcutils.a since we don't include
other dependencies of libcutils.a here.
Remove this and similarly unnecesary static_lib dependencies from a few
tests and fuzzers. We need the static libcutils dependence only for the
host libbluetooth.so.
Test: cherry-pick aosp/2036867 and run: mmma packages/modules/Bluetooth
Tag: #refactor
Ignore-AOSP-First: Intenal branch has diverged from AOSP.
Change-Id: Ic0570bef2124fdf373c279b077d5e017d0d71581
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothFrameworkInitializer.java')
0 files changed, 0 insertions, 0 deletions
