Suppress or fix clang errors before the fix from upstream.
[GitHub/LineageOS/android_hardware_samsung_slsi_exynos5.git] / libgscaler / Android.mk
CommitLineData
70007c4e
JC
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
15ifeq ($(filter-out exynos5,$(TARGET_BOARD_PLATFORM)),)
16
17LOCAL_PATH:= $(call my-dir)
18include $(CLEAR_VARS)
19
a511d660
CHH
20LOCAL_CLANG_CFLAGS += -Wno-int-conversion
21
70007c4e
JC
22LOCAL_SHARED_LIBRARIES := liblog libutils libcutils libexynosutils libexynosv4l2
23
33aa35f1
DZ
24# to talk to secure side
25LOCAL_SHARED_LIBRARIES += libMcClient
26LOCAL_STATIC_LIBRARIES := libsecurepath
27
70007c4e
JC
28LOCAL_C_INCLUDES := \
29 $(LOCAL_PATH)/../include \
30 $(LOCAL_PATH)/../libexynosutils
31
e76fa944 32LOCAL_SRC_FILES := exynos_gscaler.c
70007c4e
JC
33
34LOCAL_MODULE_TAGS := eng
35LOCAL_MODULE := libexynosgscaler
36include $(BUILD_SHARED_LIBRARY)
37
38endif