blob: b9e601ca926ea264cc8cecce278276327d62cfd9 [file] [log] [blame]
Alex Vakulenkoe4eec202017-01-27 14:41:04 -08001LOCAL_PATH := $(call my-dir)
2
3sourceFiles := \
4 blur.cpp \
5 debug_text.cpp \
6 egl_image.cpp \
7 gpu_profiler.cpp \
8 shader_program.cpp \
9 timer_query.cpp \
10 vr_gl_extensions.cpp \
11
12includeFiles := \
13 $(LOCAL_PATH)/include
14
15staticLibraries := \
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080016 libbufferhub \
17 libdvrcommon \
18 libpdx_default_transport \
19
20sharedLibraries := \
21 libcutils \
22 libbase \
23 libpng
24
25include $(CLEAR_VARS)
26LOCAL_SRC_FILES := $(sourceFiles)
27LOCAL_C_INCLUDES := $(includeFiles)
28LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
29LOCAL_EXPORT_C_INCLUDE_DIRS := $(includeFiles)
30LOCAL_SHARED_LIBRARIES := $(sharedLibraries)
31LOCAL_STATIC_LIBRARIES := $(staticLibraries)
John Muir91c0c1e2017-02-17 16:11:09 -080032# Rather than add this header-file-only library to all users of libdvrgraphics,
33# include it here.
34LOCAL_WHOLE_STATIC_LIBRARIES := libarect
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080035LOCAL_MODULE := libdvrgraphics
36include $(BUILD_STATIC_LIBRARY)
37