aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-components_power__metrics_BUILD.gn
blob: 5faa0a4e5e0c2b8c2ce22e7a635855bfc9de3453 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/power_metrics/BUILD.gn.orig	2023-10-19 19:58:19 UTC
+++ components/power_metrics/BUILD.gn
@@ -41,7 +41,7 @@ static_library("power_metrics") {
     ldflags = [ "/DELAYLOAD:setupapi.dll" ]
   }
 
-  if (is_linux || is_chromeos) {
+  if ((is_linux && !is_bsd) || is_chromeos) {
     sources += [
       "energy_metrics_provider_linux.cc",
       "energy_metrics_provider_linux.h",