blob: ffa6cbfabae1138cc4e505cbe0ff467b71acdfb0 [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="ef036700b04a8c0921e88ae388698c2f5076fce9"
CROS_WORKON_TREE="cf76f21712d3653ec3c5cf994606b2d2c21b2d31"
CROS_WORKON_PROJECT="chromiumos/platform/mttools"
inherit cros-workon cros-constants
DESCRIPTION="Chromium OS multitouch utilities"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE="-asan -clang"
REQUIRED_USE="asan? ( clang )"
RDEPEND="chromeos-base/gestures
app-misc/utouch-evemu
chromeos-base/libevdev"
DEPEND=${RDEPEND}
src_prepare() {
cros-workon_src_prepare
}
src_configure() {
clang-setup-env
cros-workon_src_configure
}
src_compile() {
cros-workon_src_compile
}
src_install() {
# install to autotest deps directory for dependency
emake DESTDIR="${D}${AUTOTEST_BASE}/client/deps/touchpad-tests/framework" install
}