blob: 40e311468da6d3b33b5c9451d1fd1ca8740a0c89 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
EAPI="6"
CROS_WORKON_COMMIT=("4c3891efd6a13d2c7b3a3e35d27fa92bf00e2b4d" "7c270745ca3e6ef94c315acc45c0a74ac98b08ea")
CROS_WORKON_TREE=("a9c9dfedee8947f546a02e996ac05ea263acfaa1" "dc1506ef7c8cfd2c5ffd1809dac05596ec18773c" "5db60d314fab568dafa2bf67e58dd101e923f2a6")
CROS_WORKON_PROJECT=("chromiumos/platform2" "chromiumos/platform/tast-tests")
CROS_WORKON_LOCALNAME=("platform2" "platform/tast-tests")
CROS_WORKON_DESTDIR=("${S}/platform2" "${S}/platform2/tast-tests")
CROS_WORKON_SUBTREE=("common-mk .gn" "helpers")
PLATFORM_SUBDIR="tast-tests/helpers/local"
inherit cros-workon platform
DESCRIPTION="Compiled executables used by local Tast tests in the cros bundle"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform/tast-tests/+/master/helpers"
LICENSE="BSD-Google GPL-3"
SLOT="0"
KEYWORDS="*"
RDEPEND="
media-libs/minigbm:=
x11-libs/libdrm:=
"
DEPEND="
${RDEPEND}
dev-cpp/gtest:=
"
src_install() {
# Executable files' names take the form <category>.<TestName>.<bin_name>.
exeinto /usr/libexec/tast/helpers/local/cros
doexe "${OUT}"/*.[A-Z]*.*
}