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

Unified Diff: content/browser/BUILD.gn

Issue 436683002: Battery Status API: implementation for Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix BUILD.gn Created 6 years, 4 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
Index: content/browser/BUILD.gn
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index 76fb1147bcd96045177b6cb54c1a7e381e3b16ca..567a75023862e5601e331f0c6273257db4f36620 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -400,12 +400,16 @@ source_set("browser") {
if (is_linux) {
if (use_dbus) {
sources -= [
+ "battery_status/battery_status_manager_default.cc",
"geolocation/empty_wifi_data_provider.cc",
]
deps += [ "//dbus" ]
} else {
# This will already have gotten removed for all non-Linux cases.
- sources -= [ "geolocation/wifi_data_provider_linux.cc" ]
+ sources -= [
+ "battery_status/battery_status_manager_linux.cc",
+ "geolocation/wifi_data_provider_linux.cc",
+ ]
}
}
}

Powered by Google App Engine
This is Rietveld 408576698