2 # Copyright (C) 2012 The Android Open Source Project
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 ifeq ($(TARGET_SLSI_VARIANT
),bsp
)
19 common_exynos_dirs
:= \
36 ifeq ($(TARGET_USES_UNIVERSAL_LIBHWJPEG
), true
)
37 common_exynos_dirs
+= libhwjpeg
40 ifneq ($(BOARD_USES_FIMC
), true
)
41 common_exynos_dirs
+= \
45 ifeq ($(BOARD_USES_FIMGAPI_V5X
), true
)
46 common_exynos_dirs
+= \
49 common_exynos_dirs
+= \
54 ifeq ($(BOARD_USES_EXYNOS5_COMMON_GRALLOC
), true
)
55 common_exynos_dirs
+= \
59 ifeq ($(BOARD_USES_HWC_TINY
), true
)
60 common_exynos_dirs
+= \
63 ifeq ($(BOARD_USES_VPP
), true
)
64 common_exynos_dirs
+= libvppdisplay
66 common_exynos_dirs
+= libdisplay
70 ifeq ($(BOARD_USES_HWC_TINY
), true
)
71 common_exynos_dirs
+= \
74 ifneq ($(BOARD_TV_PRIMARY
), true
)
75 common_exynos_dirs
+= \
80 ifneq ($(BOARD_USES_HWC_TINY
), true
)
81 ifeq ($(BOARD_USES_VIRTUAL_DISPLAY
), true
)
82 ifeq ($(BOARD_USES_VPP
), true
)
83 common_exynos_dirs
+= \
86 common_exynos_dirs
+= \
92 ifeq ($(BOARD_USE_ALP_AUDIO
), true
)
93 ifeq ($(BOARD_USE_SEIREN_AUDIO
), true
)
94 common_exynos_dirs
+= \
97 common_exynos_dirs
+= \
102 ifeq ($(BOARD_USE_COMMON_AUDIOHAL
), true
)
103 common_exynos_dirs
+= \
107 ifneq ($(BOARD_USES_HWC_TINY
), true
)
108 ifeq ($(BOARD_HDMI_INCAPABLE
), true
)
109 common_exynos_dirs
+= libhdmi_dummy
111 ifeq ($(BOARD_USES_VPP
), true
)
112 common_exynos_dirs
+= libvpphdmi
114 ifeq ($(BOARD_USES_NEW_HDMI
), true
)
115 common_exynos_dirs
+= libhdmi
117 common_exynos_dirs
+= libhdmi_legacy
123 ifeq ($(BOARD_USES_FIMGAPI_V4L2
), true
)
124 common_exynos_dirs
+= \
128 ifeq ($(BOARD_BACK_CAMERA_USES_EXTERNAL_CAMERA
), true
)
129 common_exynos_dirs
+= \
132 ifeq ($(BOARD_FRONT_CAMERA_USES_EXTERNAL_CAMERA
), true
)
133 common_exynos_dirs
+= \
138 include $(call all-named-subdir-makefiles
,$(common_exynos_dirs
))
140 endif # TARGET_SLSI_VARIANT