| # 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="a1b04d1c66336fe6468130ea11ee8f000f1c8d02" |
| CROS_WORKON_TREE=("638bfde957a502ad58d182712c1ebdf335f9a3da" "9fc84a9209cf9d428d562666ba4c122c02b9cd14" "1e3fd8cc3ea8b805ceef17f1c103e4ddbb9ac96f" "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:= |
| 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" |
| } |