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

Side by Side Diff: src/platform/microbenchmark/debian/rules

Issue 481009: Add a simple microbenchmark framework, packaging, and sample tests. (Closed)
Patch Set: fix the bad comment Created 11 years 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
« no previous file with comments | « src/platform/microbenchmark/debian/control ('k') | src/platform/microbenchmark/main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # Uncomment this to turn on verbose mode.
8 #export DH_VERBOSE=1
9
10 # The number of jobs to pass to tools that can run in parallel (such as make
11 # and dpkg-buildpackage
12 NUM_JOBS=`cat /proc/cpuinfo | grep processor | awk '{a++} END {print a}'`
13
14 build: build-stamp
15 build-stamp:
16 dh_testdir
17 scons -j$(NUM_JOBS) microbenchmark_runner
18 touch $@
19
20 clean:
21 dh_testdir
22 dh_testroot
23 rm -f build-stamp
24 scons -c
25 dh_clean
26
27 install: build
28 dh_testdir
29 dh_testroot
30 dh_prep
31 dh_installdirs
32 mkdir -p $(CURDIR)/debian/chromeos-microbenchmarks/usr/lib/chromeos-mic robenchmarks/bin
33 # TODO(wad) add versioning to microbenchmarks to match the package vers ion.
34 cp $(CURDIR)/microbenchmark_runner $(CURDIR)/debian/chromeos-microbench marks/usr/lib/chromeos-microbenchmarks/bin
35
36 # Build architecture-dependent files here.
37 binary-arch: install
38 dh_testdir
39 dh_testroot
40 dh_link
41 dh_strip
42 dh_compress
43 dh_fixperms
44 dh_installdeb
45 dh_shlibdeps
46 dh_gencontrol
47 dh_md5sums
48 dh_builddeb
49
50 binary: binary-arch
51
52 .PHONY: build clean install binary-arch binary
OLDNEW
« no previous file with comments | « src/platform/microbenchmark/debian/control ('k') | src/platform/microbenchmark/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698