diff options
author | Elliott Hughes <enh@google.com> | 2017-03-29 00:43:47 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-29 00:43:47 +0000 |
commit | 55bdb20ae48dd0a5afd32d61ab05619d077602a3 (patch) | |
tree | 2fd9be72fe9b9aa30236ab55346a2bfdae263d12 | |
parent | 9ab9d8598abab75d34286274520815fe454252a9 (diff) | |
parent | 14c349bda90ff568bfd8b6bac617483ebd81d131 (diff) | |
download | bzip2-55bdb20ae48dd0a5afd32d61ab05619d077602a3.tar.gz |
Merge "Build bzip2/bunzip2/bzcat." am: fc47d4667b am: 0600e5668b am: 1751d0ef09
am: 14c349bda9
Change-Id: I5d67b959abef2971ca096cf52a833946b5bea783
-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", + ], +} |