blob: 9bfa1800a3c5854f092d84b3148de0b821ed7b2f [file] [log] [blame]
Petr Havlenac9288142012-11-15 14:07:10 +05301# 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_CFLAGS := -fno-short-enums
19LOCAL_CFLAGS += -DLOG_TAG=\"hdmi.$(TARGET_BOARD_PLATFORM)\"
20
21LOCAL_C_INCLUDES := \
22 $(LOCAL_PATH)/../include
23
24LOCAL_SRC_FILES := \
25 fimc.c \
26 fimd.c \
27 SecHDMI.cpp \
28 hal_module.cpp
29
30LOCAL_MODULE := hdmi.$(TARGET_BOARD_PLATFORM)
31LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
32LOCAL_MODULE_TAGS := optional
33
34LOCAL_SHARED_LIBRARIES := liblog libutils
35
36include $(BUILD_SHARED_LIBRARY)
37
38include $(call all-makefiles-under,$(LOCAL_PATH))