Android.mk revision 1a2fafbaa36390a06cc9a066fcbe147c8c47ea77
1# Build the unit tests. 2LOCAL_PATH:= $(call my-dir) 3include $(CLEAR_VARS) 4 5ifneq ($(TARGET_SIMULATOR),true) 6 7LOCAL_MODULE := SurfaceMediaSource_test 8 9LOCAL_MODULE_TAGS := tests 10 11LOCAL_SRC_FILES := \ 12 SurfaceMediaSource_test.cpp \ 13 DummyRecorder.cpp \ 14 15LOCAL_SHARED_LIBRARIES := \ 16 libEGL \ 17 libGLESv2 \ 18 libandroid \ 19 libbinder \ 20 libcutils \ 21 libgui \ 22 libstlport \ 23 libui \ 24 libutils \ 25 libstagefright \ 26 libstagefright_omx \ 27 libstagefright_foundation \ 28 29LOCAL_STATIC_LIBRARIES := \ 30 libgtest \ 31 libgtest_main \ 32 33LOCAL_C_INCLUDES := \ 34 bionic \ 35 bionic/libstdc++/include \ 36 external/gtest/include \ 37 external/stlport/stlport \ 38 frameworks/base/media/libstagefright \ 39 frameworks/base/media/libstagefright/include \ 40 $(TOP)/frameworks/base/include/media/stagefright/openmax \ 41 42include $(BUILD_EXECUTABLE) 43 44endif 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. 51ifeq (,$(ONE_SHOT_MAKEFILE)) 52include $(call first-makefiles-under,$(LOCAL_PATH)) 53endif 54