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

Unified Diff: Source/modules/modules.gypi

Issue 182613002: Add support to Battery Status API in blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add NeedsRebaseline for 4 tests for Mac. Created 6 years, 9 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
Index: Source/modules/modules.gypi
diff --git a/Source/modules/modules.gypi b/Source/modules/modules.gypi
index dd6678e3f194f480e569879b82c6a6d2ac865099..60359103809a7e879a2d0aabd0b3eb13e93993d9 100644
--- a/Source/modules/modules.gypi
+++ b/Source/modules/modules.gypi
@@ -10,6 +10,7 @@
# Files for which bindings (.cpp and .h files) will be generated
'modules_idl_files': [
'<@(extra_blink_module_idl_files)',
+ 'battery/BatteryManager.idl',
'crypto/AesKeyAlgorithm.idl',
'crypto/Crypto.idl',
'crypto/HmacKeyAlgorithm.idl',
@@ -185,6 +186,7 @@
],
# 'partial interface' or target (right side of) 'implements'
'modules_dependency_idl_files': [
+ 'battery/NavigatorBattery.idl',
'crypto/WindowCrypto.idl',
'crypto/WorkerGlobalScopeCrypto.idl',
'donottrack/NavigatorDoNotTrack.idl',
@@ -222,6 +224,12 @@
],
'modules_files': [
'<@(extra_blink_module_files)',
+ 'battery/BatteryManager.cpp',
+ 'battery/BatteryManager.h',
+ 'battery/BatteryStatus.cpp',
+ 'battery/BatteryStatus.h',
+ 'battery/NavigatorBattery.cpp',
+ 'battery/NavigatorBattery.h',
'crypto/Crypto.cpp',
'crypto/Crypto.h',
'crypto/CryptoResultImpl.cpp',

Powered by Google App Engine
This is Rietveld 408576698