commit | e072e6cd193728e0bba96dac334bdf1e028194bc | [log] [tgz] |
---|---|---|
author | Jeongik Cha <jeongik@google.com> | Fri Feb 22 18:36:33 2019 +0900 |
committer | Jeongik Cha <jeongik@google.com> | Fri Feb 22 18:42:32 2019 +0900 |
tree | e87ff974de5780ee354af05c75511bfbb378cf6a | |
parent | 54fa1e0b02f136fb7d545d4a0e800d8ea66f22fb [diff] |
link libjsoncpp as whole_static_lib when aidl is statically linked aidl_interface includes libjsoncpp when turn on gen_log option. when aidl_interface lib is statically imported by other module, the module has to link libjsoncpp regardless of usage of the library. so link libjsoncpp as whole_static_lib in this case. https://android-review.googlesource.com/c/platform/system/netd/+/853730/11/Android.bp#35 Bug: 124871490 Test: m -j Change-Id: Ia18b8d6c7a3a94ac10d7efde4383097d480d74a6