mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-08-14 14:52:35 +07:00
Some checks are pending
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) Waiting to run
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) Waiting to run
CMake / build (cmake, clang, , clang++, macos-latest-clang-cmake, macos-latest) (push) Waiting to run
CMake / build (cmake, clang, , clang++, ubuntu-24.04-arm-clang-cmake, ubuntu-24.04-arm) (push) Waiting to run
CMake / build (cmake, clang, , clang++, ubuntu-latest-clang-cmake, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, clang, -DSANITIZE=fuzzer-no-link,address, clang++, ubuntu-latest-clang-cmake-asan-fuzzer, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, clang, -G Ninja, clang++, ubuntu-latest-clang-cmake-ninja, ubuntu-latest) (push) Waiting to run
CMake / build (cmake, gcc, , g++, ubuntu-latest-gcc-cmake, ubuntu-latest) (push) Waiting to run
Updated new tests to build in Android.
208 lines
4.5 KiB
Text
208 lines
4.5 KiB
Text
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "external_libhevc_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["external_libhevc_license"],
|
|
}
|
|
|
|
cc_defaults {
|
|
name: "libhevc_tests_defaults",
|
|
host_supported: true,
|
|
arch: {
|
|
arm: {
|
|
cflags: [
|
|
"-DDISABLE_NEONINTR",
|
|
"-DARM",
|
|
"-DARMGCC",
|
|
],
|
|
},
|
|
arm64: {
|
|
cflags: [
|
|
"-DARMV8",
|
|
"-DDISABLE_NEONINTR",
|
|
"-DARM",
|
|
"-DARMGCC",
|
|
],
|
|
},
|
|
x86: {
|
|
cflags: ["-DDISABLE_AVX2"],
|
|
},
|
|
x86_64: {
|
|
cflags: ["-DDISABLE_AVX2"],
|
|
},
|
|
},
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libhevc_tests_common",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: [
|
|
"TestCommon.cc",
|
|
"func_selector.cc",
|
|
"BitsBuf.cpp",
|
|
"RawBuf.cpp",
|
|
"Md5Wrapper.cpp",
|
|
"BitsFile.cpp",
|
|
"RawFile.cpp",
|
|
],
|
|
export_include_dirs: ["."],
|
|
shared_libs: [
|
|
"libcrypto",
|
|
],
|
|
static_libs: [
|
|
"libhevccommon",
|
|
"libgtest",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_luma_inter_pred_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_luma_inter_pred_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_luma_intra_pred_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_luma_intra_pred_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_itrans_res_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_itrans_res_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_itrans_recon_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_itrans_recon_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_chroma_inter_pred_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_chroma_inter_pred_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_chroma_intra_pred_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_chroma_intra_pred_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_chroma_itrans_recon_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_chroma_itrans_recon_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_chroma_recon_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_chroma_recon_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_padding_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_padding_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_weighted_pred_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_weighted_pred_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_deblk_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_deblk_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_sao_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_sao_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_itrans_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_itrans_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_mem_fns_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_mem_fns_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "ihevc_recon_test",
|
|
defaults: ["libhevc_tests_defaults"],
|
|
srcs: ["ihevc_recon_test.cc"],
|
|
static_libs: [
|
|
"libhevc_tests_common",
|
|
"libhevccommon",
|
|
],
|
|
}
|