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

Unified Diff: ios/chrome/browser/net/image_fetcher/BUILD.gn

Issue 2521253002: Move ImageFetcher to its own target. (Closed)
Patch Set: Reviewable Created 4 years, 1 month 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: ios/chrome/browser/net/image_fetcher/BUILD.gn
diff --git a/ios/chrome/browser/net/image_fetcher/BUILD.gn b/ios/chrome/browser/net/image_fetcher/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..1450fbbc8d225be1edab8e623a558e9b1f864171
--- /dev/null
+++ b/ios/chrome/browser/net/image_fetcher/BUILD.gn
@@ -0,0 +1,42 @@
+# Copyright 2016 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("image_fetcher") {
+ sources = [
+ "image_fetcher.h",
+ "image_fetcher.mm",
+ ]
+ deps = [
+ "//base",
+ "//ios/chrome/browser/webp_transcode",
+ "//ios/web",
+ "//net",
+ ]
+}
+
+source_set("test_support") {
+ testonly = true
+ sources = [
+ "mock_image_fetcher.h",
+ "mock_image_fetcher.mm",
+ ]
+ deps = [
+ ":image_fetcher",
+ "//testing/gmock",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "image_fetcher_unittest.mm",
+ ]
+ deps = [
+ ":image_fetcher",
+ "//base",
+ "//net",
+ "//net:test_support",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698