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