Bug: http://b/111000555 It's only needed for linking and Android already passes this by default. Passing it to a compile step causes clang to emit -Wunused-command-line-argument. Test: build Change-Id: Iea608387a57f0a65cfc3e67ab19c8d812f4aef37
45 lines
805 B
Text
45 lines
805 B
Text
cc_test {
|
|
name: "avcdec",
|
|
gtest: false,
|
|
|
|
cflags: [
|
|
"-DPROFILE_ENABLE",
|
|
"-DARM",
|
|
"-DMD5_DISABLE",
|
|
"-fPIC",
|
|
"-Wall",
|
|
"-Werror",
|
|
],
|
|
local_include_dirs: [
|
|
"decoder/",
|
|
],
|
|
srcs: ["decoder/main.c"],
|
|
static_libs: ["libavcdec"],
|
|
shared_libs: ["liblog"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "avcenc",
|
|
gtest: false,
|
|
|
|
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"],
|
|
}
|