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 host_supported: true, 13 srcs: ["audio_route.c"], 14 export_include_dirs: ["include"], 15 shared_libs: [ 16 "libcutils", 17 "libexpat", 18 "liblog", 19 "libutils", 20 ], 21 cflags: [ 22 "-Wall", 23 "-Werror", 24 ], 25} 26 27cc_library_shared { 28 name: "libaudioroute", 29 defaults: ["libaudioroute_defaults"], 30 shared_libs: [ 31 "libtinyalsa", 32 ], 33} 34 35cc_library_shared { 36 name: "libaudioroutev2", 37 defaults: ["libaudioroute_defaults"], 38 shared_libs: [ 39 "libtinyalsav2", 40 ], 41} 42