| 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 static_library("image_fetcher") { | 5 static_library("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 "image_fetcher_impl.cc", | 12 "image_fetcher_impl.cc", |
| 13 "image_fetcher_impl.h", | 13 "image_fetcher_impl.h", |
| 14 "request_metadata.cc", |
| 15 "request_metadata.h", |
| 14 ] | 16 ] |
| 15 | 17 |
| 16 public_deps = [ | 18 public_deps = [ |
| 17 "//base", | 19 "//base", |
| 18 "//components/data_use_measurement/core", | 20 "//components/data_use_measurement/core", |
| 19 "//net", | 21 "//net", |
| 20 "//url", | 22 "//url", |
| 21 ] | 23 ] |
| 22 } | 24 } |
| 23 | 25 |
| 24 source_set("unit_tests") { | 26 source_set("unit_tests") { |
| 25 testonly = true | 27 testonly = true |
| 26 sources = [ | 28 sources = [ |
| 27 "image_data_fetcher_unittest.cc", | 29 "image_data_fetcher_unittest.cc", |
| 30 "request_metadata_unittest.cc", |
| 28 ] | 31 ] |
| 29 deps = [ | 32 deps = [ |
| 30 ":image_fetcher", | 33 ":image_fetcher", |
| 31 "//net", | 34 "//net", |
| 32 "//net:test_support", | 35 "//net:test_support", |
| 33 "//testing/gmock", | 36 "//testing/gmock", |
| 34 "//testing/gtest", | 37 "//testing/gtest", |
| 35 ] | 38 ] |
| 36 } | 39 } |
| OLD | NEW |