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

Unified Diff: src/platform/microbenchmark/SConstruct

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/platform/microbenchmark/benchmarks/getpid.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/microbenchmark/SConstruct
diff --git a/src/platform/microbenchmark/SConstruct b/src/platform/microbenchmark/SConstruct
new file mode 100644
index 0000000000000000000000000000000000000000..426f10ffa4682fb518c679cfc120c5b08fa342f6
--- /dev/null
+++ b/src/platform/microbenchmark/SConstruct
@@ -0,0 +1,25 @@
+# -*- python -*-
+
+# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import os
+
+env = Environment()
+
+driver_sources = env.Split("""microbenchmark.cc
+ main.cc""")
+
+benchmark_sources = env.Split("""benchmarks/getpid.cc
+ benchmarks/readwrite.cc""")
+
+env.Append(
+ CPPPATH=['..', '../../third_party/chrome/files', '../../common'],
+ CCFLAGS=['-g', '-fno-exceptions', '-Wall', '-Werror'],
+ LIBPATH=['../../third_party/chrome'],
+ LIBS=['base', 'pthread', 'rt', File('/usr/lib/libgtest.a')],
+)
+
+env_bin = env.Clone()
+env_bin.Program('microbenchmark_runner', driver_sources + benchmark_sources)
« no previous file with comments | « no previous file | src/platform/microbenchmark/benchmarks/getpid.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698