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