exynos5: allow selective variant to be used
[GitHub/LineageOS/android_hardware_samsung_slsi_exynos5.git] / Android.mk
1 #
2 #
3 # Copyright (C) 2009 The Android Open Source Project
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #
17
18 ifeq ($(TARGET_BOARD_PLATFORM),exynos5)
19 ifeq ($(TARGET_SLSI_VARIANT),)
20
21 exynos5_dirs := \
22 libion_exynos \
23 libexynosutils \
24 exynos_omx \
25 libcsc \
26 libgscaler \
27 librotator \
28 libstagefrighthw \
29 libswconverter \
30 libv4l2 \
31 libhwjpeg \
32 libhwc \
33 libcamera2 \
34 mobicore \
35 libkeymaster \
36 gralloc \
37 libsecurepath
38
39 BOARD_USE_V4L2 := true
40 BOARD_USE_V4L2_ION := true
41
42 BOARD_USE_SAMSUNG_COLORFORMAT := true
43 BOARD_FIX_NATIVE_COLOR_FORMAT := true
44 BOARD_NONBLOCK_MODE_PROCESS := true
45 BOARD_USE_STOREMETADATA := true
46 BOARD_USE_METADATABUFFERTYPE := true
47 BOARD_USES_MFC_FPS := true
48 BOARD_USE_S3D_SUPPORT := true
49 BOARD_USE_EXYNOS_OMX := true
50
51 # TVOUT
52 #BOARD_USES_HDMI := true
53 #BOARD_HDMI_STD := STD_1080P
54 #BOARD_HDMI_DDC_CH := DDC_CH_I2C_2
55 #BOARD_USES_HDMI_FIMGAPI := true
56 #BOARD_USES_FIMGAPI := true
57
58 # HWC
59 USE_HWC_CSC_THREAD := true
60
61
62 include $(call all-named-subdir-makefiles,$(exynos5_dirs))
63
64 endif
65 endif