mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
62 lines
1.2 KiB
Plaintext
62 lines
1.2 KiB
Plaintext
# 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.
|
|
|
|
static_library("core") {
|
|
sources = [
|
|
"image_data_fetcher.cc",
|
|
"image_data_fetcher.h",
|
|
"image_decoder.h",
|
|
"image_fetcher.h",
|
|
"image_fetcher_impl.cc",
|
|
"image_fetcher_impl.h",
|
|
"image_fetcher_types.h",
|
|
"request_metadata.cc",
|
|
"request_metadata.h",
|
|
]
|
|
|
|
public_deps = [
|
|
"//base",
|
|
"//components/data_use_measurement/core",
|
|
"//net",
|
|
"//services/network/public/cpp",
|
|
"//ui/gfx",
|
|
"//ui/gfx/geometry",
|
|
"//url",
|
|
]
|
|
}
|
|
|
|
static_library("test_support") {
|
|
testonly = true
|
|
sources = [
|
|
"mock_image_decoder.cc",
|
|
"mock_image_decoder.h",
|
|
"mock_image_fetcher.cc",
|
|
"mock_image_fetcher.h",
|
|
]
|
|
|
|
public_deps = [
|
|
":core",
|
|
"//services/network:test_support",
|
|
"//testing/gmock",
|
|
]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
sources = [
|
|
"image_data_fetcher_unittest.cc",
|
|
"image_fetcher_impl_unittest.cc",
|
|
"request_metadata_unittest.cc",
|
|
]
|
|
deps = [
|
|
":core",
|
|
":test_support",
|
|
"//net",
|
|
"//net:test_support",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
"//ui/gfx:test_support",
|
|
]
|
|
}
|