Commit | Line | Data |
---|---|---|
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 | ||
90e8221e CH |
17 | ifeq ($(TARGET_SLSI_VARIANT),bsp) |
18 | ||
5763fb39 T |
19 | common_exynos_dirs := \ |
20 | libion_exynos \ | |
21 | libexynosutils \ | |
22 | libcec \ | |
23 | libcsc \ | |
24 | libmpp \ | |
25 | libhwcutils \ | |
26 | libhwcService \ | |
27 | libv4l2 \ | |
28 | libscaler \ | |
29 | libswconverter \ | |
30 | libvideocodec \ | |
31 | libstagefrighthw \ | |
32 | libmemtrack \ | |
33 | exyrngd \ | |
34 | rpmbd | |
35 | ||
36 | ifeq ($(TARGET_USES_UNIVERSAL_LIBHWJPEG), true) | |
37 | common_exynos_dirs += libhwjpeg | |
38 | endif | |
39 | ||
40 | ifneq ($(BOARD_USES_FIMC), true) | |
41 | common_exynos_dirs += \ | |
42 | libgscaler | |
43 | endif | |
44 | ||
45 | ifeq ($(BOARD_USES_FIMGAPI_V5X), true) | |
46 | common_exynos_dirs += \ | |
47 | libfimg5x | |
48 | else | |
49 | common_exynos_dirs += \ | |
50 | libfimg4x | |
51 | endif | |
52 | ||
53 | ||
54 | ifeq ($(BOARD_USES_EXYNOS5_COMMON_GRALLOC), true) | |
55 | common_exynos_dirs += \ | |
56 | gralloc | |
57 | endif | |
58 | ||
59 | ifeq ($(BOARD_USES_HWC_TINY), true) | |
60 | common_exynos_dirs += \ | |
61 | libvppdisplay_tiny | |
62 | else | |
63 | ifeq ($(BOARD_USES_VPP), true) | |
64 | common_exynos_dirs += libvppdisplay | |
65 | else | |
66 | common_exynos_dirs += libdisplay | |
67 | endif | |
68 | endif | |
69 | ||
70 | ifeq ($(BOARD_USES_HWC_TINY), true) | |
71 | common_exynos_dirs += \ | |
72 | libhwc_tiny | |
73 | else | |
74 | ifneq ($(BOARD_TV_PRIMARY), true) | |
75 | common_exynos_dirs += \ | |
76 | libhwc | |
77 | endif | |
78 | endif | |
79 | ||
80 | ifneq ($(BOARD_USES_HWC_TINY), true) | |
81 | ifeq ($(BOARD_USES_VIRTUAL_DISPLAY), true) | |
82 | ifeq ($(BOARD_USES_VPP), true) | |
83 | common_exynos_dirs += \ | |
84 | libvppvirtualdisplay | |
85 | else | |
86 | common_exynos_dirs += \ | |
87 | libvirtualdisplay | |
88 | endif | |
89 | endif | |
90 | endif | |
91 | ||
92 | ifeq ($(BOARD_USE_ALP_AUDIO), true) | |
93 | ifeq ($(BOARD_USE_SEIREN_AUDIO), true) | |
94 | common_exynos_dirs += \ | |
95 | libseiren | |
96 | else | |
97 | common_exynos_dirs += \ | |
98 | libsrp | |
99 | endif | |
100 | endif | |
101 | ||
102 | ifeq ($(BOARD_USE_COMMON_AUDIOHAL), true) | |
103 | common_exynos_dirs += \ | |
104 | libaudio | |
105 | endif | |
106 | ||
107 | ifneq ($(BOARD_USES_HWC_TINY), true) | |
108 | ifeq ($(BOARD_HDMI_INCAPABLE), true) | |
109 | common_exynos_dirs += libhdmi_dummy | |
110 | else | |
111 | ifeq ($(BOARD_USES_VPP), true) | |
112 | common_exynos_dirs += libvpphdmi | |
113 | else | |
114 | ifeq ($(BOARD_USES_NEW_HDMI), true) | |
115 | common_exynos_dirs += libhdmi | |
116 | else | |
117 | common_exynos_dirs += libhdmi_legacy | |
118 | endif | |
119 | endif | |
120 | endif | |
121 | endif | |
122 | ||
123 | ifeq ($(BOARD_USES_FIMGAPI_V4L2), true) | |
124 | common_exynos_dirs += \ | |
125 | libg2d | |
126 | endif | |
127 | ||
128 | ifeq ($(BOARD_BACK_CAMERA_USES_EXTERNAL_CAMERA), true) | |
129 | common_exynos_dirs += \ | |
130 | libcamera_external | |
131 | else | |
132 | ifeq ($(BOARD_FRONT_CAMERA_USES_EXTERNAL_CAMERA), true) | |
133 | common_exynos_dirs += \ | |
134 | libcamera_external | |
135 | endif | |
136 | endif | |
137 | ||
138 | include $(call all-named-subdir-makefiles,$(common_exynos_dirs)) | |
90e8221e CH |
139 | |
140 | endif # TARGET_SLSI_VARIANT |