forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 2
/
BUILD.gn
49 lines (39 loc) · 904 Bytes
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright 2013 The Flutter 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("benchmark_config") {
include_dirs = [ "//third_party/benchmark:benchmark_config" ]
}
source_set("benchmarking") {
testonly = true
sources = [
"benchmarking.cc",
"benchmarking.h",
]
public_deps = [
"//flutter/fml",
"//third_party/benchmark",
]
public_configs = [
"//flutter:config",
":benchmark_config",
]
}
config("benchmark_library_config") {
if (is_ios) {
ldflags = [ "-Wl,-exported_symbol,_RunBenchmarks" ]
}
}
source_set("benchmarking_library") {
testonly = true
sources = [
"library.cc",
"library.h",
]
public_deps = [ "//third_party/benchmark" ]
public_configs = [
"//flutter:config",
":benchmark_config",
":benchmark_library_config",
]
}