diff options
author | Dan Albert <danalbert@google.com> | 2014-12-02 14:03:09 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-12-02 14:05:50 -0800 |
commit | b805b31ac949cd1934d8fa8c0c8c15a9c9ec1129 (patch) | |
tree | bd0df08616fe4c811e740b5e8b29b171c66a9eb3 /cmds/stagefright | |
parent | 9014f5909920f2bb88687364876c1f7eaa014583 (diff) | |
download | frameworks_av-b805b31ac949cd1934d8fa8c0c8c15a9c9ec1129.zip frameworks_av-b805b31ac949cd1934d8fa8c0c8c15a9c9ec1129.tar.gz frameworks_av-b805b31ac949cd1934d8fa8c0c8c15a9c9ec1129.tar.bz2 |
Clean up makefile to fix build.
mediafilter was defining LOCAL_NDK_STL_VARIANT, but never setting
LOCAL_SDK_VERSION, so it was a no-op. Since the project was still
manually setting the stlport include path, it was getting the stlport
headers with precedence over libc++, which breaks the world.
Once that is fixed, the project has never linked libRScpp, which is
required (I'm not sure how this part has ever worked).
Change-Id: Iac70c86bc150eea08329812c0d5744434318d28e
Diffstat (limited to 'cmds/stagefright')
-rw-r--r-- | cmds/stagefright/Android.mk | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/cmds/stagefright/Android.mk b/cmds/stagefright/Android.mk index 78c89bb..0e3bc68 100644 --- a/cmds/stagefright/Android.mk +++ b/cmds/stagefright/Android.mk @@ -169,8 +169,6 @@ include $(BUILD_EXECUTABLE) include $(CLEAR_VARS) -LOCAL_NDK_STL_VARIANT := stlport_static - LOCAL_SRC_FILES:= \ filters/argbtorgba.rs \ filters/nightvision.rs \ @@ -178,12 +176,18 @@ LOCAL_SRC_FILES:= \ mediafilter.cpp \ LOCAL_SHARED_LIBRARIES := \ - libstagefright liblog libutils libbinder libstagefright_foundation \ - libmedia libgui libcutils libui + libstagefright \ + liblog \ + libutils \ + libbinder \ + libstagefright_foundation \ + libmedia \ + libgui \ + libcutils \ + libui \ + libRScpp \ LOCAL_C_INCLUDES:= \ - $(TOP)/bionic \ - $(TOP)/external/stlport/stlport \ $(TOP)/frameworks/av/media/libstagefright \ $(TOP)/frameworks/native/include/media/openmax \ $(TOP)/frameworks/rs/cpp \ |