blob: e80054aa4ca14c23026ce257abcaf639a27a3ab9 [file] [log] [blame]
Dan Willemsenc0a0f2d2017-09-09 13:37:03 -07001//
2// Copyright 2008 The Android Open Source Project
3//
4// Zip alignment tool
5//
6
7cc_binary_host {
8 name: "zipalign",
9
10 srcs: [
11 "ZipAlign.cpp",
12 "ZipEntry.cpp",
13 "ZipFile.cpp",
14 ],
15
Chih-Hung Hsieh2a5bc9d2017-10-03 13:45:03 -070016 cflags: ["-Wall", "-Werror"],
17
Dan Willemsenc0a0f2d2017-09-09 13:37:03 -070018 static_libs: [
Dan Willemsenc0a0f2d2017-09-09 13:37:03 -070019 "libutils",
20 "libcutils",
21 "liblog",
22 "libzopfli",
Narayan Kamath0e4110e2017-10-26 18:00:13 +010023 ],
24
25 shared_libs: [
26 "libbase",
27 "libz",
28 "libziparchive"
Dan Willemsenc0a0f2d2017-09-09 13:37:03 -070029 ],
30
31 target: {
32 windows: {
33 host_ldlibs: ["-lpthread"],
34 enabled: true,
35 },
36 },
37}