diff options
author | Elliott Hughes <enh@google.com> | 2017-03-27 22:58:44 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-03-27 22:58:44 -0700 |
commit | 9fa5f2d123ef61213bb74d261a982a5da30147de (patch) | |
tree | 2fd9be72fe9b9aa30236ab55346a2bfdae263d12 | |
parent | 2cb42e2caf08d109428a5a9c642eb7868734f5ad (diff) | |
download | bzip2-9fa5f2d123ef61213bb74d261a982a5da30147de.tar.gz |
Build bzip2/bunzip2/bzcat.
Bug: http://b/36653808
Test: builds
Change-Id: I5d811f7cee391b1b8ab9ab1511d5a8c95d405a3a
-rw-r--r-- | Android.bp | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. - cc_library_static { name: "libbz", host_supported: true, @@ -41,3 +40,19 @@ cc_library_static { sdk_version: "9", stl: "none", } + +cc_binary { + name: "bzip2", + srcs: ["bzip2.c"], + // This is only static because we don't currently have libbz.so on device. + // If that changes, change this too. + static_libs: ["libbz"], + stl: "none", + cflags: [ + "-Wno-unused-parameter", + ], + symlinks: [ + "bunzip2", + "bzcat", + ], +} |