libhwjpeg: resolve compilation errors
[GitHub/LineageOS/android_hardware_samsung_slsi_exynos.git] / libfimg4x / Android.mk
CommitLineData
5763fb39
T
1#
2# Copyright 2012, Samsung Electronics Co. LTD
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
17LOCAL_PATH:= $(call my-dir)
18include $(CLEAR_VARS)
19
20ifeq ($(BOARD_USES_SKIA_FIMGAPI),true)
21LOCAL_MODULE_TAGS := optional
22
23LOCAL_SRC_FILES:= \
24 FimgApi.cpp \
25 FimgExynos5.cpp
26
27LOCAL_C_INCLUDES += \
a4e95a20 28 $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \
5763fb39
T
29 $(LOCAL_PATH)/../include \
30 hardware/samsung_slsi/$(TARGET_SOC)/include \
31 hardware/samsung_slsi/$(TARGET_BOARD_PLATFORM)/include
32
a4e95a20
EC
33LOCAL_ADDITIONAL_DEPENDENCIES := \
34 $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
35
5763fb39
T
36LOCAL_SHARED_LIBRARIES:= liblog libutils libbinder
37
38LOCAL_MODULE:= libfimg
39
40LOCAL_PRELINK_MODULE := false
41
42include $(TOP)/hardware/samsung_slsi/exynos/BoardConfigCFlags.mk
43include $(BUILD_SHARED_LIBRARY)
44
45endif