blob: c242f85f16d1080d1cde8802dffe41df1d577ebb [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CROS_WORKON_LOCALNAME="platform2"
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_OUTOFTREE_BUILD=1
CROS_WORKON_INCREMENTAL_BUILD=1
CROS_WORKON_SUBTREE="common-mk portier .gn"
PLATFORM_SUBDIR="portier"
inherit cros-workon platform user
DESCRIPTION="ND Proxy Service for Chrome OS"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/master/portier"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="~*"
IUSE=""
RDEPEND="
chromeos-base/libbrillo
"
DEPEND="
${RDEPEND}
>=chromeos-base/system_api-0.0.1-r3259
chromeos-base/shill
"
platform_pkg_test() {
local tests=(
portier_test
)
local test_bin
for test_bin in "${tests[@]}"; do
platform_test "run" "${OUT}/${test_bin}"
done
}