Android.mk 827 B

12345678910111213141516171819202122232425262728293031323334
  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 := SurfaceFlinger_test
  6. LOCAL_MODULE_TAGS := tests
  7. LOCAL_SRC_FILES := \
  8. Transaction_test.cpp \
  9. LOCAL_SHARED_LIBRARIES := \
  10. libEGL \
  11. libGLESv2 \
  12. libbinder \
  13. libcutils \
  14. libgui \
  15. libui \
  16. libutils \
  17. # Build the binary to $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
  18. # to integrate with auto-test framework.
  19. include $(BUILD_NATIVE_TEST)
  20. # Include subdirectory makefiles
  21. # ============================================================
  22. # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
  23. # team really wants is to build the stuff defined by this makefile.
  24. ifeq (,$(ONE_SHOT_MAKEFILE))
  25. include $(call first-makefiles-under,$(LOCAL_PATH))
  26. endif