| # 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="7432eb04cc908698cce7177d790ae56c3feb922e" |
| CROS_WORKON_TREE="c2611cfe0e6b3d58bf455d6916cad7dec51bd93d" |
| CROS_WORKON_PROJECT="chromiumos/platform/mttools" |
| |
| inherit cros-workon cros-constants |
| |
| 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" |
| |
| 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 |
| } |