Dan Willemsen | c0a0f2d | 2017-09-09 13:37:03 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright 2008 The Android Open Source Project |
| 3 | // |
| 4 | // Zip alignment tool |
| 5 | // |
| 6 | |
| 7 | cc_binary_host { |
| 8 | name: "zipalign", |
| 9 | |
| 10 | srcs: [ |
| 11 | "ZipAlign.cpp", |
| 12 | "ZipEntry.cpp", |
| 13 | "ZipFile.cpp", |
| 14 | ], |
| 15 | |
Chih-Hung Hsieh | 2a5bc9d | 2017-10-03 13:45:03 -0700 | [diff] [blame] | 16 | cflags: ["-Wall", "-Werror"], |
| 17 | |
Dan Willemsen | c0a0f2d | 2017-09-09 13:37:03 -0700 | [diff] [blame] | 18 | static_libs: [ |
Dan Willemsen | c0a0f2d | 2017-09-09 13:37:03 -0700 | [diff] [blame] | 19 | "libutils", |
| 20 | "libcutils", |
| 21 | "liblog", |
| 22 | "libzopfli", |
Narayan Kamath | 0e4110e | 2017-10-26 18:00:13 +0100 | [diff] [blame^] | 23 | ], |
| 24 | |
| 25 | shared_libs: [ |
| 26 | "libbase", |
| 27 | "libz", |
| 28 | "libziparchive" |
Dan Willemsen | c0a0f2d | 2017-09-09 13:37:03 -0700 | [diff] [blame] | 29 | ], |
| 30 | |
| 31 | target: { |
| 32 | windows: { |
| 33 | host_ldlibs: ["-lpthread"], |
| 34 | enabled: true, |
| 35 | }, |
| 36 | }, |
| 37 | } |