Skip to content

Commit e24e722

Browse files
authored
Add BUILD.gn for benchmarks (flutter#75)
1 parent 3d2cc60 commit e24e722

File tree

1 file changed

+55
-0
lines changed
  • build/secondary/testing/benchmark

1 file changed

+55
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Copyright 2017 Google, Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
static_library("benchmark") {
16+
defines = [ "HAVE_STD_REGEX" ]
17+
18+
include_dirs = [
19+
"//third_party/benchmark/include",
20+
]
21+
22+
sources = [
23+
"//third_party/benchmark/src/arraysize.h",
24+
"//third_party/benchmark/src/benchmark.cc",
25+
"//third_party/benchmark/src/benchmark_api_internal.h",
26+
"//third_party/benchmark/src/benchmark_register.cc",
27+
"//third_party/benchmark/src/check.h",
28+
"//third_party/benchmark/src/colorprint.cc",
29+
"//third_party/benchmark/src/colorprint.h",
30+
"//third_party/benchmark/src/commandlineflags.cc",
31+
"//third_party/benchmark/src/commandlineflags.h",
32+
"//third_party/benchmark/src/complexity.cc",
33+
"//third_party/benchmark/src/complexity.h",
34+
"//third_party/benchmark/src/console_reporter.cc",
35+
"//third_party/benchmark/src/counter.cc",
36+
"//third_party/benchmark/src/counter.h",
37+
"//third_party/benchmark/src/csv_reporter.cc",
38+
"//third_party/benchmark/src/cycleclock.h",
39+
"//third_party/benchmark/src/internal_macros.h",
40+
"//third_party/benchmark/src/json_reporter.cc",
41+
"//third_party/benchmark/src/log.h",
42+
"//third_party/benchmark/src/mutex.h",
43+
"//third_party/benchmark/src/re.h",
44+
"//third_party/benchmark/src/reporter.cc",
45+
"//third_party/benchmark/src/sleep.cc",
46+
"//third_party/benchmark/src/sleep.h",
47+
"//third_party/benchmark/src/stat.h",
48+
"//third_party/benchmark/src/string_util.cc",
49+
"//third_party/benchmark/src/string_util.h",
50+
"//third_party/benchmark/src/sysinfo.cc",
51+
"//third_party/benchmark/src/sysinfo.h",
52+
"//third_party/benchmark/src/timers.cc",
53+
"//third_party/benchmark/src/timers.h",
54+
]
55+
}

0 commit comments

Comments
 (0)