diff options
author | Elliott Hughes <enh@google.com> | 2017-06-22 15:21:23 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-06-22 15:21:23 +0000 |
commit | 031fd68df04462a1fc05f932885d408d95bf70a4 (patch) | |
tree | 4b7fada96893a1046f3161467b3b8c7cedbd8cb0 | |
parent | f330d702e42ddba309f54e5a48f2274bf8a0bfdd (diff) | |
parent | f56c789601b4db04080e307a94d2bdb6da3162f8 (diff) | |
download | xz-embedded-031fd68df04462a1fc05f932885d408d95bf70a4.tar.gz |
Build libxz from external/xz-embedded.
am: f56c789601
Change-Id: I17816db7d1d529242b394d9a6ec015fcafff3245
-rw-r--r-- | Android.bp | 13 | ||||
-rw-r--r-- | MODULE_LICENSE_PUBLIC_DOMAIN | 0 | ||||
l--------- | NOTICE | 1 | ||||
-rw-r--r-- | README.version | 2 |
4 files changed, 16 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..4572804 --- /dev/null +++ b/Android.bp @@ -0,0 +1,13 @@ +cc_library_static { + name: "libxz", + host_supported: true, + srcs: [ + "linux/lib/xz/xz_crc32.c", + "linux/lib/xz/xz_dec_bcj.c", + "linux/lib/xz/xz_dec_lzma2.c", + "linux/lib/xz/xz_dec_stream.c", + ], + include_dirs: ["external/xz-embedded/userspace/"], + cflags: ["-DXZ_DEC_X86", "-DXZ_DEC_ARM", "-DXZ_DEC_ARMTHUMB"], + export_include_dirs: ["linux/include/linux/"], +} diff --git a/MODULE_LICENSE_PUBLIC_DOMAIN b/MODULE_LICENSE_PUBLIC_DOMAIN new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/MODULE_LICENSE_PUBLIC_DOMAIN @@ -0,0 +1 @@ +COPYING
\ No newline at end of file diff --git a/README.version b/README.version new file mode 100644 index 0000000..a9aaf07 --- /dev/null +++ b/README.version @@ -0,0 +1,2 @@ +URL: https://git.tukaani.org/?p=xz-embedded.git +Version: 79b68de5657beecfad575578a7181cf6fca869cb |