mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
maint(coreos-base/crash-reporter): Remove unused utility
This commit is contained in:
parent
c5c8c2f95b
commit
3ac98b1e83
@ -1 +0,0 @@
|
|||||||
crash-reporter-0.0.1.ebuild
|
|
@ -1,72 +0,0 @@
|
|||||||
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
CROS_WORKON_COMMIT="640113066b0a717955004e702a2afefe051d36a2"
|
|
||||||
CROS_WORKON_TREE="7e911e28b8bcde9bbdf4cff52eec7ac57adc3980"
|
|
||||||
CROS_WORKON_PROJECT="chromiumos/platform/crash-reporter"
|
|
||||||
CROS_WORKON_OUTOFTREE_BUILD=1
|
|
||||||
|
|
||||||
inherit cros-debug cros-workon
|
|
||||||
|
|
||||||
DESCRIPTION="Build chromeos crash handler"
|
|
||||||
HOMEPAGE="http://www.chromium.org/"
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm x86"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
LIBCHROME_VERS="125070"
|
|
||||||
|
|
||||||
# crash_sender uses sys-apps/findutils (for /usr/bin/find).
|
|
||||||
RDEPEND="coreos-base/google-breakpad
|
|
||||||
coreos-base/libchrome:${LIBCHROME_VERS}[cros-debug=]
|
|
||||||
coreos-base/libchromeos
|
|
||||||
coreos-base/metrics
|
|
||||||
coreos-base/coreos-ca-certificates
|
|
||||||
dev-cpp/gflags
|
|
||||||
dev-libs/libpcre
|
|
||||||
test? ( dev-cpp/gtest )
|
|
||||||
net-misc/curl
|
|
||||||
sys-apps/findutils"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cros-workon_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cros-workon_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cros-workon_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# TODO(benchan): Enable unit tests for arm target once
|
|
||||||
# crosbug.com/27127 is fixed.
|
|
||||||
if use arm; then
|
|
||||||
echo Skipping unit tests on arm platform
|
|
||||||
else
|
|
||||||
# TODO(mkrebs): The tests are not currently thread-safe, so
|
|
||||||
# running them in the default parallel mode results in
|
|
||||||
# failures.
|
|
||||||
emake -j1 tests
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
into /
|
|
||||||
dosbin "${OUT}"/crash_reporter
|
|
||||||
dosbin crash_sender
|
|
||||||
into /usr
|
|
||||||
dobin "${OUT}"/list_proxies
|
|
||||||
insinto /etc
|
|
||||||
doins crash_reporter_logs.conf
|
|
||||||
|
|
||||||
insinto /lib/udev/rules.d
|
|
||||||
doins 99-crash-reporter.rules
|
|
||||||
}
|
|
@ -1,70 +0,0 @@
|
|||||||
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
CROS_WORKON_PROJECT="chromiumos/platform/crash-reporter"
|
|
||||||
CROS_WORKON_OUTOFTREE_BUILD=1
|
|
||||||
|
|
||||||
inherit cros-debug cros-workon
|
|
||||||
|
|
||||||
DESCRIPTION="Build chromeos crash handler"
|
|
||||||
HOMEPAGE="http://www.chromium.org/"
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
LIBCHROME_VERS="125070"
|
|
||||||
|
|
||||||
# crash_sender uses sys-apps/findutils (for /usr/bin/find).
|
|
||||||
RDEPEND="coreos-base/google-breakpad
|
|
||||||
coreos-base/libchrome:${LIBCHROME_VERS}[cros-debug=]
|
|
||||||
coreos-base/libchromeos
|
|
||||||
coreos-base/metrics
|
|
||||||
coreos-base/coreos-ca-certificates
|
|
||||||
dev-cpp/gflags
|
|
||||||
dev-libs/libpcre
|
|
||||||
test? ( dev-cpp/gtest )
|
|
||||||
net-misc/curl
|
|
||||||
sys-apps/findutils"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cros-workon_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
cros-workon_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cros-workon_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# TODO(benchan): Enable unit tests for arm target once
|
|
||||||
# crosbug.com/27127 is fixed.
|
|
||||||
if use arm; then
|
|
||||||
echo Skipping unit tests on arm platform
|
|
||||||
else
|
|
||||||
# TODO(mkrebs): The tests are not currently thread-safe, so
|
|
||||||
# running them in the default parallel mode results in
|
|
||||||
# failures.
|
|
||||||
emake -j1 tests
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
into /
|
|
||||||
dosbin "${OUT}"/crash_reporter
|
|
||||||
dosbin crash_sender
|
|
||||||
into /usr
|
|
||||||
dobin "${OUT}"/list_proxies
|
|
||||||
insinto /etc
|
|
||||||
doins crash_reporter_logs.conf
|
|
||||||
|
|
||||||
insinto /lib/udev/rules.d
|
|
||||||
doins 99-crash-reporter.rules
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user