You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
1.8 KiB

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",
],
include_dirs: [
"frameworks/av/media/codec2/sfplugin",
],
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",
],
include_dirs: [
"frameworks/av/media/codec2/sfplugin",
],
header_libs: [
"libmediadrm_headers",
"libmediametrics_headers",
],
shared_libs: [
"libbinder",
"libcodec2",
"libgui",
"libmedia",
"libmedia_omx",
"libsfplugin_ccodec",
"libstagefright",
"libstagefright_foundation",
"libutils",
],
cflags: [
"-Werror",
"-Wall",
],
}