summaryrefslogtreecommitdiff
path: root/libstagefrighthw
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2018-03-27 10:04:55 -0700
committerSteven Moreland <smoreland@google.com>2018-03-27 10:05:04 -0700
commitc8458fbea213076983f21c6fe5e505dc480d72cf (patch)
tree3b72e0624a7c98c75bbd069f6ef071e4ec1ded71 /libstagefrighthw
parent65f87aee293816a061008555926bf664953c3f7c (diff)
downloadmedia-c8458fbea213076983f21c6fe5e505dc480d72cf.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: 69574580 Change-Id: If19a90bdf6e1e33bbf27cf61579a04f49fcc0236
Diffstat (limited to 'libstagefrighthw')
-rwxr-xr-xlibstagefrighthw/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/libstagefrighthw/Android.mk b/libstagefrighthw/Android.mk
index 4979a21f..bfd12f83 100755
--- a/libstagefrighthw/Android.mk
+++ b/libstagefrighthw/Android.mk
@@ -48,6 +48,9 @@ LOCAL_SHARED_LIBRARIES := \
libcutils \
libdl \
+LOCAL_HEADER_LIBRARIES := \
+ media_plugin_headers
+
LOCAL_MODULE := libstagefrighthw
LOCAL_VENDOR_MODULE := true