blob: 47bb7a7e86a19212d127c6f6bf6285a41c4d070c [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
CROS_WORKON_COMMIT="2672249b7d9c87651c06b08db27169dac59dc3d0"
CROS_WORKON_TREE="fd95b5f246e18810abad5b37df63405cb4785ae1"
CROS_WORKON_PROJECT="chromiumos/platform/touch_firmware_test"
PYTHON_COMPAT=( python2_7 )
inherit cros-workon cros-constants cros-debug distutils-r1
DESCRIPTION="Chromium OS multitouch utilities"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE="-asan -clang"
REQUIRED_USE="asan? ( clang )"
RDEPEND=""
DEPEND=${RDEPEND}
src_prepare() {
cros-workon_src_prepare
}
src_configure() {
cros-workon_src_configure
}
src_install() {
# install the remote package
distutils-r1_src_install
# install the webplot script
exeinto /usr/local/bin
newexe webplot/chromeos_wrapper.sh webplot
# install to autotest deps directory for dependency
DESTDIR="${D}${AUTOTEST_BASE}/client/deps/touchpad-tests/touch_firmware_test"
mkdir -p "${DESTDIR}"
echo "CMD:" cp -Rp "${S}"/* "${DESTDIR}"
cp -Rp "${S}"/* "${DESTDIR}"
}