diff --git a/tools/zipalign/Android.bp b/tools/zipalign/Android.bp index e80054aa4c..8e6196d291 100644 --- a/tools/zipalign/Android.bp +++ b/tools/zipalign/Android.bp @@ -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"],