Index: base/base.gyp |
diff --git a/base/base.gyp b/base/base.gyp |
index 4b11485e0a5f5f8fb2d37845137ac6ff43386de3..5e20db7a93282b8d2e34d7ce409941fa4e8da589 100644 |
--- a/base/base.gyp |
+++ b/base/base.gyp |
@@ -909,8 +909,22 @@ |
['OS == "ios"', { |
'toolsets': ['host', 'target'], |
}], |
+ ['OS == "mac"', { |
+ 'xcode_settings': { |
+ 'OTHER_CFLAGS': [ |
+ '-F/Library/Frameworks' |
+ ], |
+ }, |
+ 'link_settings': { |
+ 'libraries': [ |
+ '-framework IntelPowerGadget -F/Library/Frameworks', |
+ ], |
+ }, |
+ }], |
], |
'sources': [ |
+ 'test/energy_monitor_mac.cc', |
+ 'test/energy_monitor_mac.h', |
'test/gtest_util.cc', |
'test/gtest_util.h', |
'test/gtest_xml_unittest_result_printer.cc', |