mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-10-02 16:52:43 +07:00
87 lines
1.6 KiB
Text
87 lines
1.6 KiB
Text
|
|
package {
|
||
|
|
// Inherit applicable licenses from root
|
||
|
|
default_team: "trendy_team_android_media_codec_framework",
|
||
|
|
default_applicable_licenses: ["external_libhevc_license"],
|
||
|
|
}
|
||
|
|
|
||
|
|
// Decoder Test Helper Library
|
||
|
|
cc_library_static {
|
||
|
|
name: "libhevc_dec_helper",
|
||
|
|
host_supported: true,
|
||
|
|
srcs: [
|
||
|
|
"decoder/DecHelper.cpp",
|
||
|
|
],
|
||
|
|
export_include_dirs: ["decoder"],
|
||
|
|
static_libs: [
|
||
|
|
"libhevcdec",
|
||
|
|
"libhevc_tests_common",
|
||
|
|
"libgtest",
|
||
|
|
"libgmock",
|
||
|
|
],
|
||
|
|
shared_libs: [
|
||
|
|
"libcrypto",
|
||
|
|
],
|
||
|
|
cflags: [
|
||
|
|
"-Wall",
|
||
|
|
"-Werror",
|
||
|
|
],
|
||
|
|
}
|
||
|
|
|
||
|
|
// Encoder Test Helper Library
|
||
|
|
cc_library_static {
|
||
|
|
name: "libhevc_enc_helper",
|
||
|
|
host_supported: true,
|
||
|
|
srcs: [
|
||
|
|
"encoder/EncHelper.cpp",
|
||
|
|
],
|
||
|
|
export_include_dirs: ["encoder"],
|
||
|
|
static_libs: [
|
||
|
|
"libhevcenc",
|
||
|
|
"libhevc_tests_common",
|
||
|
|
],
|
||
|
|
shared_libs: [
|
||
|
|
"libcrypto",
|
||
|
|
],
|
||
|
|
cflags: [
|
||
|
|
"-Wall",
|
||
|
|
"-Werror",
|
||
|
|
],
|
||
|
|
}
|
||
|
|
|
||
|
|
cc_test {
|
||
|
|
name: "HevcTest",
|
||
|
|
gtest: true,
|
||
|
|
host_supported: true,
|
||
|
|
test_suites: ["device-tests"],
|
||
|
|
|
||
|
|
srcs: [
|
||
|
|
"decoder/DecTests.cpp",
|
||
|
|
"encoder/EncTests.cpp",
|
||
|
|
],
|
||
|
|
|
||
|
|
static_libs: [
|
||
|
|
"libhevcdec",
|
||
|
|
"libhevcenc",
|
||
|
|
"libhevc_dec_helper",
|
||
|
|
"libhevc_enc_helper",
|
||
|
|
"libhevc_tests_common",
|
||
|
|
],
|
||
|
|
|
||
|
|
shared_libs: [
|
||
|
|
"libcrypto",
|
||
|
|
],
|
||
|
|
|
||
|
|
cflags: [
|
||
|
|
"-Wall",
|
||
|
|
"-Werror",
|
||
|
|
],
|
||
|
|
|
||
|
|
sanitize: {
|
||
|
|
misc_undefined: [
|
||
|
|
"signed-integer-overflow",
|
||
|
|
"unsigned-integer-overflow",
|
||
|
|
],
|
||
|
|
//cfi: true,
|
||
|
|
},
|
||
|
|
}
|