# Copyright 2023 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("attribution") {
visibility = [
":*",
"//services/network:network_service",
"//services/network:test_support",
"//services/network:tests",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
defines = [ "IS_NETWORK_SERVICE_IMPL" ]
sources = [
"attribution_request_helper.cc",
"attribution_request_helper.h",
"request_headers_internal.cc",
"request_headers_internal.h",
]
deps = [
"//base",
"//net",
"//services/network/public/cpp",
"//services/network/public/mojom",
"//url",
]
}
source_set("tests") {
testonly = true
defines = [ "IS_NETWORK_SERVICE_IMPL" ]
sources = [
"attribution_request_helper_unittest.cc",
"request_headers_internal_unittest.cc",
]
deps = [
":attribution",
"//base",
"//base/test:test_support",
"//net:test_support",
"//services/network/public/cpp",
"//services/network/public/mojom",
"//testing/gtest",
"//url",
]
}