blob: 03d4f8a7c319383a3fc95e69aa46bb8a21c1f277 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_LOCALNAME="platform2"
CROS_WORKON_INCREMENTAL_BUILD=1
CROS_WORKON_OUTOFTREE_BUILD=1
CROS_WORKON_SUBTREE="common-mk glib-bridge .gn"
PLATFORM_SUBDIR="glib-bridge"
inherit cros-workon platform
DESCRIPTION="libchrome-glib message loop bridge"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/master/glib-bridge"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="~*"
IUSE=""
RDEPEND="
dev-libs/glib:="
DEPEND="${RDEPEND}"
src_install() {
dolib.a "${OUT}"/libglib_bridge.a
# Install headers.
insinto /usr/include/glib_bridge
doins *.h
}
platform_pkg_test() {
platform_test "run" "${OUT}/glib_bridge_test_runner"
}