diff options
author | Christopher Ferris <cferris@google.com> | 2018-05-03 16:07:03 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2018-05-03 16:25:54 -0700 |
commit | 91b43a4dfe8239a38434d6d4a1f272139b915896 (patch) | |
tree | 86ff2b77e88ef9d1ba7610933b095faacc7ba52e | |
parent | 41ba0e90f33fe3b5d1467e4fab5e0a709685c0db (diff) | |
download | libunwind-91b43a4dfe8239a38434d6d4a1f272139b915896.tar.gz |
Remove dependency on liblzma.android-wear-p-preview-2android-p-preview-3android-p-preview-2android-o-mr1-iot-release-1.0.0
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.bp | 2 | ||||
-rw-r--r-- | include/config.h | 2 | ||||
-rw-r--r-- | src/elfxx.c | 2 |
3 files changed, 2 insertions, 4 deletions
@@ -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 } |