AIDL effect: Extract common parts of effect service into cc_defaults am: 43f9a07e04
am: acfc7ae9cb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2198794 Change-Id: I9faeb1598f00db6b59311fb04a09be0be7e3c718 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
4526d844d1
1 changed files with 14 additions and 15 deletions
|
@ -52,8 +52,8 @@ cc_binary {
|
|||
srcs: ["main.cpp"],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "libaudioeffectserviceexampleimpl",
|
||||
cc_defaults {
|
||||
name: "aidlaudioeffectservice_defaults",
|
||||
vendor: true,
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
|
@ -61,6 +61,17 @@ cc_library_static {
|
|||
"android.media.audio.common.types-V1-ndk",
|
||||
"android.hardware.audio.effect-V1-ndk",
|
||||
],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror",
|
||||
"-Wthread-safety",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "libaudioeffectserviceexampleimpl",
|
||||
defaults: ["aidlaudioeffectservice_defaults"],
|
||||
export_include_dirs: ["include"],
|
||||
srcs: [
|
||||
"EffectFactory.cpp",
|
||||
|
@ -75,21 +86,9 @@ cc_binary {
|
|||
relative_install_path: "hw",
|
||||
init_rc: ["android.hardware.audio.effect.service-aidl.example.rc"],
|
||||
vintf_fragments: ["android.hardware.audio.effect.service-aidl.xml"],
|
||||
vendor: true,
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libbinder_ndk",
|
||||
"android.media.audio.common.types-V1-ndk",
|
||||
"android.hardware.audio.effect-V1-ndk",
|
||||
],
|
||||
defaults: ["aidlaudioeffectservice_defaults"],
|
||||
static_libs: [
|
||||
"libaudioeffectserviceexampleimpl",
|
||||
],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror",
|
||||
"-Wthread-safety",
|
||||
],
|
||||
srcs: ["EffectMain.cpp"],
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue