blob: bad50b3f590ff8b1c28beead538b2e804e0e4e15 (
plain)
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
|
--- components/metrics/BUILD.gn.orig 2017-03-09 20:04:31 UTC
+++ components/metrics/BUILD.gn
@@ -107,6 +107,13 @@ static_library("metrics") {
if (is_win) {
sources -= [ "machine_id_provider_stub.cc" ]
}
+
+ if (is_bsd) {
+ sources -= [
+ "system_memory_stats_recorder_linux.cc"
+ ]
+ }
+
}
if (!is_ios) {
@@ -282,7 +289,7 @@ static_library("test_support") {
]
}
-if (is_linux) {
+if (is_linux || is_bsd) {
static_library("serialization") {
sources = [
"serialization/metric_sample.cc",
@@ -342,7 +349,7 @@ source_set("unit_tests") {
"//ui/gfx/geometry",
]
- if (is_linux) {
+ if (is_linux || is_bsd) {
sources += [ "serialization/serialization_utils_unittest.cc" ]
deps += [ ":serialization" ]
}
|