[0.6.150] add unittest cases
[platform/core/multimedia/libmm-player.git] / unittest / Makefile.am
1 # Unit tests
2 bin_PROGRAMS = gtest-libmm-player
3
4 gtest_libmm_player_SOURCES  = unittest.cpp \
5                         gtest_mm_player.cpp \
6                         gtest_mm_player_priv.cpp
7
8 gtest_libmm_player_CXXFLAGS =  -I$(top_srcdir)/src/include \
9                         -I$(top_srcdir)/unittest/include \
10                         $(MMCOMMON_CFLAGS) \
11                         $(MMUTIL_CFLAGS) \
12                         $(GST_CFLAGS) \
13                         $(GST_VIDEO_CFLAGS) \
14                         $(GST_APP_CFLAGS) \
15                         $(MMSOUND_CFLAGS) \
16                         $(MM_RESOURCE_MANAGER_CFLAGS) \
17                         $(ICU_CFLAGS) \
18                         $(UTILX_CFLAGS) \
19                         $(MEDIAPACKET_CFLAGS) \
20                         $(DLOG_CFLAGS) \
21                         $(SYSTEMINFO_CFLAGS) \
22                         $(STORAGE_CFLAGS) \
23                         $(TZPLATFORM_CONFIG_CFLAGS) \
24                         $(MEDIASOUNDMGR_CFLAGS) \
25                         $(TBM_CFLAGS) \
26                         $(GST_ALLOCATORS_CFLAGS) \
27                         $(GTESTS_CFLAGS) \
28                         -Werror -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp
29
30 gtest_libmm_player_DEPENDENCIES = $(top_srcdir)/src/.libs/libmmfplayer.la
31
32 gtest_libmm_player_LDADD = \
33                         $(GST_LIBS) \
34                         $(MMCOMMON_LIBS) \
35                         $(MMUTIL_LIBS) \
36                         $(GST_INTERFACE_LIBS) \
37                         $(GST_VIDEO_LIBS) \
38                         $(GST_APP_LIBS) \
39                         $(INIPARSER_LIBS) \
40                         $(MMSOUND_LIBS) \
41                         $(MM_RESOURCE_MANAGER_LIBS) \
42                         $(ICU_LIBS) \
43                         $(MEDIAPACKET_LIBS) \
44                         $(DLOG_LIBS) \
45                         $(UTILX_LIBS) \
46                         $(SYSTEMINFO_LIBS) \
47                         $(STORAGE_LIBS) \
48                         $(TZPLATFORM_CONFIG_LIBS) \
49                         $(TBM_LIBS) \
50                         $(GST_ALLOCATORS_LIBS) \
51                         $(GTESTS_LIBS) \
52                         $(MEDIASOUNDMGR_LIBS) \
53                         $(top_srcdir)/src/.libs/libmmfplayer.la