libhwjpeg: resolve compilation errors
[GitHub/LineageOS/android_hardware_samsung_slsi_exynos.git] / libvirtualdisplay / Android.mk
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
15 LOCAL_PATH:= $(call my-dir)
16 include $(CLEAR_VARS)
17
18 LOCAL_PRELINK_MODULE := false
19
20 LOCAL_SHARED_LIBRARIES := liblog libutils libcutils libexynosutils libexynosv4l2 \
21 libhwcutils libexynosdisplay libmpp libsync
22
23 LOCAL_CFLAGS += -DLOG_TAG=\"virtual\"
24 LOCAL_CFLAGS += -DHLOG_CODE=3
25
26 LOCAL_C_INCLUDES := \
27 $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/include \
28 $(TOP)/hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include \
29 $(LOCAL_PATH)/../include \
30 $(LOCAL_PATH)/../libhwcutils \
31 $(LOCAL_PATH)/../libhwc \
32 $(TOP)/hardware/samsung_slsi/exynos/libexynosutils \
33 $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/libhwcmodule \
34 $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/libhwcutilsmodule \
35 $(TOP)/hardware/samsung_slsi/exynos/libmpp
36
37 ifeq ($(BOARD_USES_VPP), true)
38 LOCAL_C_INCLUDES += $(LOCAL_PATH)/../libvppdisplay
39 else
40 LOCAL_C_INCLUDES += $(LOCAL_PATH)/../libdisplay
41 endif
42
43 LOCAL_SRC_FILES := \
44 ExynosVirtualDisplay.cpp
45
46 include $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/libvirtualdisplaymodule/Android.mk
47
48 LOCAL_MODULE := libvirtualdisplay
49
50 include $(TOP)/hardware/samsung_slsi/exynos/BoardConfigCFlags.mk
51 include $(BUILD_SHARED_LIBRARY)