blob: 8e6196d291dc4e8b9f9bb0c6ac1af5e3992052f1 [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
Narayan Kamath887c6452017-11-06 11:40:07 +000018 // NOTE: Do not add any shared_libs dependencies because they will break the
19 // static_sdk_tools target.
Dan Willemsenc0a0f2d2017-09-09 13:37:03 -070020 static_libs: [
Dan Willemsenc0a0f2d2017-09-09 13:37:03 -070021 "libutils",
22 "libcutils",
23 "liblog",
Narayan Kamath887c6452017-11-06 11:40:07 +000024 "libziparchive",
25 "libz",
26 "libbase",
Dan Willemsenc0a0f2d2017-09-09 13:37:03 -070027 "libzopfli",
Narayan Kamath0e4110e2017-10-26 18:00:13 +010028 ],
29
Dan Willemsenc0a0f2d2017-09-09 13:37:03 -070030 target: {
31 windows: {
32 host_ldlibs: ["-lpthread"],
33 enabled: true,
34 },
35 },
36}