| # Copyright 2021 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=7 |
| CROS_WORKON_INCREMENTAL_BUILD="1" |
| CROS_WORKON_PROJECT="chromiumos/platform2" |
| CROS_WORKON_LOCALNAME="platform2" |
| CROS_WORKON_OUTOFTREE_BUILD=1 |
| CROS_WORKON_SUBTREE="common-mk featured .gn" |
| |
| PLATFORM_SUBDIR="featured" |
| |
| inherit cros-workon platform user |
| |
| DESCRIPTION="Chrome OS feature management service" |
| HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/master/featured/" |
| LICENSE="BSD-Google" |
| KEYWORDS="~*" |
| |
| DEPEND=" |
| chromeos-base/system_api:= |
| sys-apps/dbus:=" |
| |
| src_install() { |
| into / |
| dosbin "${OUT}"/featured |
| |
| # Install DBus configuration. |
| insinto /etc/dbus-1/system.d |
| doins share/org.chromium.featured.conf |
| |
| insinto /etc/init |
| doins share/featured.conf share/platform-features.json |
| } |