| # Copyright 2019 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_DESTDIR="${S}/platform2" |
| CROS_WORKON_SUBTREE="common-mk codelab .gn" |
| |
| PLATFORM_SUBDIR="codelab" |
| |
| inherit cros-workon platform |
| |
| DESCRIPTION="Developer codelab for Chromium OS" |
| HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/master/codelab/" |
| |
| LICENSE="BSD-Google" |
| KEYWORDS="~*" |
| IUSE="" |
| |
| src_install() { |
| dobin "${OUT}"/codelab |
| } |
| |
| platform_pkg_test() { |
| platform_test "run" "${OUT}/codelab_test" |
| } |