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

Unified Diff: device/battery/BUILD.gn

Issue 1674233002: gn: simplify dbus logic in device/battery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make the linux but not chromeos clause more explicit Created 4 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/battery/BUILD.gn
diff --git a/device/battery/BUILD.gn b/device/battery/BUILD.gn
index 17cd64d8ce436418d4c6288717fe174bb188f0c3..29d31aa19d5bc12974ef3b66443bf6b1b47c16f1 100644
--- a/device/battery/BUILD.gn
+++ b/device/battery/BUILD.gn
@@ -46,9 +46,7 @@ if (!is_android) {
"battery_status_manager_default.cc",
"battery_status_manager_linux.cc",
]
- }
-
- if (is_desktop_linux) {
+ } else if (is_linux && !is_chromeos) {
timvolodine 2016/02/10 12:40:40 can we just have a separate "if (is_linux &&!is_ch
Mostyn Bramley-Moore 2016/02/10 13:01:51 Done.
if (use_dbus) {
configs += [ "//build/config/linux:dbus" ]
deps += [ "//dbus" ]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698