blob: 0c61a04d2bdc85f1291c0e3c23149b06d983790c [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="bafba938ff65099158b04ca718b1e77a0e43c5c4"
CROS_WORKON_TREE="91211396107e31b348fe4241cb1a8376bcc0f5dd"
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"
RDEPEND=""
DEPEND=${RDEPEND}
src_prepare() {
cros-workon_src_prepare
}
src_configure() {
asan-setup-env
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 the heatmapplot script
newexe heatmap/chromeos_heatmapplot_wrapper.sh heatmapplot
# 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}"
}