Switch to shared libpng/libz dependency.

Bug: 9593270
Change-Id: I1eec2590cca046d6e030c73d31a6b400019e1ebd
diff --git a/tools/aapt/Android.mk b/tools/aapt/Android.mk
index 61180a0..3b49819 100644
--- a/tools/aapt/Android.mk
+++ b/tools/aapt/Android.mk
@@ -86,15 +86,17 @@
 LOCAL_CFLAGS += -DSTATIC_ANDROIDFW_FOR_TOOLS
 LOCAL_CFLAGS += -Wno-non-virtual-dtor
 
+LOCAL_SHARED_LIBRARIES := \
+        libpng \
+        libz
+
 LOCAL_STATIC_LIBRARIES := \
         libstlport_static \
         libandroidfw \
         libutils \
         libcutils \
         libexpat_static \
-        libpng \
-        liblog \
-        libz
+        liblog
 
 include $(BUILD_EXECUTABLE)
 endif