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

Unified Diff: components/suggestions.gypi

Issue 641513003: [Suggestions] Introduce a different image encoder/decoder for iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest Created 6 years, 2 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/suggestions.gypi
diff --git a/components/suggestions.gypi b/components/suggestions.gypi
index e03dc2199ea2793e1b3b1261008dd9ca751f624c..b6e2a7e643263570b664fc331dfcbd5c5b326a1a 100644
--- a/components/suggestions.gypi
+++ b/components/suggestions.gypi
@@ -43,6 +43,19 @@
'proto_out_dir': 'components/suggestions/proto',
},
'includes': [ '../build/protoc.gypi' ],
+ 'conditions': [
+ ['OS == "ios"', {
+ 'sources': [
+ 'suggestions/image_encoder_ios.h',
+ 'suggestions/image_encoder_ios.mm',
+ ]
+ }, { # 'OS != "ios"'
+ 'sources': [
+ 'suggestions/image_encoder.cc',
+ 'suggestions/image_encoder.h',
+ ]
+ }
+ ]]
},
],
}

Powered by Google App Engine
This is Rietveld 408576698