2017-09-09 22:37:03 +02:00
|
|
|
//
|
|
|
|
// Copyright 2008 The Android Open Source Project
|
|
|
|
//
|
|
|
|
// Zip alignment tool
|
|
|
|
//
|
|
|
|
|
|
|
|
cc_binary_host {
|
|
|
|
name: "zipalign",
|
|
|
|
|
|
|
|
srcs: [
|
|
|
|
"ZipAlign.cpp",
|
|
|
|
"ZipEntry.cpp",
|
|
|
|
"ZipFile.cpp",
|
|
|
|
],
|
|
|
|
|
2017-10-03 22:45:03 +02:00
|
|
|
cflags: ["-Wall", "-Werror"],
|
|
|
|
|
2017-11-06 12:40:07 +01:00
|
|
|
// NOTE: Do not add any shared_libs dependencies because they will break the
|
|
|
|
// static_sdk_tools target.
|
2017-09-09 22:37:03 +02:00
|
|
|
static_libs: [
|
|
|
|
"libutils",
|
|
|
|
"libcutils",
|
|
|
|
"liblog",
|
2017-11-06 12:40:07 +01:00
|
|
|
"libziparchive",
|
|
|
|
"libz",
|
|
|
|
"libbase",
|
2017-09-09 22:37:03 +02:00
|
|
|
"libzopfli",
|
2017-10-26 19:00:13 +02:00
|
|
|
],
|
|
|
|
|
2017-09-09 22:37:03 +02:00
|
|
|
target: {
|
|
|
|
windows: {
|
|
|
|
host_ldlibs: ["-lpthread"],
|
|
|
|
enabled: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|