Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Side by Side Diff: chromeos-base/metrics/metrics-0.0.1.ebuild

Issue 2104001: Install metrics files from the ebuild. (Closed) Base URL: ssh://git@chromiumos-git/chromiumos-overlay.git
Patch Set: Use dobin instead of doexe. Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 flag-o-matic toolchain-funcs 6 inherit flag-o-matic toolchain-funcs
7 7
8 DESCRIPTION="Chrome OS Metrics Collection Utilities" 8 DESCRIPTION="Chrome OS Metrics Collection Utilities"
9 HOMEPAGE="http://src.chromium.org" 9 HOMEPAGE="http://src.chromium.org"
10 SRC_URI="" 10 SRC_URI=""
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 if ! use x86; then 43 if ! use x86; then
44 echo Skipping unit tests on non-x86 platform 44 echo Skipping unit tests on non-x86 platform
45 else 45 else
46 for test in ./*_test; do 46 for test in ./*_test; do
47 "${test}" ${GTEST_ARGS} || die "${test} failed" 47 "${test}" ${GTEST_ARGS} || die "${test} failed"
48 done 48 done
49 fi 49 fi
50 } 50 }
51 51
52 src_install() { 52 src_install() {
53 » dodir /usr/bin 53 » dobin "${S}/metrics_client"
54 » dodir /usr/include 54 » dobin "${S}/metrics_daemon"
55 » dodir /usr/lib 55 » dobin "${S}/syslog_parser.sh"
56 » dodir /usr/sbin 56 » dolib.a "${S}/libmetrics.a"
57 » emake DESTDIR="${D}" install || die "metrics install failed." 57 » dolib.so "${S}/libmetrics.so"
58 » chmod 0555 "${D}/usr/sbin/omaha_tracker.sh" 58 » dosbin "${S}/omaha_tracker.sh"
59
60 » insinto "/usr/include/metrics"
61 » doins "${S}/metrics_library.h"
62 » doins "${S}/metrics_library_mock.h"
59 } 63 }
OLDNEW
« no previous file with comments | « chromeos-base/crash-reporter/crash-reporter-9999-r2.ebuild ('k') | chromeos-base/metrics/metrics-0.0.1-r9.ebuild » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698