1 # Build the unit tests. 2 LOCAL_PATH:= $(call my-dir) 3 include $(CLEAR_VARS) 4 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 5 6 LOCAL_MODULE := EGL_test 7 8 LOCAL_MODULE_TAGS := tests 9 10 LOCAL_SRC_FILES := \ 11 egl_cache_test.cpp \ 12 EGL_test.cpp \ 13 14 LOCAL_SHARED_LIBRARIES := \ 15 android.hardware.configstore (a] 1.0 \ 16 android.hardware.configstore-utils \ 17 libEGL \ 18 libcutils \ 19 libbinder \ 20 libhidlbase \ 21 libhidltransport \ 22 libutils \ 23 libgui \ 24 libbase \ 25 liblog \ 26 27 LOCAL_C_INCLUDES := \ 28 bionic/libc/private \ 29 frameworks/native/opengl/libs \ 30 frameworks/native/opengl/libs/EGL \ 31 32 # gold in binutils 2.22 will warn about the usage of mktemp 33 LOCAL_LDFLAGS += -Wl,--no-fatal-warnings 34 35 include $(BUILD_NATIVE_TEST) 36 37 # Include subdirectory makefiles 38 # ============================================================ 39 40 # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework 41 # team really wants is to build the stuff defined by this makefile. 42 ifeq (,$(ONE_SHOT_MAKEFILE)) 43 include $(call first-makefiles-under,$(LOCAL_PATH)) 44 endif 45