| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "frameworks_av_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: ["frameworks_av_license"], |
| } |
| |
| cc_test { |
| name: "ccodec_unit_test", |
| test_suites: ["device-tests"], |
| |
| srcs: [ |
| "CCodecBuffers_test.cpp", |
| "CCodecConfig_test.cpp", |
| "FrameReassembler_test.cpp", |
| "ReflectedParamUpdater_test.cpp", |
| ], |
| |
| defaults: [ |
| "libcodec2-impl-defaults", |
| "libcodec2-internal-defaults", |
| ], |
| |
| header_libs: [ |
| "libsfplugin_ccodec_internal_headers", |
| ], |
| |
| shared_libs: [ |
| "android.hardware.media.bufferpool@2.0", |
| "android.hardware.media.c2@1.0", |
| "libcodec2", |
| "libcodec2_client", |
| "libhidlbase", |
| "libfmq", |
| "libmedia_omx", |
| "libsfplugin_ccodec", |
| "libsfplugin_ccodec_utils", |
| "libstagefright_foundation", |
| "libutils", |
| ], |
| |
| static_libs: [ |
| "libcodec2_hidl@1.0", |
| "libstagefright_bufferpool@2.0", |
| ], |
| |
| cflags: [ |
| "-Werror", |
| "-Wall", |
| ], |
| } |
| |
| cc_test { |
| name: "mc_sanity_test", |
| test_suites: ["device-tests"], |
| |
| srcs: [ |
| "MediaCodec_sanity_test.cpp", |
| ], |
| |
| header_libs: [ |
| "libmediadrm_headers", |
| "libmediametrics_headers", |
| "libsfplugin_ccodec_internal_headers", |
| ], |
| |
| shared_libs: [ |
| "libbinder", |
| "libcodec2", |
| "libgui", |
| "libmedia", |
| "libmedia_omx", |
| "libsfplugin_ccodec", |
| "libstagefright", |
| "libstagefright_foundation", |
| "libutils", |
| ], |
| |
| cflags: [ |
| "-Werror", |
| "-Wall", |
| ], |
| } |