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

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 chromeOS build 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
« no previous file with comments | « no previous file | content/browser/battery_status/battery_status_manager_linux.h » ('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 c30dea0bf08f784dfc36f19cf40454a42baac6eb..b52a66695cf400097d8103906d514cf2a4897d1e 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -402,12 +402,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",
+ ]
}
}
}
« no previous file with comments | « no previous file | content/browser/battery_status/battery_status_manager_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698