summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Android.bp35
-rw-r--r--lib/MODULE_LICENSE_BSD0
l---------lib/NOTICE1
3 files changed, 36 insertions, 0 deletions
diff --git a/lib/Android.bp b/lib/Android.bp
new file mode 100644
index 0000000..26db9bf
--- /dev/null
+++ b/lib/Android.bp
@@ -0,0 +1,35 @@
+// Copyright (C) 2015 The Android Open Source Project
+
+cc_library {
+ name: "liblz4",
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.adbd",
+ "com.android.art.debug", // from libartbase
+ "com.android.art.release",
+ ],
+ recovery_available: true,
+ vendor_available: true,
+ vndk: {
+ enabled: true,
+ },
+ host_supported: true,
+ // TODO(b/153609531): remove when no longer needed.
+ native_bridge_supported: true,
+ target: {
+ windows: {
+ enabled: true,
+ shared: {
+ enabled: false,
+ },
+ },
+ },
+ srcs: [
+ "lz4.c",
+ "lz4hc.c",
+ "lz4frame.c",
+ "xxhash.c",
+ ],
+ cflags: ["-Wall", "-Werror"],
+ export_include_dirs: ["."],
+}
diff --git a/lib/MODULE_LICENSE_BSD b/lib/MODULE_LICENSE_BSD
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/lib/MODULE_LICENSE_BSD
diff --git a/lib/NOTICE b/lib/NOTICE
new file mode 120000
index 0000000..7a694c9
--- /dev/null
+++ b/lib/NOTICE
@@ -0,0 +1 @@
+LICENSE \ No newline at end of file