blob: ae1a55166dfc1708915486aa0ff9df518365c9de [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="4138cdb6df6134a682c8d1272f4ea9fad802bd59"
CROS_WORKON_TREE="efb73a92e25fd16a66125f713c684621cc55a1c2"
CROS_WORKON_INCREMENTAL_BUILD=1
CROS_WORKON_LOCALNAME="platform2"
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_OUTOFTREE_BUILD=1
PLATFORM_SUBDIR="brdebug"
PLATFORM_NATIVE_TEST="yes"
inherit cros-workon platform udev
DESCRIPTION="Manage device properties for Brillo debug link."
HOMEPAGE="http://www.chromium.org/"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE="test"
RDEPEND="
chromeos-base/libchromeos
chromeos-base/peerd
"
DEPEND="
${RDEPEND}
test? ( dev-cpp/gtest )
"
src_install() {
dobin "${OUT}"/brdebugd
dosbin bin/setup-usb-link
}
platform_pkg_test() {
platform_test "run" "${OUT}/brdebug_unittest"
}