blob: 39c48bd63d5c85e479d86fa83659f9e424447c32 [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=7
CROS_WORKON_COMMIT="1082555b621a0707470a8c3406f635e1aaf4d81f"
CROS_WORKON_TREE=("dea48af07754556aac092c0830de0b1ab410077b" "89455e35b76ae4634cd85857b5c3f9a8d6859fa2" "e7dba8c91c1f3257c34d4a7ffff0ea2537aeb6bb")
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"
KEYWORDS="*"
IUSE=""
COMMON_DEPEND="
sys-apps/rootdev:=
"
RDEPEND="
${COMMON_DEPEND}
"
DEPEND="
${COMMON_DEPEND}
"
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"
}