blob: 02c356c2bd03199e7c982481c4b3dc128fc90eeb [file] [log] [blame]
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: "codec2_core_param_test",
test_suites: ["device-tests"],
srcs: [
"C2Param_test.cpp",
],
header_libs: [
"libcodec2_headers",
"libcodec2_vndk_headers",
],
// param tests must not depend on any codec2 libraries as all params should be templated
shared_libs: [
],
static_libs: [
],
cpp_std: "gnu++17",
cflags: [
"-Werror",
"-Wall",
],
}
cc_test {
name: "codec2_vndk_test",
test_suites: ["device-tests"],
// This test doesn't seem to support isolated with current assumption
isolated: false,
srcs: [
"C2_test.cpp",
"C2SampleComponent_test.cpp",
"C2UtilTest.cpp",
"vndk/C2BufferTest.cpp",
],
shared_libs: [
"libcodec2",
"libcodec2_vndk",
"libcutils",
"liblog",
"libutils",
],
cflags: [
"-Werror",
"-Wall",
],
}
cc_test {
name: "codec2_vndk_interface_test",
srcs: [
"C2ComponentInterface_test.cpp",
],
header_libs: [
"media_plugin_headers",
],
shared_libs: [
"libcutils",
"liblog",
"libcodec2",
"libcodec2_vndk",
"libutils",
],
cflags: [
"-Werror",
"-Wall",
],
}