blob: d0694be64c5b6831d40f104363e981b376bbf185 [file] [log] [blame]
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
CROS_WORKON_COMMIT="4c3891efd6a13d2c7b3a3e35d27fa92bf00e2b4d"
CROS_WORKON_TREE=("a9c9dfedee8947f546a02e996ac05ea263acfaa1" "7ea47d0c1d00988a64bb58924e21ffbe1e0c86e4" "dc1506ef7c8cfd2c5ffd1809dac05596ec18773c")
CROS_WORKON_LOCALNAME="platform2"
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_DESTDIR="${S}/platform2"
CROS_WORKON_SUBTREE="common-mk bootstat .gn"
PLATFORM_SUBDIR="bootstat"
inherit cros-workon platform
DESCRIPTION="Chrome OS Boot Time Statistics Utilities"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE=""
RDEPEND="
sys-apps/rootdev
"
DEPEND="${RDEPEND}
chromeos-base/libbrillo
"
src_install() {
dosbin "${OUT}"/bootstat
dosbin bootstat_archive
dosbin bootstat_get_last
dobin bootstat_summary
dolib.so "${OUT}"/lib/libbootstat.so
insinto /usr/include/metrics
doins bootstat.h
}
platform_pkg_test() {
platform_test "run" "${OUT}/libbootstat_unittests"
}