summaryrefslogtreecommitdiff
path: root/msm8998
diff options
context:
space:
mode:
authorSanthosh Behara <santhoshbehara@codeaurora.org>2017-06-20 15:56:35 -0700
committerPawin Vongmasa <pawin@google.com>2017-07-10 23:20:28 +0000
commitff1ee57986cf452559d89f06c668b882c319953a (patch)
treed819933fba4a5333229e625b5f6ab072cf60ad65 /msm8998
parent72a6741bef5699f38df4d95864d7fcdc2ca53d6e (diff)
downloadmedia-ff1ee57986cf452559d89f06c668b882c319953a.tar.gz
mm-video-v4l2: remove legacy compilation flag TARGET_USES_MEDIA_EXTENSIONS
This flag was used to conditionally disable features not backwards compatible with older android versions. This is not needed anymore. Moreover, this was disabling the required features in builds where this flag was not defined. Test: make gts -j123 && gts-tradefed run gts -m \ GtsMediaTestCases -t \ com.google.android.media.gts.WidevineCodecStressTests Test: make cts -j123 && cts-tradefed run cts-dev -m \ CtsMediaTestCases --compatibility:module-arg \ CtsMediaTestCases:include-annotation:\ android.platform.test.annotations.RequiresDevice Bug: 62276042 CRs-Fixed: 2064239 Author: pchavan@codeaurora.org Merged-In: Ie4d1754ee01b644aaafc4cd958ea858ebc5507ac Change-Id: Ie4d1754ee01b644aaafc4cd958ea858ebc5507ac (cherry picked from commit d65458b9b8b5b8f7109dce36f0c3805817aaf2e3)
Diffstat (limited to 'msm8998')
-rw-r--r--msm8998/mm-video-v4l2/vidc/vdec/Android.mk2
-rw-r--r--msm8998/mm-video-v4l2/vidc/venc/Android.mk4
2 files changed, 0 insertions, 6 deletions
diff --git a/msm8998/mm-video-v4l2/vidc/vdec/Android.mk b/msm8998/mm-video-v4l2/vidc/vdec/Android.mk
index e5e3138..60b07cb 100644
--- a/msm8998/mm-video-v4l2/vidc/vdec/Android.mk
+++ b/msm8998/mm-video-v4l2/vidc/vdec/Android.mk
@@ -99,9 +99,7 @@ ifeq ($(call is-platform-sdk-version-at-least, 22),true)
libmm-vdec-def += -DFLEXYUV_SUPPORTED
endif
-ifeq ($(TARGET_USES_MEDIA_EXTENSIONS),true)
libmm-vdec-def += -DALLOCATE_OUTPUT_NATIVEHANDLE
-endif
# ---------------------------------------------------------------------------------
# Make the Shared library (libOmxVdec)
diff --git a/msm8998/mm-video-v4l2/vidc/venc/Android.mk b/msm8998/mm-video-v4l2/vidc/venc/Android.mk
index cc37522..d65b9ec 100644
--- a/msm8998/mm-video-v4l2/vidc/venc/Android.mk
+++ b/msm8998/mm-video-v4l2/vidc/venc/Android.mk
@@ -65,17 +65,13 @@ ifeq ($(TARGET_USES_ION),true)
libmm-venc-def += -DUSE_ION
endif
-ifeq ($(TARGET_USES_MEDIA_EXTENSIONS),true)
libmm-venc-def += -DUSE_NATIVE_HANDLE_SOURCE
-endif
ifeq ($(call is-board-platform-in-list, $(MASTER_SIDE_CP_TARGET_LIST)),true)
libmm-venc-def += -DMASTER_SIDE_CP
endif
-ifeq ($(TARGET_USES_MEDIA_EXTENSIONS),true)
libmm-venc-def += -DSUPPORT_CONFIG_INTRA_REFRESH
-endif
libmm-venc-def += -DUSE_CAMERA_METABUFFER_UTILS