OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Distributed under the terms of the GNU General Public License v2 | 2 # Distributed under the terms of the GNU General Public License v2 |
3 | 3 |
4 EAPI=2 | 4 EAPI=2 |
5 | 5 |
6 inherit cros-debug cros-workon toolchain-funcs | 6 inherit cros-debug cros-workon toolchain-funcs |
7 | 7 |
8 DESCRIPTION="Build chromeos crash handler" | 8 DESCRIPTION="Build chromeos crash handler" |
9 HOMEPAGE="http://src.chromium.org" | 9 HOMEPAGE="http://src.chromium.org" |
10 SRC_URI="" | 10 SRC_URI="" |
11 LICENSE="BSD" | 11 LICENSE="BSD" |
12 SLOT="0" | 12 SLOT="0" |
13 KEYWORDS="~x86 ~arm" | 13 KEYWORDS="~x86 ~arm" |
14 IUSE="test" | 14 IUSE="test" |
15 | 15 |
16 # crash_sender uses sys-apps/findutils (for /usr/bin/find). | 16 # crash_sender uses sys-apps/findutils (for /usr/bin/find). |
17 RDEPEND="chromeos-base/google-breakpad | 17 RDEPEND="chromeos-base/google-breakpad |
18 chromeos-base/libchrome | 18 chromeos-base/libchrome |
19 chromeos-base/metrics | 19 chromeos-base/metrics |
| 20 chromeos-base/chromeos-ca-certificates |
20 dev-cpp/gflags | 21 dev-cpp/gflags |
21 dev-libs/libpcre | 22 dev-libs/libpcre |
22 test? ( dev-cpp/gtest ) | 23 test? ( dev-cpp/gtest ) |
23 net-misc/curl | 24 net-misc/curl |
24 sys-apps/findutils" | 25 sys-apps/findutils" |
25 DEPEND="${RDEPEND}" | 26 DEPEND="${RDEPEND}" |
26 | 27 |
27 src_compile() { | 28 src_compile() { |
28 tc-export CXX PKG_CONFIG | 29 tc-export CXX PKG_CONFIG |
29 cros-debug-add-NDEBUG | 30 cros-debug-add-NDEBUG |
(...skipping 13 matching lines...) Expand all Loading... |
43 fi | 44 fi |
44 } | 45 } |
45 | 46 |
46 src_install() { | 47 src_install() { |
47 into / | 48 into / |
48 dosbin "crash_reporter" || die | 49 dosbin "crash_reporter" || die |
49 dosbin "crash_sender" || die | 50 dosbin "crash_sender" || die |
50 exeinto /etc/cron.hourly || die | 51 exeinto /etc/cron.hourly || die |
51 doexe "crash_sender.hourly" || die | 52 doexe "crash_sender.hourly" || die |
52 } | 53 } |
OLD | NEW |