blob: 484480a1c0360bf05dd950c6694ddad56dffc3b7 [file] [log] [blame]
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="69cdb24c55805aa4591cc21ac714d0d6e28ba3d2"
CROS_WORKON_TREE="f86c76449a7cf2949bd1cf66ce3f1ce05ad6040e"
CROS_WORKON_PROJECT="chromiumos/platform/drm-tests"
inherit cros-workon toolchain-funcs
DESCRIPTION="Chrome OS DRM Tests"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="BSD"
SLOT="0"
KEYWORDS="*"
IUSE=""
RDEPEND="virtual/opengles
|| ( media-libs/mesa[gbm] media-libs/minigbm )"
DEPEND="${RDEPEND}
x11-drivers/opengles-headers"
src_compile() {
tc-export CC
emake
}
src_install() {
cd build-opt-local
dobin null_platform_test vgem_test vgem_fb_test swrast_test atomictest gamma_test plane_test drm_cursor_test linear_bo_test tiled_bo_test
}