blob: 7ee9388fb16b875ad81355d12fd8032687c97c68 [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CROS_WORKON_COMMIT="16d4205245810951d7db1f4f584bd99f4206438e"
CROS_WORKON_TREE=("b1c6245dddc7b5e10da108b13f7c3883aa0b6c2c" "b0803859a28264270dbda45f840272b5211502c7" "9ef32eb58f117f5abf6270c6a7427e260d555040" "e7dba8c91c1f3257c34d4a7ffff0ea2537aeb6bb")
CROS_WORKON_LOCALNAME="platform2"
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_INCREMENTAL_BUILD=1
CROS_WORKON_OUTOFTREE_BUILD=1
# TODO(crbug.com/809389): Avoid directly including headers from other packages.
CROS_WORKON_SUBTREE="common-mk metrics mist .gn"
PLATFORM_SUBDIR="mist"
inherit cros-workon platform udev
DESCRIPTION="Chromium OS Modem Interface Switching Tool"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/master/mist/"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE=""
RDEPEND="
chromeos-base/libbrillo:=[udev]
chromeos-base/metrics
dev-libs/protobuf:=
net-dialup/ppp
virtual/libusb:1
virtual/udev
"
DEPEND="${RDEPEND}"
platform_pkg_test() {
platform_test "run" "${OUT}/mist_testrunner"
}
src_install() {
dobin "${OUT}"/mist
insinto /usr/share/mist
doins default.conf
udev_dorules 51-mist.rules
}