1package { 2 default_applicable_licenses: ["external_tinyalsa_license"], 3} 4 5// Added automatically by a large-scale-change 6// http://go/android-license-faq 7license { 8 name: "external_tinyalsa_license", 9 visibility: [":__subpackages__"], 10 license_kinds: [ 11 "SPDX-license-identifier-BSD", 12 ], 13 license_text: [ 14 "NOTICE", 15 ], 16} 17 18cc_library { 19 name: "libtinyalsa", 20 host_supported: true, 21 vendor_available: true, 22 product_available: true, 23 vndk: { 24 enabled: true, 25 }, 26 srcs: [ 27 "mixer.c", 28 "mixer_hw.c", 29 "mixer_plugin.c", 30 "pcm.c", 31 "pcm_hw.c", 32 "pcm_plugin.c", 33 "snd_utils.c", 34 ], 35 cflags: ["-Werror", "-Wno-macro-redefined"], 36 export_include_dirs: ["include"], 37 local_include_dirs: ["include"], 38 39 target: { 40 darwin: { 41 enabled: false, 42 }, 43 }, 44 45 system_shared_libs: ["libc","libdl"], 46} 47 48cc_binary { 49 name: "tinyplay", 50 host_supported: true, 51 srcs: ["tinyplay.c"], 52 shared_libs: ["libtinyalsa"], 53 cflags: ["-Werror"], 54 target: { 55 darwin: { 56 enabled: false, 57 }, 58 }, 59} 60 61cc_binary { 62 name: "tinycap", 63 srcs: ["tinycap.c"], 64 shared_libs: ["libtinyalsa"], 65 cflags: ["-Werror"], 66} 67 68cc_binary { 69 name: "tinymix", 70 srcs: ["tinymix.c"], 71 shared_libs: ["libtinyalsa"], 72 cflags: ["-Werror", "-Wall"], 73} 74 75cc_binary { 76 name: "tinyhostless", 77 srcs: ["tinyhostless.c"], 78 shared_libs: ["libtinyalsa"], 79 cflags: ["-Werror"], 80} 81 82cc_binary { 83 name: "tinypcminfo", 84 srcs: ["tinypcminfo.c"], 85 shared_libs: ["libtinyalsa"], 86 cflags: ["-Werror"], 87} 88