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