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

Unified Diff: chrome/chrome_browser.gypi

Issue 9318007: Adding using protobuf based communication for the power information transfer. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rewrote the gypi rule for the protobuf, so to not leak into non-cros builds Created 8 years, 10 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
« no previous file with comments | « chrome/browser/chromeos/dbus/power_manager_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_browser.gypi
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index e7ce24b27ebabf899b174b1f418decb6d5dd5166..ee22e2edc68b1d91392d86a201dab5fca8f002ec 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -4478,6 +4478,7 @@
'../third_party/libevent/libevent.gyp:libevent',
'../third_party/mozc/chrome/chromeos/renderer/chromeos_renderer.gyp:mozc_candidates_proto',
'browser/chromeos/input_method/input_method.gyp:gencode',
+ 'power_supply_properties_proto',
],
'sources!': [
'browser/background/background_mode_manager_gtk.cc',
@@ -5660,5 +5661,23 @@
},
'includes': [ '../build/protoc.gypi' ]
},
+ {
+ # Protobuf compiler / generator for the PowerSupplyProperties protocol
+ # buffer.
+ 'target_name': 'power_supply_properties_proto',
+ 'type': 'static_library',
+ 'conditions': [
+ ['chromeos==1', {
+ 'sources': [
+ '../third_party/cros_system_api/dbus/power_supply_properties.proto',
+ ],
+ 'variables': {
+ 'proto_in_dir': '../third_party/cros_system_api/dbus/',
+ 'proto_out_dir': 'chrome/browser/chromeos/dbus',
+ },
+ 'includes': ['../build/protoc.gypi'],
+ }],
+ ],
+ },
],
}
« no previous file with comments | « chrome/browser/chromeos/dbus/power_manager_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698