1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_av_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_av_license"], 8} 9 10cc_test { 11 name: "codec2_core_param_test", 12 test_suites: ["device-tests"], 13 14 srcs: [ 15 "C2Param_test.cpp", 16 ], 17 18 header_libs: [ 19 "libcodec2_headers", 20 "libcodec2_vndk_headers", 21 ], 22 23 // param tests must not depend on any codec2 libraries as all params should be templated 24 shared_libs: [ 25 ], 26 27 static_libs: [ 28 ], 29 30 cpp_std: "gnu++17", 31 cflags: [ 32 "-Werror", 33 "-Wall", 34 ], 35} 36 37cc_test { 38 name: "codec2_vndk_test", 39 test_suites: ["device-tests"], 40 // This test doesn't seem to support isolated with current assumption 41 isolated: false, 42 43 srcs: [ 44 "C2_test.cpp", 45 "C2SampleComponent_test.cpp", 46 "C2UtilTest.cpp", 47 "vndk/C2BufferTest.cpp", 48 "vndk/C2FenceTest.cpp", 49 ], 50 51 static_libs: [ 52 "libgmock", 53 ], 54 55 shared_libs: [ 56 "libcodec2", 57 "libcodec2_vndk", 58 "libcutils", 59 "liblog", 60 "libui", 61 "libutils", 62 ], 63 64 cflags: [ 65 "-Werror", 66 "-Wall", 67 ], 68} 69 70cc_test { 71 name: "codec2_vndk_interface_test", 72 73 srcs: [ 74 "C2ComponentInterface_test.cpp", 75 ], 76 77 header_libs: [ 78 "media_plugin_headers", 79 ], 80 81 shared_libs: [ 82 "libcutils", 83 "liblog", 84 "libcodec2", 85 "libcodec2_vndk", 86 "libutils", 87 ], 88 89 cflags: [ 90 "-Werror", 91 "-Wall", 92 ], 93} 94