blob: 2540d20e3ae5cb73b8f94ad3aaa1bde69de04bd9 [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
CROS_WORKON_COMMIT="2b406012b813f563379d56fa17eadcee19989341"
CROS_WORKON_TREE="565139fe448c6ba2eae4308fb108a9d6bb7d5adc"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME=../third_party/autotest
CROS_WORKON_SUBDIR=files
inherit cros-workon autotest-deponly cros-debug libchrome
DESCRIPTION="Autotest glbench dep"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
# Autotest enabled by default.
IUSE="+autotest X"
RDEPEND="${RDEPEND}
>=dev-cpp/gflags-2.0
media-libs/libpng
!opengles? ( virtual/opengl )
opengles? ( virtual/opengles )
media-libs/waffle
"
DEPEND="${RDEPEND}
x11-drivers/opengles-headers"
AUTOTEST_DEPS_LIST="glbench"
# NOTE: For deps, we need to keep *.a
AUTOTEST_FILE_MASK="*.tar.bz2 *.tbz2 *.tgz *.tar.gz"
src_prepare() {
autotest-deponly_src_prepare
cros-debug-add-NDEBUG
}
src_configure() {
cros-workon_src_configure
}