aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
blob: d1f97475dda52e60cf1a569656b9c64ab03fcadf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
ifeq ($(strip $(BOARD_USES_WRS_OMXIL_CORE)),true)

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_COPY_HEADERS_TO := khronos/openmax

LOCAL_COPY_HEADERS := \
    core/inc/khronos/openmax/include/OMX_IntelErrorTypes.h \
    core/inc/khronos/openmax/include/OMX_IntelIndexExt.h \
    core/inc/khronos/openmax/include/OMX_IntelVideoExt.h

include $(BUILD_COPY_HEADERS)

include $(CLEAR_VARS)
LOCAL_COPY_HEADERS_TO := wrs_omxil_core
LOCAL_COPY_HEADERS := \
    base/inc/cmodule.h \
    base/inc/componentbase.h \
    base/inc/portaudio.h \
    base/inc/portbase.h \
    base/inc/portimage.h \
    base/inc/portother.h \
    base/inc/portvideo.h \
    utils/inc/audio_parser.h \
    utils/inc/list.h \
    utils/inc/log.h \
    utils/inc/module.h \
    utils/inc/queue.h \
    utils/inc/thread.h \
    utils/inc/workqueue.h
include $(BUILD_COPY_HEADERS)

include $(CLEAR_VARS)

WRS_OMXIL_CORE_ROOT := $(LOCAL_PATH)

COMPONENT_SUPPORT_BUFFER_SHARING := false
COMPONENT_SUPPORT_OPENCORE := false

# core
-include $(WRS_OMXIL_CORE_ROOT)/core/src/Android.mk

# base class
-include $(WRS_OMXIL_CORE_ROOT)/base/src/Android.mk

# utility
-include $(WRS_OMXIL_CORE_ROOT)/utils/src/Android.mk

LOCAL_CFLAGS += -Werror
endif