Upgrade xz-embedded to 3f438e15109229bb14ab45f285f4bff5412a9542
Test: make
Change-Id: I7eb36c456de507dfb5f0501714ef54a4c274cf1a
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..602e8a7
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,40 @@
+package {
+ default_applicable_licenses: ["external_xz-embedded_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_xz-embedded_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "legacy_unencumbered",
+ ],
+ license_text: [
+ "COPYING",
+ ],
+}
+
+cc_library_static {
+ name: "libxz",
+ host_supported: true,
+ recovery_available: 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",
+ ],
+ local_include_dirs: ["userspace"],
+
+ // Enable branch/call/jump filters. See http://b/27817327.
+ cflags: [
+ "-DXZ_DEC_X86",
+ "-DXZ_DEC_ARM",
+ "-DXZ_DEC_ARMTHUMB",
+ "-Wall",
+ "-Werror",
+ ],
+
+ export_include_dirs: ["linux/include/linux/"],
+}
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..72800f8
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,15 @@
+name: "xz-embedded"
+description: "XZ Embedded"
+third_party {
+ url {
+ type: GIT
+ value: "https://git.tukaani.org/xz-embedded.git"
+ }
+ version: "3f438e15109229bb14ab45f285f4bff5412a9542"
+ license_type: UNENCUMBERED
+ last_upgrade_date {
+ year: 2021
+ month: 10
+ day: 11
+ }
+}
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
diff --git a/NOTICE b/NOTICE
new file mode 120000
index 0000000..d24842f
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1 @@
+COPYING
\ No newline at end of file
diff --git a/OWNERS b/OWNERS
new file mode 100644
index 0000000..0c1eae6
--- /dev/null
+++ b/OWNERS
@@ -0,0 +1,5 @@
+# Default code reviewers picked from top 3 or more developers.
+# Please update this list if you find better candidates.
[email protected]
[email protected]
[email protected]
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