Chromium Code Reviews| 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" ] |