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

Unified Diff: components/suggestions/BUILD.gn

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/BUILD.gn
diff --git a/components/suggestions/BUILD.gn b/components/suggestions/BUILD.gn
index 12c9576a2a2154be96a3d617ab260627623737b6..b540faf661ceaca30343bb4d0388771d1ca43267 100644
--- a/components/suggestions/BUILD.gn
+++ b/components/suggestions/BUILD.gn
@@ -30,4 +30,16 @@ static_library("suggestions") {
"//ui/gfx",
"//url",
]
+
+ if (is_ios) {
+ sources += [
+ "image_encoder_ios.h",
+ "image_encoder_ios.mm",
+ ]
+ } else {
+ sources += [
+ "image_encoder.cc",
+ "image_encoder.h",
+ ]
+ }
}

Powered by Google App Engine
This is Rietveld 408576698