libdisplay: add libion dependency
[GitHub/LineageOS/android_hardware_samsung_slsi_exynos.git] / libdisplay / Android.mk
CommitLineData
5763fb39
T
1# Copyright (C) 2008 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15LOCAL_PATH:= $(call my-dir)
16include $(CLEAR_VARS)
17
18LOCAL_PRELINK_MODULE := false
0781d6ff 19LOCAL_SHARED_LIBRARIES := liblog libion libutils libcutils libexynosutils \
5763fb39
T
20 libexynosv4l2 libhwcutils libsync libmpp
21
22ifeq ($(BOARD_USES_FIMC), true)
23LOCAL_SHARED_LIBRARIES += libexynosfimc
24else
25LOCAL_SHARED_LIBRARIES += libexynosgscaler
26endif
27
28ifeq ($(BOARD_USES_FB_PHY_LINEAR),true)
29 LOCAL_SHARED_LIBRARIES += libfimg
30 LOCAL_C_INCLUDES += $(TOP)/hardware/samsung_slsi/exynos/libfimg4x
31endif
32
33LOCAL_CFLAGS += -DLOG_TAG=\"display\"
34LOCAL_CFLAGS += -DHLOG_CODE=1
35LOCAL_C_INCLUDES := \
a4e95a20 36 $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
5763fb39
T
37 $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/include \
38 $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include \
39 $(LOCAL_PATH)/../include \
40 $(LOCAL_PATH)/../libhwc \
41 $(LOCAL_PATH)/../libhwcutils \
42 $(TOP)/hardware/samsung_slsi/exynos/libexynosutils \
43 $(TOP)/hardware/samsung_slsi/exynos/libmpp \
44 $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/libhwcmodule \
45 $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/libhwcutilsmodule
46
a4e95a20
EC
47LOCAL_ADDITIONAL_DEPENDENCIES := \
48 $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
49
5763fb39
T
50LOCAL_SRC_FILES := \
51 ExynosDisplay.cpp \
52 ExynosOverlayDisplay.cpp
53
54include $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/libdisplaymodule/Android.mk
55
fe1f774b 56LOCAL_MODULE := libexynosdisplay
5763fb39
T
57
58include $(TOP)/hardware/samsung_slsi/exynos/BoardConfigCFlags.mk
59include $(BUILD_SHARED_LIBRARY)
60