1
0
Fork 0
android_external_alsa-utils/Android.bp
Konsta 6a4bf9f6b9
Some checks failed
Build alsa-utils / fedora_latest_build (push) Has been cancelled
Build alsa-utils / ubuntu_last_build (push) Has been cancelled
Merge tag 'v1.2.16' of https://github.com/alsa-project/alsa-utils into android-16.0
Release v1.2.16

Core
 - Release v1.2.16
 - INSTALL: update compilation from git sources
 - configure: update to autoconf v2.72
ALSA Control (alsactl)
 - aplay, alsactl, topology: fix discards const from pointer target
 - Remove more generated files on "make clean"
Speaker Test
 - speaker-test: extend MAX_CHANNELS from 16 to 32
 - speaker-test: fix segfault with more than 16 channels
aconnect
 - aconnect: fix error handler for alsa-lib <= 1.2.15
alsa-info.sh
 - alsa-info.sh: remove some bashisms to allow run with busybox
alsaloop
 - alsaloop: parse_config(): align optstring order with the long options
 - alsaloop: parse_config(): handle long form --wake option
 - alsaloop: parse_config(): drop unused 'F' option
 - alsaloop: parse_config(): handle short form -B / -E options
alsatplg (topology)
 - aplay, alsactl, topology: fix discards const from pointer target
amixer
 - amixer: always use line buffering for (s)events
 - amixer: document --file option in man page
 - amixer: support --file option
 - amixer: support infinite line length for --stdin option
aplay/arecord
 - aplay, alsactl, topology: fix discards const from pointer target
 - Remove more generated files on "make clean"
 - aplay: use snprintf instead of sprintf in device_list()
gitcompile
 - gitcompile: extensions for gettext and error handling
 - configure: update to autoconf v2.72

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-06-18 13:48:05 +03:00

143 lines
2.9 KiB
Text

//
// Copyright (C) 2025 KonstaKANG
//
// SPDX-License-Identifier: GPL-2.0-or-later
//
cc_defaults {
name: "alsa-utils_defaults",
vendor: true,
local_include_dirs: [
"include",
],
shared_libs: [
"libasound",
],
cflags: [
"-DPIC",
"-O2",
"-fPIC",
],
}
cc_binary {
name: "alsactl",
srcs: [
"alsactl/alsactl.c",
"alsactl/boot_params.c",
"alsactl/clean.c",
"alsactl/daemon.c",
"alsactl/export.c",
"alsactl/info.c",
"alsactl/init_parse.c",
"alsactl/init_ucm.c",
"alsactl/lock.c",
"alsactl/monitor.c",
"alsactl/state.c",
"alsactl/utils.c",
"alsactl/wait.c",
],
cflags: [
"-DSYS_ASOUNDRC=\"/data/local/tmp/asound.state\"",
"-DSYS_LOCKFILE=\"asound.state.lock\"",
"-DSYS_LOCKPATH=\"/data/local/tmp/\"",
"-DSYS_PIDFILE=\"/data/local/tmp/alsactl.pid\"",
"-D_GNU_SOURCE",
"-D__USE_GNU",
"-Wno-parentheses",
],
defaults: ["alsa-utils_defaults"],
}
cc_binary {
name: "alsaloop",
srcs: [
"alsaloop/alsaloop.c",
"alsaloop/control.c",
"alsaloop/pcmjob.c",
],
defaults: ["alsa-utils_defaults"],
}
cc_binary {
name: "alsaucm",
srcs: [
"alsaucm/dump.c",
"alsaucm/usecase.c",
],
defaults: ["alsa-utils_defaults"],
}
cc_binary {
name: "alsamidi",
srcs: [
"amidi/amidi.c",
],
defaults: ["alsa-utils_defaults"],
}
cc_binary {
name: "amixer",
srcs: [
"amixer/amixer.c",
"amixer/volume_mapping.c",
],
cflags: [
"-D_GNU_SOURCE",
],
defaults: ["alsa-utils_defaults"],
}
cc_binary {
name: "aplay",
srcs: [
"aplay/aplay.c",
],
defaults: ["alsa-utils_defaults"],
}
cc_binary {
name: "arecord",
srcs: [
"aplay/aplay.c",
],
defaults: ["alsa-utils_defaults"],
}
cc_binary {
name: "axfer",
srcs: [
"axfer/container-au.c",
"axfer/container-raw.c",
"axfer/container-riff-wave.c",
"axfer/container-voc.c",
"axfer/container.c",
"axfer/frame-cache.c",
"axfer/main.c",
"axfer/mapper-multiple.c",
"axfer/mapper-single.c",
"axfer/mapper.c",
"axfer/subcmd-list.c",
"axfer/subcmd-transfer.c",
"axfer/waiter-epoll.c",
"axfer/waiter-poll.c",
"axfer/waiter-select.c",
"axfer/waiter.c",
"axfer/xfer-libasound-irq-mmap.c",
"axfer/xfer-libasound-irq-rw.c",
"axfer/xfer-libasound-timer-mmap.c",
"axfer/xfer-libasound.c",
"axfer/xfer-options.c",
"axfer/xfer.c",
],
defaults: ["alsa-utils_defaults"],
}
cc_binary {
name: "iecset",
srcs: [
"iecset/iecbits.c",
"iecset/iecset.c",
],
defaults: ["alsa-utils_defaults"],
}