aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp13
1 files changed, 13 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/"],
+}