blob: d59d8966910668ab97ae346fdf0342ba7615534e
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_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/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 | $(GRALLOC_DIR) |
22 | |
23 | LOCAL_SHARED_LIBRARIES:= libutils liblog libui |
24 | |
25 | LOCAL_MODULE := screen_source.amlogic |
26 | LOCAL_CFLAGS:= -DLOG_TAG=\"screen_source\" |
27 | LOCAL_MODULE_TAGS := optional |
28 | include $(BUILD_SHARED_LIBRARY) |
29 |