[Android] android-libs: add libhardware

Thomas Guillem git at videolan.org
Sat Nov 15 12:42:00 CET 2014


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Nov 14 17:10:17 2014 +0100| [22f30647849ab8e15f09507b70521d82f8771fb8] | committer: Jean-Baptiste Kempf

android-libs: add libhardware

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=22f30647849ab8e15f09507b70521d82f8771fb8
---

 Makefile                         |    2 +-
 android-libs/libhardware.symbols |    1 +
 dump-libs.sh                     |    4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 3c0c2c5..558081a 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ LIBVLCJNI= $(addprefix $(SRC)/obj/local/$(ARCH)/,$(addsuffix .so,$(LIBVLC_LIBS))
 LIBVLCJNI_H=$(SRC)/jni/libvlcjni.h
 
 PRIVATE_LIBDIR=android-libs
-PRIVATE_LIBS=$(PRIVATE_LIBDIR)/libstagefright.so $(PRIVATE_LIBDIR)/libmedia.so $(PRIVATE_LIBDIR)/libutils.so $(PRIVATE_LIBDIR)/libcutils.so $(PRIVATE_LIBDIR)/libbinder.so $(PRIVATE_LIBDIR)/libui.so
+PRIVATE_LIBS=$(PRIVATE_LIBDIR)/libstagefright.so $(PRIVATE_LIBDIR)/libmedia.so $(PRIVATE_LIBDIR)/libutils.so $(PRIVATE_LIBDIR)/libcutils.so $(PRIVATE_LIBDIR)/libbinder.so $(PRIVATE_LIBDIR)/libui.so $(PRIVATE_LIBDIR)/libhardware.so
 
 ifneq ($(V),)
 ANT_OPTS += -v
diff --git a/android-libs/libhardware.symbols b/android-libs/libhardware.symbols
new file mode 100644
index 0000000..4bb06fe
--- /dev/null
+++ b/android-libs/libhardware.symbols
@@ -0,0 +1 @@
+hw_get_module
diff --git a/dump-libs.sh b/dump-libs.sh
index 6f8f9f3..1aad62a 100755
--- a/dump-libs.sh
+++ b/dump-libs.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 
-for i in stagefright media utils cutils binder ui ui-hc; do
-	nm -D --defined-only lib$i.so | awk '{print $3}' | grep -v ^__aeabi | grep '\(IInterface\|OMXObserver\|MemoryDealer\|Binder\|RefBase\|String\|OMXClient\|IMemory\|GraphicBuffer\|android_atomic\|^str\)' > lib$i.symbols
+for i in stagefright media utils cutils binder ui ui-hc hardware; do
+	nm -D --defined-only lib$i.so | awk '{print $3}' | grep -v ^__aeabi | grep '\(IInterface\|OMXObserver\|MemoryDealer\|Binder\|RefBase\|String\|OMXClient\|IMemory\|GraphicBuffer\|android_atomic\|^str\|hw_get_module\)' > lib$i.symbols
 done
 
 cat libui.symbols libui-hc.symbols | sort | uniq > tmp



More information about the Android mailing list