1cc_library { 2 name: "libtinyalsa", 3 host_supported: true, 4 vendor_available: true, 5 vndk: { 6 enabled: true, 7 }, 8 srcs: [ 9 "mixer.c", 10 "pcm.c", 11 ], 12 cflags: ["-Werror", "-Wno-macro-redefined"], 13 export_include_dirs: ["include"], 14 local_include_dirs: ["include"], 15 16 target: { 17 darwin: { 18 enabled: false, 19 }, 20 }, 21} 22 23cc_binary { 24 name: "tinyplay", 25 host_supported: true, 26 srcs: ["tinyplay.c"], 27 shared_libs: ["libtinyalsa"], 28 cflags: ["-Werror"], 29 target: { 30 darwin: { 31 enabled: false, 32 }, 33 }, 34} 35 36cc_binary { 37 name: "tinycap", 38 srcs: ["tinycap.c"], 39 shared_libs: ["libtinyalsa"], 40 cflags: ["-Werror"], 41} 42 43cc_binary { 44 name: "tinymix", 45 srcs: ["tinymix.c"], 46 shared_libs: ["libtinyalsa"], 47 cflags: ["-Werror", "-Wall"], 48} 49 50cc_binary { 51 name: "tinyhostless", 52 srcs: ["tinyhostless.c"], 53 shared_libs: ["libtinyalsa"], 54 cflags: ["-Werror"], 55} 56 57cc_binary { 58 name: "tinypcminfo", 59 srcs: ["tinypcminfo.c"], 60 shared_libs: ["libtinyalsa"], 61 cflags: ["-Werror"], 62} 63