summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-components_metrics_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-components_metrics_BUILD.gn')
-rw-r--r--www/chromium/files/patch-components_metrics_BUILD.gn34
1 files changed, 7 insertions, 27 deletions
diff --git a/www/chromium/files/patch-components_metrics_BUILD.gn b/www/chromium/files/patch-components_metrics_BUILD.gn
index 4daefb851614..e15d4f2f9a23 100644
--- a/www/chromium/files/patch-components_metrics_BUILD.gn
+++ b/www/chromium/files/patch-components_metrics_BUILD.gn
@@ -1,34 +1,14 @@
---- components/metrics/BUILD.gn.orig 2017-06-05 19:03:05 UTC
-+++ components/metrics/BUILD.gn
-@@ -121,6 +121,13 @@ static_library("metrics") {
- if (is_win) {
- sources -= [ "machine_id_provider_stub.cc" ]
+--- components/metrics/BUILD.gn.orig 2017-12-15 02:04:14.000000000 +0100
++++ components/metrics/BUILD.gn 2017-12-30 02:31:51.554746000 +0100
+@@ -137,6 +137,11 @@
+ if (is_fuchsia) {
+ sources += [ "drive_metrics_provider_fuchsia.cc" ]
}
+
+ if (is_bsd) {
-+ sources -= [
-+ "system_memory_stats_recorder_linux.cc"
-+ ]
++ sources -= [ "system_memory_stats_recorder_linux.cc" ]
+ }
+
}
- if (!is_ios) {
-@@ -298,7 +305,7 @@ static_library("test_support") {
- ]
- }
-
--if (is_linux) {
-+if (is_linux || is_bsd) {
- static_library("serialization") {
- sources = [
- "serialization/metric_sample.cc",
-@@ -360,7 +367,7 @@ source_set("unit_tests") {
- "//ui/gfx/geometry",
- ]
-
-- if (is_linux) {
-+ if (is_linux || is_bsd) {
- sources += [ "serialization/serialization_utils_unittest.cc" ]
- deps += [ ":serialization" ]
- }
+ # The component metrics provider is a separate target because it depends upon