1cc_test { 2 name: "codec2_core_param_test", 3 4 srcs: [ 5 "C2Param_test.cpp", 6 ], 7 8 include_dirs: [ 9 "frameworks/av/media/codec2/vndk/include", 10 ], 11 12 header_libs: [ 13 "libcodec2_headers", 14 ], 15 16 // param tests must not depend on any codec2 libraries as all params should be templated 17 shared_libs: [ 18 ], 19 20 static_libs: [ 21 ], 22 23 cflags: [ 24 "-Werror", 25 "-Wall", 26 ], 27} 28 29cc_test { 30 name: "codec2_vndk_test", 31 32 srcs: [ 33 "C2_test.cpp", 34 "C2SampleComponent_test.cpp", 35 "C2UtilTest.cpp", 36 "vndk/C2BufferTest.cpp", 37 ], 38 39 include_dirs: [ 40 ], 41 42 shared_libs: [ 43 "libcodec2", 44 "libcodec2_vndk", 45 "libcutils", 46 "liblog", 47 "libutils", 48 ], 49 50 cflags: [ 51 "-Werror", 52 "-Wall", 53 ], 54} 55 56cc_test { 57 name: "codec2_vndk_interface_test", 58 59 srcs: [ 60 "C2ComponentInterface_test.cpp", 61 ], 62 63 header_libs: [ 64 "media_plugin_headers", 65 ], 66 67 shared_libs: [ 68 "libcutils", 69 "liblog", 70 "libcodec2", 71 "libcodec2_vndk", 72 "libutils", 73 ], 74 75 cflags: [ 76 "-Werror", 77 "-Wall", 78 ], 79} 80