| # Copyright 2016 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=7 |
| |
| CROS_WORKON_COMMIT="6bc59e14dd19db0e3ad202e7f3044ca0fcaa963d" |
| CROS_WORKON_TREE=("f86b3dad942180ce041d9034a4f5f9cceb8afe6b" "41e588aa09391b289425ae58c40be138298c6cb0" "fbf7f92e42436fc44261472202d13912ed3e8103" "e7dba8c91c1f3257c34d4a7ffff0ea2537aeb6bb") |
| CROS_WORKON_INCREMENTAL_BUILD=1 |
| CROS_WORKON_LOCALNAME="platform2" |
| CROS_WORKON_PROJECT="chromiumos/platform2" |
| CROS_WORKON_OUTOFTREE_BUILD=1 |
| # TODO(https://crbug.com/809389) |
| CROS_WORKON_SUBTREE="common-mk metrics timberslide .gn" |
| |
| PLATFORM_SUBDIR="timberslide" |
| |
| inherit cros-workon platform |
| |
| DESCRIPTION="EC log concatenator for Chromium OS" |
| HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/master/timberslide/" |
| |
| LICENSE="BSD-Google" |
| KEYWORDS="*" |
| IUSE="" |
| |
| RDEPEND=" |
| >=chromeos-base/metrics-0.0.1-r3152:= |
| dev-libs/re2:= |
| " |
| |
| DEPEND="${RDEPEND}" |
| |
| src_install() { |
| dobin "${OUT}/timberslide" |
| |
| # Install upstart configs and scripts |
| insinto /etc/init |
| doins init/*.conf |
| exeinto /usr/share/cros/init |
| doexe init/*.sh |
| } |
| |
| platform_pkg_test() { |
| platform_test "run" "${OUT}/timberslide_test_runner" |
| } |