include mobicore directory
[GitHub/LineageOS/android_hardware_samsung_slsi_exynos7580.git] / Android.mk
1 #
2 # Copyright (C) 2015 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
17 ifeq ($(TARGET_BOARD_PLATFORM), exynos5)
18 ifeq ($(TARGET_SLSI_VARIANT), bsp)
19 ifeq ($(TARGET_SOC), exynos7580)
20 exynos7580_dirs := \
21 mobicore \
22 libgatekeeper \
23 libkeymaster \
24
25 ifeq ($(BOARD_BACK_CAMERA_USES_EXTERNAL_CAMERA), true)
26 exynos7580_dirs += \
27 libcamera_external
28 else ifeq ($(BOARD_FRONT_CAMERA_USES_EXTERNAL_CAMERA), true)
29 exynos7580_dirs += \
30 libcamera_external
31 else
32 exynos7580_dirs += \
33 libcamera \
34 libcamera3 \
35 libcameraInterface
36 endif
37
38 include $(call all-named-subdir-makefiles,$(exynos7580_dirs))
39
40 endif
41 endif
42 endif