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

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: split into a separate if block 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..816ec2f59d7826bedfffc4a2a62b04cb255f05c9 100644
--- a/device/battery/BUILD.gn
+++ b/device/battery/BUILD.gn
@@ -48,7 +48,7 @@ if (!is_android) {
]
}
- if (is_desktop_linux) {
+ if (is_linux && !is_chromeos) {
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