aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-components_power__metrics_BUILD.gn
blob: 92c6931771f88b9bfb903b9e932f2874e05b3220 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/power_metrics/BUILD.gn.orig	2023-08-18 10:26:52 UTC
+++ components/power_metrics/BUILD.gn
@@ -42,7 +42,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",