blob: 83ee505d7bb4360562f9409ebe9073b229ad4111 [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_LOCALNAME="../platform/chromiumos-wide-profiling"
CROS_WORKON_PROJECT="chromiumos/platform/chromiumos-wide-profiling"
inherit cros-workon toolchain-funcs
DESCRIPTION="Program used to collect performance data on ChromeOS machines"
HOMEPAGE=""
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RDEPEND="virtual/perf
dev-libs/openssl
dev-libs/protobuf"
DEPEND="test? ( dev-cpp/gtest )
dev-libs/openssl
dev-libs/protobuf"
src_configure() {
tc-export CXX
}
src_compile() {
emake ${PN}
}
src_test() {
emake check
}
src_install() {
dobin ${PN}
}