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 := \ |
| 16 | libchrome \ |
| 17 | libbufferhub \ |
| 18 | libdvrcommon \ |
| 19 | libpdx_default_transport \ |
| 20 | |
| 21 | sharedLibraries := \ |
| 22 | libcutils \ |
| 23 | libbase \ |
| 24 | libpng |
| 25 | |
| 26 | include $(CLEAR_VARS) |
| 27 | LOCAL_SRC_FILES := $(sourceFiles) |
| 28 | LOCAL_C_INCLUDES := $(includeFiles) |
| 29 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
| 30 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(includeFiles) |
| 31 | LOCAL_SHARED_LIBRARIES := $(sharedLibraries) |
| 32 | LOCAL_STATIC_LIBRARIES := $(staticLibraries) |
| 33 | LOCAL_MODULE := libdvrgraphics |
| 34 | include $(BUILD_STATIC_LIBRARY) |
| 35 | |