OSDN Git Service

Add option to use private API library
authorDmitry Shmidt <dimitrysh@google.com>
Tue, 5 May 2009 17:43:52 +0000 (10:43 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Tue, 5 May 2009 17:43:52 +0000 (10:43 -0700)
Android.mk

index 6ab6cb7..26c416e 100644 (file)
@@ -661,7 +661,10 @@ include $(BUILD_EXECUTABLE)
 include $(CLEAR_VARS)
 LOCAL_MODULE := wpa_supplicant
 ifdef CONFIG_DRIVER_CUSTOM
-LOCAL_STATIC_LIBRARIES := libCustomWifi libWifiApi
+LOCAL_STATIC_LIBRARIES := libCustomWifi
+endif
+ifneq ($(BOARD_WPA_SUPPLICANT_PRIVATE_LIB),)
+LOCAL_STATIC_LIBRARIES += $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB)
 endif
 LOCAL_SHARED_LIBRARIES := libc libcutils libcrypto libssl
 LOCAL_CFLAGS := $(L_CFLAGS)