Index: content/browser/BUILD.gn |
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn |
index 64ccb858bafcbfe2df58ebbfe928931d0ce83768..540a3b552e6c94fa4dbcc0fcbdc2b82755205611 100644 |
--- a/content/browser/BUILD.gn |
+++ b/content/browser/BUILD.gn |
@@ -57,6 +57,7 @@ source_set("browser") { |
"//crypto", |
"//device/battery", |
"//device/bluetooth", |
+ "//device/power_save_blocker", |
"//device/vibration", |
"//gin", |
"//google_apis", |
@@ -291,22 +292,9 @@ source_set("browser") { |
if (use_x11) { |
configs += [ "//build/config/linux:x11" ] |
- if (!is_chromeos) { |
- configs += [ "//build/config/linux:xscrnsaver" ] |
- } |
deps += [ "//ui/gfx/x" ] |
} |
- # Dealing with power_save_blocker_{x11,ozone}.cc is a little complicated |
- # given the interaction between os_chromeos and the feature flags for X11 and |
- # ozone, so do it all in one spot. |
- if (is_chromeos || !use_ozone) { |
- sources -= [ "power_save_blocker_ozone.cc" ] |
- } |
- if (is_chromeos || !use_x11) { |
- sources -= [ "power_save_blocker_x11.cc" ] |
- } |
- |
# Dealing with *wifi_data_provider_*.cc is also a bit complicated given |
# android, chromeos, linux and use_dbus. |
if (is_android) { |