1package { 2 // http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // the below license kinds from "system_media_license": 5 // SPDX-license-identifier-Apache-2.0 6 default_applicable_licenses: ["system_media_license"], 7} 8 9cc_defaults { 10 name: "libaudioroute_defaults", 11 vendor_available: true, 12 srcs: ["audio_route.c"], 13 shared_libs: [ 14 "liblog", 15 "libcutils", 16 "libutils", 17 "libexpat", 18 ], 19 cflags: [ 20 "-Werror", 21 "-Wall", 22 ], 23} 24 25cc_library_shared { 26 name: "libaudioroute", 27 defaults: ["libaudioroute_defaults"], 28 vndk: { 29 enabled: true, 30 }, 31 shared_libs: [ 32 "libtinyalsa", 33 ], 34} 35 36cc_library_shared { 37 name: "libaudioroutev2", 38 defaults: ["libaudioroute_defaults"], 39 shared_libs: [ 40 "libtinyalsav2", 41 ], 42} 43