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" ] |