blob: 42b273c53d2e7885a53a79220ba17590c0d61909 [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2.
EAPI=5
CROS_GO_SOURCE="github.com/census-instrumentation/opencensus-go:go.opencensus.io v${PV}"
CROS_GO_PACKAGES=(
"go.opencensus.io/exporter/stackdriver"
"go.opencensus.io/internal"
"go.opencensus.io/internal/tagencoding"
"go.opencensus.io/plugin/ochttp"
"go.opencensus.io/plugin/ochttp/propagation/b3"
"go.opencensus.io/stats"
"go.opencensus.io/stats/internal"
"go.opencensus.io/stats/view"
"go.opencensus.io/tag"
"go.opencensus.io/trace"
"go.opencensus.io/trace/propagation"
)
CROS_GO_TEST=(
"${CROS_GO_PACKAGES[@]}"
)
inherit cros-go
DESCRIPTION="A stats collection and distributed tracing framework"
HOMEPAGE="http://opencensus.io/"
SRC_URI="$(cros-go_src_uri)"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="*"
IUSE=""
RESTRICT="binchecks strip"
DEPEND="
dev-go/gapi-bundler
dev-go/gcp-monitoring
dev-go/gcp-trace
dev-go/genproto
dev-go/protobuf
"
RDEPEND="${DEPEND}"