78 lines
2.0 KiB
Plaintext
78 lines
2.0 KiB
Plaintext
bootstrap_go_package {
|
|
name: "soong-managerdefault",
|
|
pkgPath: "android/soong/managerdefault",
|
|
deps: [
|
|
"blueprint",
|
|
"blueprint-pathtools",
|
|
"soong",
|
|
"soong-android",
|
|
"soong-cc",
|
|
"soong-genrule",
|
|
],
|
|
srcs: [
|
|
"Android.go",
|
|
],
|
|
pluginFor: ["soong_build"],
|
|
}
|
|
|
|
cc_managerdefault {
|
|
name: "cc_managerdefault_defaults",
|
|
}
|
|
|
|
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "frameworks_av_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["frameworks_av_license"],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libaudiopolicymanagerdefault",
|
|
defaults: ["cc_managerdefault_defaults"],
|
|
srcs: [
|
|
"AudioPolicyManager.cpp",
|
|
"EngineLibrary.cpp",
|
|
],
|
|
|
|
export_include_dirs: ["."],
|
|
|
|
shared_libs: [
|
|
"libaudiofoundation",
|
|
"libcutils",
|
|
"libdl",
|
|
"libutils",
|
|
"liblog",
|
|
"libaudiopolicy",
|
|
"libmedia_helper",
|
|
"libmediametrics",
|
|
"libbinder",
|
|
"libhidlbase",
|
|
"libxml2",
|
|
// The default audio policy engine is always present in the system image.
|
|
// libaudiopolicyengineconfigurable can be built in addition by specifying
|
|
// a dependency on it in the device makefile. There will be no build time
|
|
// conflict with libaudiopolicyenginedefault.
|
|
"libaudiopolicyenginedefault",
|
|
"framework-permission-aidl-cpp",
|
|
"libaudioclient_aidl_conversion",
|
|
"android.media.audio.common.types-V1-cpp",
|
|
"audioclient-types-aidl-cpp",
|
|
],
|
|
|
|
header_libs: [
|
|
"libaudiopolicycommon",
|
|
"libaudiopolicyengine_interface_headers",
|
|
"libaudiopolicymanager_interface_headers",
|
|
],
|
|
|
|
static_libs: ["libaudiopolicycomponents"],
|
|
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
],
|
|
|
|
}
|