Harish Mahendrakar | fc0f846 | 2021-03-03 21:30:35 -0800 | [diff] [blame] | 1 | cc_defaults { |
| 2 | name: "C2SoftCodecTest-defaults", |
| 3 | gtest: true, |
| 4 | host_supported: false, |
| 5 | srcs: [ |
| 6 | "C2SoftCodecTest.cpp", |
| 7 | ], |
| 8 | |
| 9 | static_libs: [ |
| 10 | "liblog", |
| 11 | "libion", |
| 12 | "libfmq", |
| 13 | "libbase", |
| 14 | "libutils", |
| 15 | "libcutils", |
| 16 | "libcodec2", |
| 17 | "libhidlbase", |
| 18 | "libcodec2_vndk", |
| 19 | "libnativewindow", |
| 20 | "libcodec2_soft_common", |
| 21 | "libsfplugin_ccodec_utils", |
| 22 | "libstagefright_foundation", |
| 23 | "libstagefright_bufferpool@2.0.1", |
| 24 | "android.hardware.graphics.mapper@2.0", |
| 25 | "android.hardware.graphics.mapper@3.0", |
| 26 | "android.hardware.media.bufferpool@2.0", |
| 27 | "android.hardware.graphics.allocator@2.0", |
| 28 | "android.hardware.graphics.allocator@3.0", |
| 29 | "android.hardware.graphics.bufferqueue@2.0", |
| 30 | ], |
| 31 | |
| 32 | shared_libs: [ |
| 33 | "libui", |
| 34 | "libdl", |
| 35 | "libhardware", |
| 36 | "libvndksupport", |
| 37 | "libprocessgroup", |
| 38 | ], |
| 39 | |
| 40 | cflags: [ |
| 41 | "-Wall", |
| 42 | "-Werror", |
| 43 | ], |
| 44 | } |
| 45 | |
| 46 | cc_test { |
| 47 | name: "C2SoftMpeg4DecTest", |
| 48 | defaults: ["C2SoftCodecTest-defaults"], |
| 49 | |
| 50 | static_libs: [ |
| 51 | "libstagefright_m4vh263dec", |
| 52 | "libcodec2_soft_mpeg4dec", |
| 53 | ], |
| 54 | |
| 55 | test_suites: [ |
| 56 | "general-tests", |
| 57 | ], |
| 58 | } |