| # Copyright 2022 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI="7" |
| |
| CROS_WORKON_LOCALNAME="platform2" |
| CROS_WORKON_PROJECT="chromiumos/platform2" |
| CROS_WORKON_OUTOFTREE_BUILD=1 |
| CROS_WORKON_SUBTREE="common-mk mojo_service_manager .gn" |
| PLATFORM_SUBDIR="mojo_service_manager" |
| |
| inherit cros-workon platform user |
| |
| DESCRIPTION="Daemon to manage mojo interfaces" |
| HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/mojo_service_manager/README.md" |
| |
| LICENSE="BSD-Google" |
| KEYWORDS="~*" |
| IUSE="" |
| |
| DEPEND=" |
| chromeos-base/vboot_reference:= |
| " |
| |
| pkg_preinst() { |
| enewuser mojo-service-manager |
| enewgroup mojo-service-manager |
| } |
| |
| src_install() { |
| platform_install |
| } |
| |
| platform_pkg_test() { |
| platform test_all |
| } |