| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 source_set("image_fetcher") { | 5 source_set("image_fetcher") { |
| 6 sources = [ | 6 sources = [ |
| 7 "image_data_fetcher.cc", | 7 "image_data_fetcher.cc", |
| 8 "image_data_fetcher.h", | 8 "image_data_fetcher.h", |
| 9 "image_decoder.h", | 9 "image_decoder.h", |
| 10 "image_fetcher.h", | 10 "image_fetcher.h", |
| 11 "image_fetcher_delegate.h", | 11 "image_fetcher_delegate.h", |
| 12 ] | 12 ] |
| 13 | 13 |
| 14 public_deps = [ | 14 public_deps = [ |
| 15 "//base", | 15 "//base", |
| 16 "//net", | 16 "//net", |
| 17 "//url", | 17 "//url", |
| 18 ] | 18 ] |
| 19 } | 19 } |
| 20 |
| 21 source_set("unit_tests") { |
| 22 testonly = true |
| 23 sources = [ |
| 24 "image_data_fetcher_unittest.cc", |
| 25 ] |
| 26 deps = [ |
| 27 ":image_fetcher", |
| 28 "//net", |
| 29 "//net:test_support", |
| 30 "//testing/gmock", |
| 31 "//testing/gtest", |
| 32 ] |
| 33 } |
| OLD | NEW |