| # Copyright 2017 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/golang/protobuf v${PV}" |
| |
| CROS_GO_PACKAGES=( |
| "github.com/golang/protobuf/descriptor" |
| "github.com/golang/protobuf/proto" |
| "github.com/golang/protobuf/jsonpb" |
| "github.com/golang/protobuf/protoc-gen-go/descriptor" |
| "github.com/golang/protobuf/ptypes/..." |
| ) |
| |
| CROS_GO_BINARIES=( |
| "github.com/golang/protobuf/protoc-gen-go" |
| ) |
| |
| inherit cros-go |
| |
| DESCRIPTION="Go support for Protocol Buffers" |
| HOMEPAGE="https://github.com/golang/protobuf" |
| SRC_URI="$(cros-go_src_uri)" |
| |
| LICENSE="BSD-Google" |
| SLOT="0" |
| KEYWORDS="*" |
| IUSE="test" |
| RESTRICT="binchecks strip" |
| |
| DEPEND="test? ( dev-go/sync )" |
| RDEPEND="" |