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: "ccodec_unit_test", 12 test_suites: ["device-tests"], 13 14 srcs: [ 15 "CCodecBuffers_test.cpp", 16 "CCodecConfig_test.cpp", 17 "FrameReassembler_test.cpp", 18 "ReflectedParamUpdater_test.cpp", 19 ], 20 21 defaults: [ 22 "libcodec2-impl-defaults", 23 "libcodec2-internal-defaults", 24 ], 25 26 header_libs: [ 27 "libsfplugin_ccodec_internal_headers", 28 ], 29 30 shared_libs: [ 31 "android.hardware.media.bufferpool@2.0", 32 "android.hardware.media.c2@1.0", 33 "libcodec2", 34 "libcodec2_client", 35 "libhidlbase", 36 "libfmq", 37 "libmedia_omx", 38 "libsfplugin_ccodec", 39 "libsfplugin_ccodec_utils", 40 "libstagefright_foundation", 41 "libutils", 42 ], 43 44 static_libs: [ 45 "libcodec2_hidl@1.0", 46 "libstagefright_bufferpool@2.0", 47 ], 48 49 cflags: [ 50 "-Werror", 51 "-Wall", 52 ], 53} 54 55cc_test { 56 name: "mc_sanity_test", 57 test_suites: ["device-tests"], 58 59 srcs: [ 60 "MediaCodec_sanity_test.cpp", 61 ], 62 63 header_libs: [ 64 "libmediadrm_headers", 65 "libmediametrics_headers", 66 "libsfplugin_ccodec_internal_headers", 67 ], 68 69 shared_libs: [ 70 "libbinder", 71 "libcodec2", 72 "libgui", 73 "libmedia", 74 "libmedia_omx", 75 "libsfplugin_ccodec", 76 "libstagefright", 77 "libstagefright_foundation", 78 "libutils", 79 ], 80 81 cflags: [ 82 "-Werror", 83 "-Wall", 84 ], 85} 86