mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-10-02 08:42:42 +07:00
Some checks failed
CMake / build (cmake, aarch64-linux-gnu-gcc, -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch64_toolchain.cmake, aarch64-linux-gnu-g++, ubuntu-latest-cross-aarch64-cmake, ubuntu-latest) (push) Has been cancelled
CMake / build (cmake, arm-linux-gnueabihf-gcc, -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch32_toolchain.cmake, arm-linux-gnueabihf-g++, ubuntu-latest-cross-aarch32-cmake, ubuntu-latest) (push) Has been cancelled
CMake / build (cmake, clang, , clang++, macos-latest-clang-cmake, macos-latest) (push) Has been cancelled
CMake / build (cmake, clang, , clang++, ubuntu-24.04-arm-clang-cmake, ubuntu-24.04-arm) (push) Has been cancelled
CMake / build (cmake, clang, , clang++, ubuntu-latest-clang-cmake, ubuntu-latest) (push) Has been cancelled
CMake / build (cmake, clang, -DSANITIZE=fuzzer-no-link,address, clang++, ubuntu-latest-clang-cmake-asan-fuzzer, ubuntu-latest) (push) Has been cancelled
CMake / build (cmake, clang, -G Ninja, clang++, ubuntu-latest-clang-cmake-ninja, ubuntu-latest) (push) Has been cancelled
CMake / build (cmake, gcc, , g++, ubuntu-latest-gcc-cmake, ubuntu-latest) (push) Has been cancelled
Add Android.bp, AndroidTest.xml, and DynamicConfig.xml for HEVC decoder
and encoder unit tests under tests/.
- Create HevcTest cc_test target combining decoder and encoder tests
- Consolidate libhevc_dec_helper and libhevc_enc_helper in tests/Android.bp
- Add AndroidTest.xml and DynamicConfig.xml referencing HevcTestRes-1.0
Test: m HevcTest
TAG=agy
CONV=45ddf533-39e8-4532-85df-085db1ce522a
(cherry picked from commit e528efb13d)
86 lines
1.6 KiB
Text
86 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,
|
|
},
|
|
}
|