Files
build/tools/zipalign/Android.bp
Joanne Chung 2736c6f046 Revert "Refactor zipalign to allow unit tests"
This reverts commit d4f71a97bd.

Reason for revert: Looks to have broken apsp master b/171754371

Change-Id: I17ec7ab20834f6b0dbdf49668c41d3e76c0c1e41
2020-10-27 03:22:02 +00:00

37 lines
648 B
Plaintext

//
// Copyright 2008 The Android Open Source Project
//
// Zip alignment tool
//
cc_binary_host {
name: "zipalign",
srcs: [
"ZipAlign.cpp",
"ZipEntry.cpp",
"ZipFile.cpp",
],
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",
],
target: {
windows: {
host_ldlibs: ["-lpthread"],
enabled: true,
},
},
}