media: Drop LOCAL_COPY_HEADERS usage
LOCAL_COPY_HEADERS is deprecated, so remove all its usages
to avoid build warnings.
Change-Id: I8c9de08610e8d94da568b46b3e8c221007c850a0
diff --git a/libstagefrighthw/Android.mk b/libstagefrighthw/Android.mk
index 89f17d7..b4ebd4b 100644
--- a/libstagefrighthw/Android.mk
+++ b/libstagefrighthw/Android.mk
@@ -17,14 +17,6 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
-#===============================================================================
-# Deploy the headers that can be exposed
-#===============================================================================
-
-LOCAL_COPY_HEADERS_TO := mm-core/omxcore
-LOCAL_COPY_HEADERS := QComOMXMetadata.h \
- QComOMXPlugin.h
-
LOCAL_SRC_FILES := \
QComOMXPlugin.cpp \
@@ -43,8 +35,6 @@
libcutils_headers \
libutils_headers
-LOCAL_C_INCLUDES:= $(TARGET_OUT_HEADERS)/mm-core/omxcore/
-
LOCAL_SHARED_LIBRARIES := \
libutils \
libcutils \
diff --git a/mm-core/Android.mk b/mm-core/Android.mk
index c95e57e..d42f55c 100644
--- a/mm-core/Android.mk
+++ b/mm-core/Android.mk
@@ -63,39 +63,6 @@
endif
#===============================================================================
-# Deploy the headers that can be exposed
-#===============================================================================
-
-LOCAL_COPY_HEADERS_TO := mm-core/omxcore
-LOCAL_COPY_HEADERS := inc/OMX_Audio.h
-LOCAL_COPY_HEADERS += inc/OMX_Component.h
-LOCAL_COPY_HEADERS += inc/OMX_ContentPipe.h
-LOCAL_COPY_HEADERS += inc/OMX_Core.h
-LOCAL_COPY_HEADERS += inc/OMX_Image.h
-LOCAL_COPY_HEADERS += inc/OMX_Index.h
-LOCAL_COPY_HEADERS += inc/OMX_IVCommon.h
-LOCAL_COPY_HEADERS += inc/OMX_Other.h
-LOCAL_COPY_HEADERS += inc/OMX_QCOMExtns.h
-LOCAL_COPY_HEADERS += inc/OMX_Types.h
-LOCAL_COPY_HEADERS += inc/OMX_Video.h
-LOCAL_COPY_HEADERS += inc/qc_omx_common.h
-LOCAL_COPY_HEADERS += inc/qc_omx_component.h
-LOCAL_COPY_HEADERS += inc/qc_omx_msg.h
-LOCAL_COPY_HEADERS += inc/QOMX_AudioExtensions.h
-LOCAL_COPY_HEADERS += inc/QOMX_AudioIndexExtensions.h
-LOCAL_COPY_HEADERS += inc/OMX_CoreExt.h
-LOCAL_COPY_HEADERS += inc/QOMX_CoreExtensions.h
-LOCAL_COPY_HEADERS += inc/QOMX_FileFormatExtensions.h
-LOCAL_COPY_HEADERS += inc/QOMX_IVCommonExtensions.h
-LOCAL_COPY_HEADERS += inc/QOMX_SourceExtensions.h
-LOCAL_COPY_HEADERS += inc/QOMX_VideoExtensions.h
-LOCAL_COPY_HEADERS += inc/OMX_IndexExt.h
-LOCAL_COPY_HEADERS += inc/OMX_VideoExt.h
-LOCAL_COPY_HEADERS += inc/QOMX_StreamingExtensions.h
-LOCAL_COPY_HEADERS += inc/QCMediaDefs.h
-LOCAL_COPY_HEADERS += inc/QCMetaData.h
-
-#===============================================================================
# LIBRARY for Android apps
#===============================================================================