blob: a40269fe5ba6ac440aec84c2f9c351326a967fd2
1 | # Copyright (C) 2013 Amlogic |
2 | # |
3 | # |
4 | |
5 | LOCAL_PATH := $(call my-dir) |
6 | |
7 | # HAL module implemenation, not prelinked and stored in |
8 | # /system/lib/hw/screen_source.amlogic.so |
9 | include $(CLEAR_VARS) |
10 | LOCAL_MODULE_RELATIVE_PATH := hw |
11 | LOCAL_SRC_FILES := aml_screen.cpp v4l2_vdin.cpp |
12 | |
13 | ifneq (,$(wildcard hardware/amlogic/gralloc)) |
14 | GRALLOC_DIR := hardware/amlogic/gralloc |
15 | else |
16 | GRALLOC_DIR := hardware/libhardware/modules/gralloc |
17 | endif |
18 | |
19 | LOCAL_C_INCLUDES += frameworks/native/include/utils \ |
20 | frameworks/native/include/android \ |
21 | system/core/include/utils \ |
22 | system/core/libion/include \ |
23 | system/core/libion/kernel-headers \ |
24 | $(GRALLOC_DIR) |
25 | |
26 | LOCAL_SHARED_LIBRARIES:= libutils liblog libui |
27 | |
28 | LOCAL_MODULE := screen_source.amlogic |
29 | LOCAL_CFLAGS:= -DLOG_TAG=\"screen_source\" |
30 | LOCAL_MODULE_TAGS := optional |
31 | include $(BUILD_SHARED_LIBRARY) |
32 |