aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorLiu, Shuo <shuo.liu@intel.com>2011-02-18 11:41:55 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:42 -0700
commitb8eda0b99e7f867550c53475dce606bbea97ff76 (patch)
treee9a9b9fe7039ac116bfb43f864fff9456ca542a8 /Android.mk
parent890862985914283b601eb2de93741f6eb2c44f5c (diff)
downloadandroid_hardware_intel_common_omx-components-b8eda0b99e7f867550c53475dce606bbea97ff76.tar.gz
android_hardware_intel_common_omx-components-b8eda0b99e7f867550c53475dce606bbea97ff76.tar.bz2
android_hardware_intel_common_omx-components-b8eda0b99e7f867550c53475dce606bbea97ff76.zip
Add COMPONENT_SUPPORT_OPNECORE flag to enable backward compatibility of Froyo for debug
Change-Id: I06f6d617aba340def4dffce504bc2218d8e6c5ff Signed-off-by: Liu, Shuo <shuo.liu@intel.com>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index 5b46e8d..3fbe09c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -5,6 +5,9 @@ include $(CLEAR_VARS)
VENDORS_INTEL_MRST_COMPONENTS_ROOT := $(LOCAL_PATH)
+COMPONENT_SUPPORT_BUFFER_SHARING := false
+COMPONENT_SUPPORT_OPENCORE := false
+
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wrs_omxil_components.list:system/etc/wrs_omxil_components.list
#$(call add-prebuilt-files, ETC, wrs_omxil_components.list)
@@ -15,8 +18,9 @@ GLIB_TOP := hardware/intel/glib
LIBVA_TOP := hardware/intel/libva
LIBINFODUMP_TOP := hardware/intel/omx-components/libinfodump
LIBBASECODEC_TOP:= hardware/intel/omx-components/libbasecodec
-#PV_TOP := external/opencore
-ifeq (1,0)
+
+ifeq ($(strip $(COMPONENT_SUPPORT_OPENCORE)), true)
+PV_TOP := external/opencore
PV_INCLUDES := \
$(PV_TOP)/android \
$(PV_TOP)/extern_libs_v2/khronos/openmax/include \
@@ -37,7 +41,6 @@ endif
# mrst sst audio
#-include $(VENDORS_INTEL_MRST_COMPONENTS_ROOT)/sst/Android.mk
-COMPONENT_USE_BUFFERSHARING := false
#intel video decoders
include $(VENDORS_INTEL_MRST_COMPONENTS_ROOT)/psb/Android.mk