wifi(implementation): Stop loading vendor library statically

libwifi-hal statically imports the vendor implementation of the legacy
HAL. Since the HIDL daemon is dynamically linking against libwif-hal,
there is no need for it to statically import the vendor implementation
library (one pointed to by: $LIBWIFI-HAL variable).

Bug: 36169790
Test: Compiles & device is able to connect to wifi networks with the
change.

Change-Id: Ie44b58328f9bdde011ba6d4a4d26f786c2d097e7
This commit is contained in:
Roshan Pius 2017-03-27 09:23:12 -07:00
parent e90c31f125
commit 34e4bc4dd2

View file

@ -48,6 +48,5 @@ LOCAL_SHARED_LIBRARIES := \
libwifi-hal \ libwifi-hal \
libwifi-system \ libwifi-system \
libcld80211 libcld80211
LOCAL_WHOLE_STATIC_LIBRARIES := $(LIB_WIFI_HAL)
LOCAL_INIT_RC := android.hardware.wifi@1.0-service.rc LOCAL_INIT_RC := android.hardware.wifi@1.0-service.rc
include $(BUILD_EXECUTABLE) include $(BUILD_EXECUTABLE)