diff options
author | Tianjie Xu <xunchang@google.com> | 2018-12-11 18:56:20 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-12-11 18:56:20 +0000 |
commit | 4430d4d1481cfc6009e588f8808ed44953adc76f (patch) | |
tree | 62db340f1494c9bb3c7377e5912ace0337d0d251 | |
parent | 9bd5aed1d554c97195d7e02083059db1c94388e3 (diff) | |
parent | 3c4c7eefee80e215ddcb9ecd1f8755374533a1a5 (diff) | |
download | zopfli-4430d4d1481cfc6009e588f8808ed44953adc76f.tar.gz |
Merge "Build zopflipng as host binary"
-rw-r--r-- | Android.bp | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -29,3 +29,24 @@ cc_library { }, }, } + +cc_binary_host { + name: "zopflipng", + + cflags: [ + "-O2", + "-Wno-unused-parameter", + "-Werror", + ], + srcs: [ + "src/zopflipng/lodepng/lodepng.cpp", + "src/zopflipng/lodepng/lodepng_util.cpp", + "src/zopflipng/zopflipng_lib.cc", + "src/zopflipng/zopflipng_bin.cc", + ], + + static_libs: [ + "libzopfli", + ], + +} |