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.

61 lines
1.2 KiB

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_libavc_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["external_libavc_license"],
}
cc_test {
name: "avcdec",
gtest: false,
host_supported:true,
cflags: [
"-DPROFILE_ENABLE",
"-DARM",
"-DMD5_DISABLE",
"-fPIC",
"-Wall",
"-Werror",
],
local_include_dirs: [
"decoder/",
],
srcs: ["decoder/main.c"],
static_libs: ["libavcdec"],
shared_libs: ["liblog"],
target: {
darwin: {
enabled: false,
},
},
}
cc_test {
name: "avcenc",
gtest: false,
host_supported: true,
cflags: [
"-DPROFILE_ENABLE",
"-DARM",
"-DMD5_DISABLE",
"-fPIC",
"-Wall",
"-Werror",
"-Wno-unused-variable",
],
local_include_dirs: [
"encoder/",
],
srcs: [
"encoder/main.c",
"encoder/psnr.c",
"encoder/input.c",
"encoder/output.c",
"encoder/recon.c",
],
static_libs: ["libavcenc"],
}