Commit | Line | Data |
---|---|---|
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 | ||
15 | ||
16 | LOCAL_PATH:= $(call my-dir) | |
17 | include $(CLEAR_VARS) | |
18 | ||
19 | LOCAL_PRELINK_MODULE := false | |
0b52d8af | 20 | LOCAL_SHARED_LIBRARIES := liblog libutils libcutils libexynosutils libexynosv4l2 libhwcutils libexynosdisplay libmpp libion |
5763fb39 T |
21 | |
22 | LOCAL_CFLAGS += -DLOG_TAG=\"hdmi\" | |
23 | LOCAL_CFLAGS += -DHLOG_CODE=2 | |
24 | ||
25 | LOCAL_C_INCLUDES := \ | |
a4e95a20 | 26 | $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include \ |
5763fb39 T |
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)/../libdisplay \ | |
32 | $(LOCAL_PATH)/../libhwc \ | |
33 | $(TOP)/hardware/samsung_slsi/exynos/libexynosutils \ | |
34 | $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/libhwcmodule \ | |
35 | $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/libhwcutilsmodule \ | |
36 | $(TOP)/hardware/samsung_slsi/exynos/libmpp \ | |
37 | $(TOP)/system/core/libsync/include | |
38 | ||
a4e95a20 EC |
39 | LOCAL_ADDITIONAL_DEPENDENCIES := \ |
40 | $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr | |
41 | ||
5763fb39 T |
42 | LOCAL_SRC_FILES := \ |
43 | ExynosExternalDisplay.cpp | |
44 | ||
45 | ifneq ($(filter 3.10, $(TARGET_LINUX_KERNEL_VERSION)),) | |
46 | LOCAL_SRC_FILES += \ | |
47 | dv_timings.c | |
48 | LOCAL_CFLAGS += -DUSE_DV_TIMINGS | |
49 | endif | |
50 | ||
51 | ifeq ($(TARGET_BOARD_PLATFORM),exynos4) | |
52 | LOCAL_CFLAGS += -DNOT_USE_TRIPLE_BUFFER | |
53 | endif | |
54 | ||
55 | include $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/libhdmimodule/Android.mk | |
56 | ||
5763fb39 T |
57 | LOCAL_MODULE := libhdmi |
58 | ||
59 | include $(TOP)/hardware/samsung_slsi/exynos/BoardConfigCFlags.mk | |
60 | include $(BUILD_SHARED_LIBRARY) | |
61 |