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

Unified Diff: content/browser/BUILD.gn

Issue 592153002: Replace Chrome IPC with Mojo IPC for querying BatteryStatus service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN Android fixes. Created 6 years, 3 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 88f7fd748a697a10a689980df81e9ebff55ba63e..d101ebe12cc717a1b56c736cc3a50f1ae7cce9c5 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -24,6 +24,7 @@ source_set("browser") {
"//content/browser/speech/proto",
"//content/public/common:common_sources",
"//crypto",
+ "//device/battery",
"//google_apis",
"//net",
"//skia",
@@ -261,16 +262,8 @@ source_set("browser") {
sources -= [ "power_save_blocker_x11.cc", ]
}
- # Dealing with battery_status_manager_*.cc and *wifi_data_provider_*.cc
- # is also a bit complicated given android, chromeos, linux and use_dbus.
- if (is_android || is_chromeos || (is_linux && use_dbus)) {
- sources -= [ "battery_status/battery_status_manager_default.cc" ]
- }
- if (is_linux && !use_dbus) {
- # This will already have gotten removed for all non-Linux cases.
- sources -= [ "battery_status/battery_status_manager_linux.cc" ]
- }
-
+ # Dealing with *wifi_data_provider_*.cc is also a bit complicated given
+ # android, chromeos, linux and use_dbus.
if (is_android) {
sources -= [ "geolocation/wifi_data_provider_common.cc" ]
}
@@ -406,6 +399,6 @@ source_set("browser") {
}
if (is_linux && use_dbus) {
- deps += [ "//dbus" ]
+ deps += [ "//dbus" ]
}
}

Powered by Google App Engine
This is Rietveld 408576698