OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 source_set("image_fetcher") { |
| 6 sources = [ |
| 7 "image_fetcher.h", |
| 8 "image_fetcher.mm", |
| 9 ] |
| 10 deps = [ |
| 11 "//base", |
| 12 "//ios/chrome/browser/webp_transcode", |
| 13 "//ios/web", |
| 14 "//net", |
| 15 ] |
| 16 } |
| 17 |
| 18 source_set("test_support") { |
| 19 testonly = true |
| 20 sources = [ |
| 21 "mock_image_fetcher.h", |
| 22 "mock_image_fetcher.mm", |
| 23 ] |
| 24 deps = [ |
| 25 ":image_fetcher", |
| 26 "//testing/gmock", |
| 27 ] |
| 28 } |
| 29 |
| 30 source_set("unit_tests") { |
| 31 testonly = true |
| 32 sources = [ |
| 33 "image_fetcher_unittest.mm", |
| 34 ] |
| 35 deps = [ |
| 36 ":image_fetcher", |
| 37 "//base", |
| 38 "//net", |
| 39 "//net:test_support", |
| 40 "//testing/gtest", |
| 41 ] |
| 42 } |
OLD | NEW |