Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(631)

Unified Diff: content/browser/BUILD.gn

Issue 2075153002: Reland of 'Move content/browser/power_save_blocker to //device/power_save_blocker' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing libs for component mac Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/app/android/library_loader_hooks.cc ('k') | content/browser/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/BUILD.gn
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index 91fce04f3417b2a17c484a64fd2e6d41bde699cd..f5c39064215822556d7618b595addc4343bc2186 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) {
« no previous file with comments | « content/app/android/library_loader_hooks.cc ('k') | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698