Skip to content

Commit

Permalink
Google Benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlstrom-g committed May 9, 2024
1 parent 2df15ff commit 3162154
Show file tree
Hide file tree
Showing 136 changed files with 431 additions and 386 deletions.
38 changes: 19 additions & 19 deletions third_party/google_benchmark/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,27 @@ static_library("google_benchmark") {
testonly = true

sources = [
"src/benchmark.cc",
"src/benchmark_api_internal.cc",
"src/benchmark_name.cc",
"src/benchmark_register.cc",
"src/benchmark_runner.cc",
"src/colorprint_starboard.cc",
"src/commandlineflags.cc",
"src/complexity.cc",
"src/console_reporter.cc",
"src/counter.cc",
"src/csv_reporter.cc",
"src/json_reporter.cc",
"src/reporter.cc",
"src/sleep.cc",
"src/statistics.cc",
"src/string_util.cc",
"src/sysinfo.cc",
"src/timers.cc",
"src/src/benchmark.cc",
"src/src/benchmark_api_internal.cc",
"src/src/benchmark_name.cc",
"src/src/benchmark_register.cc",
"src/src/benchmark_runner.cc",
"src/src/colorprint_starboard.cc",
"src/src/commandlineflags.cc",
"src/src/complexity.cc",
"src/src/console_reporter.cc",
"src/src/counter.cc",
"src/src/csv_reporter.cc",
"src/src/json_reporter.cc",
"src/src/reporter.cc",
"src/src/sleep.cc",
"src/src/statistics.cc",
"src/src/string_util.cc",
"src/src/sysinfo.cc",
"src/src/timers.cc",
]

include_dirs = [ "include" ]
include_dirs = [ "src/include" ]

public_deps = [ "//starboard/common" ]
}
277 changes: 0 additions & 277 deletions third_party/google_benchmark/CMakeLists.txt

This file was deleted.

8 changes: 8 additions & 0 deletions third_party/google_benchmark/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Primary for bugs, reviews:
[email protected]

# Secondary:
[email protected]

# TEAM: [email protected]
# COMPONENT: Internals>Storage
25 changes: 25 additions & 0 deletions third_party/google_benchmark/README.chromium
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Name: Google Benchmark
Short Name: benchmark
URL: https://github.com/google/benchmark
Version: unknown
License: Apache 2.0
License File: NOT_SHIPPED
Security Critical: no

Description:
A microbenchmark support library.

Google Benchmark is NOT supported for writing benchmarks in Chromium. It is
included to run benchmarks in third-party code that have already been written
against Google Benchmarks.

To include this library in the Chromium checkout, add the following clause to
your .gclient configuration.

"custom_vars": {
"checkout_google_benchmark": True,
}


Local Additions:
* gn file for building in chromium
12 changes: 12 additions & 0 deletions third_party/google_benchmark/buildconfig.gni
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright 2019 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.

import("//build/config/gclient_args.gni")
import("//build_overrides/build.gni")

declare_args() {
# Google Benchmark is not checked out by default, because it is only used by
# a few specialized benchmarks that most developers do not interact with.
enable_google_benchmarks = checkout_google_benchmark
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 3162154

Please sign in to comment.