| 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, |
| }, |
| }, |
| } |