| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=2 |
| CROS_WORKON_COMMIT="f507f8d488b9f31d4332f61409f8ea202b5e6f32" |
| CROS_WORKON_TREE="1506da5a02d48cf3f748de3b0771f2b7b53b4db8" |
| CROS_WORKON_PROJECT="chromiumos/third_party/autotest" |
| CROS_WORKON_LOCALNAME=../third_party/autotest |
| CROS_WORKON_SUBDIR=files |
| |
| CONFLICT_LIST="chromeos-base/autotest-deps-0.0.1-r321" |
| inherit cros-workon autotest-deponly conflict cros-debug |
| |
| DESCRIPTION="Autotest glbench dep" |
| HOMEPAGE="http://www.chromium.org/" |
| SRC_URI="" |
| |
| LICENSE="GPL-2" |
| SLOT="0" |
| KEYWORDS="x86 arm amd64" |
| |
| # Autotest enabled by default. |
| IUSE="+autotest" |
| |
| LIBCHROME_VERS="180609" |
| |
| RDEPEND="${RDEPEND} |
| dev-cpp/gflags |
| chromeos-base/libchrome:${LIBCHROME_VERS}[cros-debug=] |
| !opengles? ( virtual/opengl ) |
| opengles? ( virtual/opengles ) |
| x11-apps/xwd |
| " |
| |
| DEPEND="${RDEPEND} |
| opengles? ( 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 |
| export BASE_VER=${LIBCHROME_VERS} |
| } |
| |
| src_configure() { |
| cros-workon_src_configure |
| } |
| |