| // Build the unit tests. |
| |
| cc_test { |
| name: "SurfaceMediaSource_test", |
| |
| srcs: [ |
| "SurfaceMediaSource_test.cpp", |
| "DummyRecorder.cpp", |
| ], |
| |
| shared_libs: [ |
| "libEGL", |
| "libGLESv2", |
| "libbinder", |
| "libcutils", |
| "libgui", |
| "libmedia", |
| "libstagefright", |
| "libstagefright_foundation", |
| "libstagefright_omx", |
| "libsync", |
| "libui", |
| "libutils", |
| "liblog", |
| ], |
| |
| include_dirs: [ |
| "frameworks/av/media/libstagefright", |
| "frameworks/av/media/libstagefright/include", |
| "frameworks/native/include/media/openmax", |
| "frameworks/native/include/media/hardware", |
| ], |
| |
| cflags: [ |
| "-Werror", |
| "-Wall", |
| ], |
| |
| compile_multilib: "32", |
| } |
| |
| cc_test { |
| name: "Utils_test", |
| |
| srcs: ["Utils_test.cpp"], |
| |
| shared_libs: [ |
| "libcutils", |
| "liblog", |
| "libmedia", |
| "libstagefright", |
| "libstagefright_foundation", |
| "libstagefright_omx", |
| ], |
| |
| include_dirs: [ |
| "frameworks/av/include", |
| "frameworks/av/media/libstagefright", |
| "frameworks/av/media/libstagefright/include", |
| "frameworks/native/include/media/openmax", |
| ], |
| |
| cflags: [ |
| "-Werror", |
| "-Wall", |
| ], |
| } |
| |
| cc_test { |
| name: "MediaCodecListOverrides_test", |
| |
| srcs: ["MediaCodecListOverrides_test.cpp"], |
| |
| shared_libs: [ |
| "libmedia", |
| "libstagefright", |
| "libstagefright_foundation", |
| "libstagefright_omx", |
| "libutils", |
| "liblog", |
| ], |
| |
| include_dirs: [ |
| "frameworks/av/media/libstagefright", |
| "frameworks/av/media/libstagefright/include", |
| "frameworks/native/include/media/openmax", |
| ], |
| |
| compile_multilib: "32", |
| |
| cflags: [ |
| "-Werror", |
| "-Wall", |
| ], |
| } |