Home | History | Annotate | Download | only in zipalign
      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 
     16     cflags: ["-Wall", "-Werror"],
     17 
     18     // NOTE: Do not add any shared_libs dependencies because they will break the
     19     // static_sdk_tools target.
     20     static_libs: [
     21         "libutils",
     22         "libcutils",
     23         "liblog",
     24         "libziparchive",
     25         "libz",
     26         "libbase",
     27         "libzopfli",
     28     ],
     29 
     30     target: {
     31         windows: {
     32             host_ldlibs: ["-lpthread"],
     33             enabled: true,
     34         },
     35     },
     36 }
     37