blob: 3e86b2b3df9614fa3bca3b9c57a19154a2206d7f [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="7cde658e97d6a00cf0d43f0478544e71ffd2e2d2"
CROS_WORKON_TREE="927ae9e7bf6aec69bf6ac90d75bbda476dfce04e"
CROS_WORKON_PROJECT="chromiumos/platform/mttools"
inherit cros-workon cros-constants cros-debug
DESCRIPTION="Chromium OS multitouch utilities"
LICENSE="BSD"
SLOT="0"
KEYWORDS="*"
IUSE="-asan -clang"
REQUIRED_USE="asan? ( clang )"
RDEPEND="chromeos-base/gestures
app-misc/utouch-evemu
chromeos-base/libevdev
chromeos-base/touch_firmware_test"
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
}