summaryrefslogtreecommitdiff
path: root/msm8996/libstagefrighthw
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2018-01-25 15:33:04 -0800
committerSteven Moreland <smoreland@google.com>2018-01-25 15:33:08 -0800
commit2f4cfab53f82601176262efa35d843bb1dd7ea91 (patch)
tree3c15cbf538a014b8928c8d36142e3763ce8200f1 /msm8996/libstagefrighthw
parente3425756a6a3eb0fc6a41664330c139d34e02c9d (diff)
downloadmedia-2f4cfab53f82601176262efa35d843bb1dd7ea91.tar.gz
Make libstagefrighthw build with the VNDK.
When the vndk is enabled (BOARD_VNDK_VERSION=current), vendor libraries must only link against vendor variants in the build system. This also means that they receive restricted sets of headers and that automatic global headers are restricted. Test: build libstagefrighthw with BOARD_VNDK_VERSION=current Bug: 69526027 Change-Id: Icbf9dd22646a1173d1f97e7646a2ee2f4d143074
Diffstat (limited to 'msm8996/libstagefrighthw')
-rw-r--r--msm8996/libstagefrighthw/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/msm8996/libstagefrighthw/Android.mk b/msm8996/libstagefrighthw/Android.mk
index 01d04eb..59969df 100644
--- a/msm8996/libstagefrighthw/Android.mk
+++ b/msm8996/libstagefrighthw/Android.mk
@@ -26,6 +26,8 @@ ifeq ($(PLATFORM_SDK_VERSION), 18) #JB_MR2
LOCAL_CFLAGS += -DANDROID_JELLYBEAN_MR2=1
endif
+LOCAL_HEADER_LIBRARIES := media_plugin_headers
+
LOCAL_C_INCLUDES:= \
frameworks/native/include/media/openmax \
frameworks/native/include/media/hardware