IVGCVSW-1998 : fix for missing initialization in the driver

Change-Id: I5b1209a871d0a848bb1fdfba5228f181e6968004
diff --git a/test/Android.mk b/test/Android.mk
index c38b92e..0e9824f 100644
--- a/test/Android.mk
+++ b/test/Android.mk
@@ -57,15 +57,16 @@
         TestTensor.cpp
 
 LOCAL_STATIC_LIBRARIES := \
-        libarmnn-driver@1.0 \
         libneuralnetworks_common \
-        libarmnn \
         libboost_log \
         libboost_system \
         libboost_unit_test_framework \
         libboost_thread \
         armnn-arm_compute
 
+LOCAL_WHOLE_STATIC_LIBRARIES := \
+        libarmnn-driver@1.0
+
 LOCAL_SHARED_LIBRARIES := \
         libbase \
         libhidlbase \
@@ -132,15 +133,16 @@
         TestTensor.cpp
 
 LOCAL_STATIC_LIBRARIES := \
-        libarmnn-driver@1.1 \
         libneuralnetworks_common \
-        libarmnn \
         libboost_log \
         libboost_system \
         libboost_unit_test_framework \
         libboost_thread \
         armnn-arm_compute
 
+LOCAL_WHOLE_STATIC_LIBRARIES := \
+        libarmnn-driver@1.1
+
 LOCAL_SHARED_LIBRARIES := \
         libbase \
         libhidlbase \