Android.mk 927 B

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