aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2018-05-03 16:07:03 -0700
committerChristopher Ferris <cferris@google.com>2018-05-03 16:25:54 -0700
commit91b43a4dfe8239a38434d6d4a1f272139b915896 (patch)
tree86ff2b77e88ef9d1ba7610933b095faacc7ba52e
parent41ba0e90f33fe3b5d1467e4fab5e0a709685c0db (diff)
downloadlibunwind-91b43a4dfe8239a38434d6d4a1f272139b915896.tar.gz
libunwind is being deprecated and this dependency is making it difficult to upgrade liblzma. This is the first step to complete removal. Bug: 79209464 Test: Compiles. Change-Id: Iee41810df670e679f19ae241fe4b6634798462a0
-rw-r--r--Android.bp2
-rw-r--r--include/config.h2
-rw-r--r--src/elfxx.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index cb527c59..5f546955 100644
--- a/Android.bp
+++ b/Android.bp
@@ -414,8 +414,6 @@ cc_library {
export_include_dirs: ["include"],
- shared_libs: ["liblzma"],
-
debug: {
//shared_libs: ["liblog"],
},
diff --git a/include/config.h b/include/config.h
index 48549f6a..bcef953a 100644
--- a/include/config.h
+++ b/include/config.h
@@ -131,7 +131,7 @@
#define HAVE_LINK_H 1
/* Define if you have liblzma */
-#define HAVE_LZMA 1
+/* #undef HAVE_LZMA */
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
diff --git a/src/elfxx.c b/src/elfxx.c
index 057a3baf..a0500380 100644
--- a/src/elfxx.c
+++ b/src/elfxx.c
@@ -509,7 +509,7 @@ elf_w (xz_decompress) (uint8_t* src, size_t src_size,
*dst = realloc(*dst, *dst_size);
return true;
#else
- Debug (1, "Decompression failed - compiled without LZMA support.\n",
+ Debug (1, "Decompression failed - compiled without LZMA support.\n");
return false;
#endif // HAVE_LZMA
}