blob: 3a21091b43c2a7cc97146caf5017d0f7e929b37d [file] [log] [blame]
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="2587466256247b091d032e56b7ccff72fe1b9b2e"
CROS_WORKON_TREE="a2060177e87955dd541aedaed7c255b10b9f3fd2"
CROS_WORKON_OUTOFTREE_BUILD=1
CROS_WORKON_PROJECT="chromiumos/platform/audiotest"
inherit cros-workon
DESCRIPTION="Audio test tools"
HOMEPAGE="http://src.chromium.org"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE="-asan"
RDEPEND="media-libs/alsa-lib
media-sound/adhd"
DEPEND="${RDEPEND}"
src_prepare() {
cros-workon_src_prepare
}
src_configure() {
asan-setup-env
cros-workon_src_configure
}
src_compile() {
cros-workon_src_compile
}
src_install() {
cros-workon_src_install
# Install built tools
pushd "${OUT}" >/dev/null
dobin src/alsa_api_test
dobin src/alsa_helpers
dobin src/audiofuntest
dobin src/cras_api_test
dobin src/loopback_latency
popd >/dev/null
}