blob: 0c701d7b8071750fd5a56a6bcad5354854f22700 [file] [log] [blame]
// service library
cc_library_shared {
name: "libmediaextractorservice",
cflags: [
"-Wall",
"-Werror",
],
srcs: ["MediaExtractorService.cpp"],
shared_libs: [
"libmedia",
"libstagefright",
"libbinder",
"libutils",
],
}
// service executable
cc_binary {
name: "mediaextractor",
srcs: ["main_extractorservice.cpp"],
shared_libs: [
"libmedia",
"libmediaextractorservice",
"libbinder",
"libutils",
"liblog",
"libavservices_minijail",
],
target: {
android: {
product_variables: {
malloc_not_svelte: {
// Scudo increases memory footprint, so only enable on
// non-svelte devices.
shared_libs: ["libc_scudo"],
},
},
},
},
init_rc: ["mediaextractor.rc"],
include_dirs: ["frameworks/av/media/libmedia"],
cflags: [
"-Wall",
"-Werror",
],
}
prebuilt_etc {
name: "mediaextractor.policy",
sub_dir: "seccomp_policy",
arch: {
arm: {
src: "seccomp_policy/mediaextractor-arm.policy",
},
arm64: {
src: "seccomp_policy/mediaextractor-arm64.policy",
},
x86: {
src: "seccomp_policy/mediaextractor-x86.policy",
},
x86_64: {
src: "seccomp_policy/mediaextractor-x86_64.policy",
},
},
required: [
"crash_dump.policy",
"code_coverage.policy",
],
}