forked from intel/omxil_core
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAndroid.mk
40 lines (29 loc) · 956 Bytes
/
Android.mk
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
ifeq ($(strip $(BOARD_USES_WRS_OMXIL_CORE)),true)
LOCAL_PATH := $(call my-dir)
#Version set to Android Jelly Bean
NEED_VERSION := 4.1
USE_ALOG := $(filter $(NEED_VERSION),$(firstword $(sort $(PLATFORM_VERSION) \
$(NEED_VERSION))))
#Android Jelly Bean defined ALOGx, older versions use LOGx
ifeq ($(USE_ALOG), $(NEED_VERSION))
OMXLOG_CFLAGS := -DANDROID_ALOG
else
OMXLOG_CFLAGS := -DANDROID_LOG
endif
include $(CLEAR_VARS)
LOCAL_MODULE := 10_wrs_omxil_core.cfg
LOCAL_SRC_FILES := 10_wrs_omxil_core.cfg
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_TAGS := optional
include $(BUILD_PREBUILT)
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
endif