blob: 57c25047ee5ff322379ca077a467e55534d4bfda [file] [log] [blame]
# Copyright 2015 The ChromiumOS Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CROS_WORKON_COMMIT="b8b2c09a7965e530eeeba1e7adac51ef542264ee"
CROS_WORKON_TREE="90bdf7bf8277a134d32c41f8816b2551cceb66a3"
CROS_WORKON_PROJECT="chromiumos/platform/touch_firmware_test"
CROS_WORKON_LOCALNAME="platform/touch_firmware_test"
PYTHON_COMPAT=( python3_{6..9} )
inherit cros-sanitizers cros-workon cros-constants cros-debug distutils-r1
DESCRIPTION="Chromium OS multitouch utilities"
LICENSE="BSD-Google"
SLOT="0/0"
KEYWORDS="*"
IUSE="-asan"
RDEPEND=""
DEPEND=${RDEPEND}
src_configure() {
sanitizers-setup-env
cros-debug-add-NDEBUG
default
}
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}"
}