Fix build.

This project is still using stlport (without telling the build system
about it), which was causing (broken) stlport headers to override
libc++ headers, leading to a broken copy of std::enable_if, which in
turn caused <atomic> to fail to compile. Since this project has
prebuilts that will need to be updated before this project can
actually move away from stlport, tell the build system that it is
still using stlport for now.

Bug: 18433002
Change-Id: I38b356428977ed2184eb28a07bd5e7424a4ace8d
This commit is contained in:
Dan Albert
2014-11-25 13:33:00 -08:00
parent 967a9704d0
commit de4bc34719
17 changed files with 35 additions and 57 deletions

View File

@@ -5,9 +5,7 @@ LOCAL_SRC_FILES := \
WVDrmPlugin_test.cpp \
LOCAL_C_INCLUDES := \
bionic \
external/gtest/include \
external/stlport/stlport \
frameworks/av/include \
frameworks/native/include \
vendor/widevine/libwvdrmengine/cdm/core/include \
@@ -23,7 +21,7 @@ LOCAL_STATIC_LIBRARIES := \
libcdm_utils \
libgmock \
libgmock_main \
libgtest \
libgtest_ndk \
libwvlevel3 \
libprotobuf-cpp-2.3.0-lite \
libwvdrmdrmplugin \
@@ -33,7 +31,6 @@ LOCAL_SHARED_LIBRARIES := \
libcutils \
libdl \
liblog \
libstlport \
libutils \
# Needed to use gMock 1.7.0 on Android
@@ -61,4 +58,6 @@ LOCAL_MODULE_TAGS := tests
LOCAL_MODULE_TARGET_ARCH := arm mips x86
LOCAL_CXX_STL := stlport
include $(BUILD_EXECUTABLE)