blob: 6f071113fbdfe7b6f30e051c0f112386a488b018 [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CROS_WORKON_COMMIT="49ff1b981e06a3526d088fdb26a6a4639630adc5"
CROS_WORKON_TREE="e52f0a1fd0e2d7e6c3c875db77654d94bf4ad15c"
CROS_WORKON_PROJECT="chromiumos/platform/tast"
CROS_WORKON_LOCALNAME="tast"
CROS_GO_BINARIES=(
"chromiumos/tast/cmd/local_test_runner"
)
CROS_GO_TEST=(
"chromiumos/tast/cmd/local_test_runner/..."
)
CROS_GO_VET=(
"${CROS_GO_TEST[@]}"
)
inherit cros-go cros-workon
DESCRIPTION="Runner for local integration tests"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform/tast/"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE=""
# Build-time dependencies should be added to tast-build-deps, not here.
DEPEND="chromeos-base/tast-build-deps"
RDEPEND="
app-arch/tar
!chromeos-base/tast-common
"
src_prepare() {
# Disable cgo and PIE on building Tast binaries. See:
# https://crbug.com/976196
# https://github.com/golang/go/issues/30986#issuecomment-475626018
export CGO_ENABLED=0
export GOPIE=0
cros-workon_src_prepare
default
}