| # 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_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 |
| } |