Home | History | Annotate | Download | only in tests
      1 # Build the unit tests.
      2 LOCAL_PATH:= $(call my-dir)
      3 include $(CLEAR_VARS)
      4 
      5 ifneq ($(TARGET_SIMULATOR),true)
      6 
      7 LOCAL_MODULE := SurfaceMediaSource_test
      8 
      9 LOCAL_MODULE_TAGS := tests
     10 
     11 LOCAL_SRC_FILES := \
     12     SurfaceMediaSource_test.cpp \
     13 	DummyRecorder.cpp \
     14 
     15 LOCAL_SHARED_LIBRARIES := \
     16 	libEGL \
     17 	libGLESv2 \
     18 	libbinder \
     19 	libcutils \
     20 	libgui \
     21 	libmedia \
     22 	libstagefright \
     23 	libstagefright_omx \
     24 	libstagefright_foundation \
     25 	libstlport \
     26 	libui \
     27 	libutils \
     28 
     29 LOCAL_STATIC_LIBRARIES := \
     30 	libgtest \
     31 	libgtest_main \
     32 
     33 LOCAL_C_INCLUDES := \
     34     bionic \
     35     bionic/libstdc++/include \
     36     external/gtest/include \
     37     external/stlport/stlport \
     38 	frameworks/av/media/libstagefright \
     39 	frameworks/av/media/libstagefright/include \
     40 	$(TOP)/frameworks/native/include/media/openmax \
     41 
     42 include $(BUILD_EXECUTABLE)
     43 
     44 endif
     45 
     46 # Include subdirectory makefiles
     47 # ============================================================
     48 
     49 # If we're building with ONE_SHOT_MAKEFILE (mm, mmm), then what the framework
     50 # team really wants is to build the stuff defined by this makefile.
     51 ifeq (,$(ONE_SHOT_MAKEFILE))
     52 include $(call first-makefiles-under,$(LOCAL_PATH))
     53 endif
     54