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

Unified Diff: components/gcm.gypi

Issue 278493002: Split GCMDriver into platform-specific implementations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: components/gcm.gypi
diff --git a/components/gcm.gypi b/components/gcm.gypi
index 054bdcc7f2678cf718745fb5dc84a397876d497b..a679a894f18cdfd571eb2ff9e384bfa36b565e65 100644
--- a/components/gcm.gypi
+++ b/components/gcm.gypi
@@ -23,6 +23,18 @@
'gcm/gcm_client_factory.h',
'gcm/gcm_driver.cc',
'gcm/gcm_driver.h',
+ 'gcm/gcm_driver_android.cc',
+ 'gcm/gcm_driver_android.h',
fgorski 2014/05/07 18:50:14 Would this compile the gcm_driver_android on deskt
johnme 2014/05/08 16:08:02 No, *_android.* is only compiled on Android. See [
+ 'gcm/gcm_driver_desktop.cc',
+ 'gcm/gcm_driver_desktop.h',
+ ],
+ 'conditions': [
+ ['OS=="android"', {
+ 'sources!': [
+ 'gcm_client_desktop.cc',
+ 'gcm_client_desktop.h',
+ ],
+ }],
],
},
{

Powered by Google App Engine
This is Rietveld 408576698