diff options
author | Elliott Hughes <enh@google.com> | 2017-03-29 00:36:31 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-29 00:36:31 +0000 |
commit | 0600e5668b2b1590c2f908a5c420149c6581122e (patch) | |
tree | 2fd9be72fe9b9aa30236ab55346a2bfdae263d12 | |
parent | 2cb42e2caf08d109428a5a9c642eb7868734f5ad (diff) | |
parent | fc47d4667b92f0282dda6ba459f445fcc8e88908 (diff) | |
download | bzip2-0600e5668b2b1590c2f908a5c420149c6581122e.tar.gz |
Merge "Build bzip2/bunzip2/bzcat."android-wear-o-preview-4android-wear-o-preview-3android-o-preview-4android-o-preview-3android-o-preview-2android-o-iot-preview-5android-n-iot-preview-4o-iot-preview-5n-iot-preview-4
am: fc47d4667b
Change-Id: I4eec4fc8efa4ec63ccbc1fd5f04ec87cf798b2a7
-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", + ], +} |