diff options
author | Tatenda Chipeperekwa <tatendac@codeaurora.org> | 2014-07-02 19:09:04 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-11-05 16:46:06 -0800 |
commit | 262a62c19e8b09c4e6b271c9522e7eb318e0d574 (patch) | |
tree | 2c7636fd5da492fff9de234b72c4fbac759a19cd /media/libstagefright/Android.mk | |
parent | 36a5d0626d308c7dd04a6e0c8aa06a91d2398d3e (diff) | |
download | frameworks_av-262a62c19e8b09c4e6b271c9522e7eb318e0d574.zip frameworks_av-262a62c19e8b09c4e6b271c9522e7eb318e0d574.tar.gz frameworks_av-262a62c19e8b09c4e6b271c9522e7eb318e0d574.tar.bz2 |
libstagefright: Add WFD specific flags to consumer usage flags
Add the GRALLOC_USAGE_PRIVATE_WFD flag to the consumer usage
flags to allow the display framework to distinguish WFD from
other virtual display connections.
Change-Id: I7cdbac3716fb5c18d1691701accb8e66f388de86
Diffstat (limited to 'media/libstagefright/Android.mk')
-rw-r--r-- | media/libstagefright/Android.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/media/libstagefright/Android.mk b/media/libstagefright/Android.mk index b2729af..9687c7d 100644 --- a/media/libstagefright/Android.mk +++ b/media/libstagefright/Android.mk @@ -132,6 +132,11 @@ LOCAL_SHARED_LIBRARIES += \ LOCAL_CFLAGS += -Wno-multichar -Werror -Wno-error=deprecated-declarations -Wall +ifeq ($(TARGET_USES_QCOM_BSP), true) + LOCAL_C_INCLUDES += hardware/qcom/display/libgralloc + LOCAL_CFLAGS += -DQTI_BSP +endif + # enable experiments only in userdebug and eng builds ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) LOCAL_CFLAGS += -DENABLE_STAGEFRIGHT_EXPERIMENTS |