Merge "AAPT2 statically link libz on Windows builds"

This commit is contained in:
Adam Lesinski
2015-04-03 19:45:44 +00:00
committed by Android (Google) Code Review

View File

@@ -70,8 +70,8 @@ testSources := \
XmlFlattener_test.cpp
cIncludes :=
hostLdLibs :=
hostLdLibs := -lz
hostStaticLibs := \
libandroidfw \
libutils \
@@ -80,6 +80,12 @@ hostStaticLibs := \
libexpat \
libziparchive-host
ifneq ($(strip $(USE_MINGW)),)
hostStaticLibs += libz
else
hostLdLibs += -lz
endif
cFlags := -Wall -Werror -Wno-unused-parameter -UNDEBUG
cppFlags := -std=c++11 -Wno-missing-field-initializers