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.

62 lines
1.4 KiB

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_headers {
name: "libmedia_helper_headers",
vendor_available: true,
min_sdk_version: "29",
export_include_dirs: ["include"],
host_supported: true,
target: {
darwin: {
enabled: false,
},
},
apex_available: [
"//apex_available:platform",
"com.android.bluetooth.updatable",
"com.android.media",
"com.android.media.swcodec",
],
}
cc_library {
name: "libmedia_helper",
vendor_available: true,
vndk: {
enabled: true,
},
double_loadable: true,
srcs: [
"AudioParameter.cpp",
"AudioValidator.cpp",
"TypeConverter.cpp",
],
cflags: [
"-Werror",
"-Wextra",
"-Wall",
],
shared_libs: ["libutils", "liblog"],
header_libs: [
"libmedia_helper_headers",
"libaudio_system_headers",
],
export_header_lib_headers: [
"libmedia_helper_headers",
],
clang: true,
host_supported: true,
target: {
darwin: {
enabled: false,
},
},
}