Index: device/power_save_blocker/BUILD.gn |
diff --git a/device/power_save_blocker/BUILD.gn b/device/power_save_blocker/BUILD.gn |
index a4427c14d4d601435112393c956d0befbad94abf..b18c3a4b8179c3ac3844e53a3b6a2d2c397b3129 100644 |
--- a/device/power_save_blocker/BUILD.gn |
+++ b/device/power_save_blocker/BUILD.gn |
@@ -45,7 +45,7 @@ component("power_save_blocker") { |
if (is_chromeos || !use_ozone) { |
sources -= [ "power_save_blocker_ozone.cc" ] |
} |
- if (is_chromeos || !use_x11) { |
+ if (is_chromeos || !use_x11 || !use_dbus) { |
sources -= [ "power_save_blocker_x11.cc" ] |
} |