zipalign: Fix build failure in static_sdk_tools.

Convert all dependencies to static deps.

Test: make -j50 static_sdk_tools BUILD_HOST_static=1
Bug: 35246701
Bug: 68804545

Change-Id: Ia46ac30e5c05226f1bfec82a84f05e4be945bf74
This commit is contained in:
Narayan Kamath 2017-11-06 11:40:07 +00:00 committed by Dan Willemsen
parent bd532fbf2e
commit 887c645e02

View file

@ -15,19 +15,18 @@ cc_binary_host {
cflags: ["-Wall", "-Werror"],
// NOTE: Do not add any shared_libs dependencies because they will break the
// static_sdk_tools target.
static_libs: [
"libutils",
"libcutils",
"liblog",
"libziparchive",
"libz",
"libbase",
"libzopfli",
],
shared_libs: [
"libbase",
"libz",
"libziparchive"
],
target: {
windows: {
host_ldlibs: ["-lpthread"],