libhwc: fix potential crash when checking on update_stat_thread status
[GitHub/LineageOS/android_hardware_samsung_slsi_exynos.git] / libmpp / 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
19LOCAL_SHARED_LIBRARIES := liblog libutils libcutils libexynosutils libexynosv4l2
20
21LOCAL_C_INCLUDES += \
a4e95a20 22 $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
5763fb39
T
23 $(LOCAL_PATH)/../include \
24 $(TOP)/hardware/samsung_slsi/exynos/include \
25 $(TOP)/hardware/samsung_slsi/exynos/libexynosutils \
26 $(TOP)/hardware/samsung_slsi/exynos3/include \
27 $(TOP)/hardware/samsung_slsi/exynos4/include \
28 $(TOP)/hardware/samsung_slsi/exynos5/include
29
a4e95a20
EC
30LOCAL_ADDITIONAL_DEPENDENCIES := \
31 $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
32
5763fb39
T
33LOCAL_SRC_FILES := MppFactory.cpp
34LOCAL_MODULE_TAGS := eng
35LOCAL_MODULE := libmpp
36
37ifeq ($(BOARD_USES_FIMC), true)
38LOCAL_SHARED_LIBRARIES += libexynosfimc
39else
40LOCAL_SHARED_LIBRARIES += libexynosgscaler
41endif
42
43include $(TOP)/hardware/samsung_slsi/exynos/BoardConfigCFlags.mk
44include $(BUILD_SHARED_LIBRARY)