Android.mk revision 559bf2836f5da25b75bfb229fec0d20d540ee426
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	libbinder \
19	libcutils \
20	libgui \
21	libmedia \
22	libstagefright \
23	libstagefright_omx \
24	libstagefright_foundation \
25	libstlport \
26	libui \
27	libutils \
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/av/media/libstagefright \
39	frameworks/av/media/libstagefright/include \
40	$(TOP)/frameworks/native/include/media/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