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

Unified Diff: third_party/google_benchmark/BUILD.gn

Issue 2865663003: Adding Google benchmarking library. (Closed)
Patch Set: Sketch. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/google_benchmark/AUTHORS ('k') | third_party/google_benchmark/CMakeLists.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/google_benchmark/BUILD.gn
diff --git a/third_party/google_benchmark/BUILD.gn b/third_party/google_benchmark/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..2ca0bbf81638b87e963324a083eba46d2015b392
--- /dev/null
+++ b/third_party/google_benchmark/BUILD.gn
@@ -0,0 +1,56 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+config("google_benchmark_private_config") {
+ include_dirs = [
+ "include",
+ "src",
+ ]
+}
+
+source_set("google_benchmark") {
+ output_name = "google_benchmark"
+ sources = [
+ "include/benchmark/benchmark.h",
+ "include/benchmark/benchmark_api.h",
+ "include/benchmark/macros.h",
+ "include/benchmark/reporter.h",
+ "src/arraysize.h",
+ "src/benchmark.cc",
+ "src/benchmark_api_internal.h",
+ "src/benchmark_register.cc",
+ "src/check.h",
+ "src/colorprint.cc",
+ "src/colorprint.h",
+ "src/commandlineflags.cc",
+ "src/commandlineflags.h",
+ "src/complexity.cc",
+ "src/complexity.h",
+ "src/console_reporter.cc",
+ "src/counter.cc",
+ "src/counter.h",
+ "src/csv_reporter.cc",
+ "src/cycleclock.h",
+ "src/internal_macros.h",
+ "src/json_reporter.cc",
+ "src/log.h",
+ "src/mutex.h",
+ "src/re.h",
+ "src/reporter.cc",
+ "src/sleep.cc",
+ "src/sleep.h",
+ "src/stat.h",
+ "src/string_util.cc",
+ "src/string_util.h",
+ "src/sysinfo.cc",
+ "src/sysinfo.h",
+ "src/timers.cc",
+ "src/timers.h",
+ ]
+
+ configs += [ ":google_benchmark_private_config" ]
+
+ defines = [ "HAVE_STD_REGEX" ]
+
+}
« no previous file with comments | « third_party/google_benchmark/AUTHORS ('k') | third_party/google_benchmark/CMakeLists.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698