| # Copyright 2018 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=7 |
| |
| CROS_WORKON_COMMIT="fdb59ce7499ebca2096dd9165a87f7299dff0c2c" |
| CROS_WORKON_TREE=("f86b3dad942180ce041d9034a4f5f9cceb8afe6b" "d106d472af4a1a29a6020b3b8e18050d14c072fa" "e7dba8c91c1f3257c34d4a7ffff0ea2537aeb6bb") |
| CROS_WORKON_INCREMENTAL_BUILD="1" |
| CROS_WORKON_LOCALNAME="platform2" |
| CROS_WORKON_PROJECT="chromiumos/platform2" |
| CROS_WORKON_OUTOFTREE_BUILD=1 |
| CROS_WORKON_SUBTREE="common-mk arc/vm/vsock_proxy .gn" |
| |
| PLATFORM_SUBDIR="arc/vm/vsock_proxy" |
| |
| inherit cros-workon platform |
| |
| DESCRIPTION="ARCVM vsock proxy." |
| HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/master/arc/vm/vsock_proxy" |
| |
| LICENSE="BSD-Google" |
| KEYWORDS="*" |
| |
| RDEPEND=" |
| dev-libs/protobuf:= |
| sys-fs/fuse |
| " |
| |
| DEPEND=" |
| ${RDEPEND} |
| " |
| |
| src_install() { |
| newbin "${OUT}"/server_proxy arcvm_server_proxy |
| |
| insinto /etc/init |
| doins init/arcvm-server-proxy.conf |
| } |
| |
| platform_pkg_test() { |
| platform_test "run" "${OUT}/vsock_proxy_test" |
| } |