| # Copyright 2015 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=4 |
| |
| CROS_WORKON_COMMIT="6bb9b8fe43e0b5add60f97ce92d0f4a2ecab65e1" |
| CROS_WORKON_TREE="8e47c3054d0748628354df2cc1713f31a4855a81" |
| CROS_WORKON_INCREMENTAL_BUILD=1 |
| CROS_WORKON_LOCALNAME="platform2" |
| CROS_WORKON_PROJECT="chromiumos/platform2" |
| CROS_WORKON_OUTOFTREE_BUILD=1 |
| |
| PLATFORM_SUBDIR="fides" |
| |
| inherit cros-workon libchrome platform |
| |
| DESCRIPTION="Device Configuration Management Services" |
| HOMEPAGE="http://www.chromium.org/" |
| LICENSE="BSD-Google" |
| SLOT=0 |
| KEYWORDS="*" |
| |
| DEPEND=" |
| test? ( dev-cpp/gtest ) |
| " |
| |
| platform_pkg_test() { |
| local tests=( |
| fides_testrunner |
| ) |
| |
| local test_bin |
| for test_bin in "${tests[@]}"; do |
| platform_test "run" "${OUT}/${test_bin}" |
| done |
| } |