OSDN Git Service

i965_pciids: add kbl-y refresh PCI ID
[android-x86/hardware-intel-common-vaapi.git] / test / Makefile.am
index 72dfed5..738d79f 100644 (file)
@@ -11,7 +11,7 @@ AM_CPPFLAGS =                                                         \
        -DGTEST_HAS_TR1_TUPLE=1                                         \
        -DPTHREADS                                                      \
        -DVA_DRIVERS_PATH="\"$(LIBVA_DRIVERS_PATH)\""                   \
-       -DTEST_VA_DRIVERS_PATH="\"$(abs_top_srcdir)/src/.libs\""        \
+       -DTEST_VA_DRIVERS_PATH="\"$(abs_top_builddir)/src/.libs\""      \
        -std=c++11                                                      \
        $(NULL)
 
@@ -35,8 +35,7 @@ libgtest_la_CXXFLAGS =                                                        \
 EXTRA_DIST =                                                           \
        gtest/docs                                                      \
        gtest/include                                                   \
-       gtest/src/*.cc                                                  \
-       gtest/src/*.h                                                   \
+       gtest/src                                                       \
        gtest/README.md                                                 \
        gtest/LICENSE                                                   \
        $(NULL)
@@ -44,17 +43,35 @@ EXTRA_DIST =                                                                \
 # test_i965_drv_video
 noinst_PROGRAMS = test_i965_drv_video
 noinst_HEADERS =                                                       \
+       i965_avce_test_common.h                                         \
+       i965_config_test.h                                              \
        i965_internal_decl.h                                            \
        i965_jpeg_test_data.h                                           \
+       i965_streamable.h                                               \
+       i965_test_environment.h                                         \
        i965_test_fixture.h                                             \
+       i965_test_image_utils.h                                         \
        test.h                                                          \
+       test_utils.h                                                    \
        $(NULL)
 
 test_i965_drv_video_SOURCES =                                          \
+       i965_avcd_config_test.cpp                                       \
+       i965_avce_config_test.cpp                                       \
+       i965_avce_context_test.cpp                                      \
+       i965_avce_test_common.cpp                                       \
        i965_chipset_test.cpp                                           \
+       i965_config_test.cpp                                            \
        i965_initialize_test.cpp                                        \
-       i965_test_fixture.cpp                                           \
+       i965_jpeg_test_data.cpp                                         \
        i965_jpeg_decode_test.cpp                                       \
+       i965_jpeg_encode_test.cpp                                       \
+       i965_jpegd_config_test.cpp                                      \
+       i965_jpege_config_test.cpp                                      \
+       i965_surface_test.cpp                                           \
+       i965_test_environment.cpp                                       \
+       i965_test_fixture.cpp                                           \
+       i965_test_image_utils.cpp                                       \
        object_heap_test.cpp                                            \
        test_main.cpp                                                   \
        $(NULL)
@@ -67,7 +84,7 @@ test_i965_drv_video_LDFLAGS =                                         \
        $(NULL)
 
 test_i965_drv_video_LDADD =                                            \
-       $(top_srcdir)/src/libi965_drv_video.la                          \
+       $(top_builddir)/src/libi965_drv_video.la                        \
        libgtest.la                                                     \
        $(DRM_LIBS)                                                     \
        $(LIBVA_DEPS_LIBS)                                              \
@@ -76,6 +93,7 @@ test_i965_drv_video_LDADD =                                           \
        $(NULL)
 
 test_i965_drv_video_CPPFLAGS =                                         \
+       -I$(top_srcdir)/src                                             \
        $(DRM_CFLAGS)                                                   \
        $(LIBVA_DEPS_CFLAGS)                                            \
        $(LIBVA_DRM_DEPS_CFLAGS)                                        \