Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | sourceFiles := \ |
| 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 | |
| 12 | includeFiles := \ |
| 13 | $(LOCAL_PATH)/include |
| 14 | |
| 15 | staticLibraries := \ |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 16 | libbufferhub \ |
| 17 | libdvrcommon \ |
| 18 | libpdx_default_transport \ |
| 19 | |
| 20 | sharedLibraries := \ |
| 21 | libcutils \ |
| 22 | libbase \ |
| 23 | libpng |
| 24 | |
| 25 | include $(CLEAR_VARS) |
| 26 | LOCAL_SRC_FILES := $(sourceFiles) |
| 27 | LOCAL_C_INCLUDES := $(includeFiles) |
| 28 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
| 29 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(includeFiles) |
| 30 | LOCAL_SHARED_LIBRARIES := $(sharedLibraries) |
| 31 | LOCAL_STATIC_LIBRARIES := $(staticLibraries) |
John Muir | 91c0c1e | 2017-02-17 16:11:09 -0800 | [diff] [blame^] | 32 | # Rather than add this header-file-only library to all users of libdvrgraphics, |
| 33 | # include it here. |
| 34 | LOCAL_WHOLE_STATIC_LIBRARIES := libarect |
Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 35 | LOCAL_MODULE := libdvrgraphics |
| 36 | include $(BUILD_STATIC_LIBRARY) |
| 37 | |