| # 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="0553127ef2b660a5c71f12a9417ed4ad35f07120" |
| CROS_WORKON_TREE=("791c6808b4f4f5f1c484108d66ff958d65f8f1e3" "a9708ef639f0f7929195d0f3921ebd1a12ad96bd" "ed5e8ef1b9fb278f4990bde11814cdf639d8aa20" "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" |
| } |