summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Li <dvdli@google.com>2021-02-03 01:08:57 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-03 01:08:57 +0000
commitbd8ee49f8bf5ac3041571bceab597c6cfa8348c4 (patch)
tree93ceddbfd5bd1e8432e046e9a943d858835ccf4f
parent541a8d3e5b6d5f9667c25f72aa669eabe8ae6305 (diff)
parent98b3be0068452f7295f3c5dd6e006d09d1f86e9a (diff)
downloadlibhardware-bd8ee49f8bf5ac3041571bceab597c6cfa8348c4.tar.gz
Merge "add audio.usbv2.default linking libtinyalsav2 and libalsautilsv2"
-rw-r--r--modules/usbaudio/Android.bp24
1 files changed, 20 insertions, 4 deletions
diff --git a/modules/usbaudio/Android.bp b/modules/usbaudio/Android.bp
index c7d403f5..9f787532 100644
--- a/modules/usbaudio/Android.bp
+++ b/modules/usbaudio/Android.bp
@@ -12,18 +12,34 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-cc_library_shared {
- name: "audio.usb.default",
+cc_defaults {
+ name: "audio.usb_defaults",
relative_install_path: "hw",
vendor: true,
srcs: ["audio_hal.c"],
shared_libs: [
"liblog",
"libcutils",
- "libtinyalsa",
"libaudioutils",
- "libalsautils",
],
cflags: ["-Wno-unused-parameter"],
header_libs: ["libhardware_headers"],
}
+
+cc_library_shared {
+ name: "audio.usb.default",
+ defaults: ["audio.usb_defaults"],
+ shared_libs: [
+ "libtinyalsa",
+ "libalsautils",
+ ],
+}
+
+cc_library_shared {
+ name: "audio.usbv2.default",
+ defaults: ["audio.usb_defaults"],
+ shared_libs: [
+ "libtinyalsav2",
+ "libalsautilsv2",
+ ],
+}