Index: device/battery/BUILD.gn |
diff --git a/device/battery/BUILD.gn b/device/battery/BUILD.gn |
index 70c1d268c4d09cdf67f174d6e5b044c8f32ed764..01cb1f830b19d67becb0e12c6066eaa5e86fed61 100644 |
--- a/device/battery/BUILD.gn |
+++ b/device/battery/BUILD.gn |
@@ -59,6 +59,10 @@ if (!is_android) { |
if (is_mac) { |
sources -= [ "battery_status_manager_default.cc" ] |
+ libs = [ |
+ "CoreFoundation.framework", |
+ "IOKit.framework", |
+ ] |
} |
if (is_win) { |