lib[vpp]display: Enable window update by default
[GitHub/LineageOS/android_hardware_samsung_slsi_exynos.git] / Android.mk
CommitLineData
5763fb39
T
1#
2# Copyright (C) 2012 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17common_exynos_dirs := \
18 libion_exynos \
19 libexynosutils \
20 libcec \
21 libcsc \
22 libmpp \
23 libhwcutils \
24 libhwcService \
25 libv4l2 \
26 libscaler \
27 libswconverter \
28 libvideocodec \
29 libstagefrighthw \
30 libmemtrack \
31 exyrngd \
32 rpmbd
33
34ifeq ($(TARGET_USES_UNIVERSAL_LIBHWJPEG), true)
35common_exynos_dirs += libhwjpeg
36endif
37
38ifneq ($(BOARD_USES_FIMC), true)
39common_exynos_dirs += \
40 libgscaler
41endif
42
43ifeq ($(BOARD_USES_FIMGAPI_V5X), true)
44common_exynos_dirs += \
45 libfimg5x
46else
47common_exynos_dirs += \
48 libfimg4x
49endif
50
51
52ifeq ($(BOARD_USES_EXYNOS5_COMMON_GRALLOC), true)
53common_exynos_dirs += \
54 gralloc
55endif
56
57ifeq ($(BOARD_USES_HWC_TINY), true)
58common_exynos_dirs += \
59 libvppdisplay_tiny
60else
61ifeq ($(BOARD_USES_VPP), true)
62common_exynos_dirs += libvppdisplay
63else
64common_exynos_dirs += libdisplay
65endif
66endif
67
68ifeq ($(BOARD_USES_HWC_TINY), true)
69common_exynos_dirs += \
70 libhwc_tiny
71else
72ifneq ($(BOARD_TV_PRIMARY), true)
73common_exynos_dirs += \
74 libhwc
75endif
76endif
77
78ifneq ($(BOARD_USES_HWC_TINY), true)
79ifeq ($(BOARD_USES_VIRTUAL_DISPLAY), true)
80ifeq ($(BOARD_USES_VPP), true)
81common_exynos_dirs += \
82 libvppvirtualdisplay
83else
84common_exynos_dirs += \
85 libvirtualdisplay
86endif
87endif
88endif
89
90ifeq ($(BOARD_USE_ALP_AUDIO), true)
91ifeq ($(BOARD_USE_SEIREN_AUDIO), true)
92common_exynos_dirs += \
93 libseiren
94else
95common_exynos_dirs += \
96 libsrp
97endif
98endif
99
100ifeq ($(BOARD_USE_COMMON_AUDIOHAL), true)
101common_exynos_dirs += \
102 libaudio
103endif
104
105ifneq ($(BOARD_USES_HWC_TINY), true)
106ifeq ($(BOARD_HDMI_INCAPABLE), true)
107common_exynos_dirs += libhdmi_dummy
108else
109ifeq ($(BOARD_USES_VPP), true)
110common_exynos_dirs += libvpphdmi
111else
112ifeq ($(BOARD_USES_NEW_HDMI), true)
113common_exynos_dirs += libhdmi
114else
115common_exynos_dirs += libhdmi_legacy
116endif
117endif
118endif
119endif
120
121ifeq ($(BOARD_USES_FIMGAPI_V4L2), true)
122common_exynos_dirs += \
123 libg2d
124endif
125
126ifeq ($(BOARD_BACK_CAMERA_USES_EXTERNAL_CAMERA), true)
127common_exynos_dirs += \
128 libcamera_external
129else
130ifeq ($(BOARD_FRONT_CAMERA_USES_EXTERNAL_CAMERA), true)
131common_exynos_dirs += \
132 libcamera_external
133endif
134endif
135
136include $(call all-named-subdir-makefiles,$(common_exynos_dirs))