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

Unified Diff: components/image_fetcher/ios/BUILD.gn

Issue 2663213002: Create the IOSImageDataFetcherWrapper (Closed)
Patch Set: Address comments Created 3 years, 11 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/image_fetcher/ios/BUILD.gn
diff --git a/components/image_fetcher/ios/BUILD.gn b/components/image_fetcher/ios/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d21355e0b1ccfe8242b54f25a9ae1f0fa135e492
--- /dev/null
+++ b/components/image_fetcher/ios/BUILD.gn
@@ -0,0 +1,34 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+source_set("ios") {
+ configs += [ "//build/config/compiler:enable_arc" ]
sdefresne 2017/02/02 10:42:05 nit: please move the "configs" line at the bottom
gambard 2017/02/02 11:57:02 Done.
+ sources = [
+ "ios_image_data_fetcher_wrapper.h",
+ "ios_image_data_fetcher_wrapper.mm",
+ ]
+ deps = [
+ "//base",
+ "//components/image_fetcher",
+ "//ios/web/public/image_fetcher",
+ "//net",
+ ]
+}
+
+source_set("unit_tests") {
+ configs += [ "//build/config/compiler:enable_arc" ]
sdefresne 2017/02/02 10:42:05 ditto
gambard 2017/02/02 11:57:02 Done.
+ testonly = true
+ sources = [
+ "ios_image_data_fetcher_wrapper_unittest.mm",
+ ]
+ deps = [
+ ":ios",
+ "//base",
+ "//ios/web/public/image_fetcher",
+ "//net",
+ "//net:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698