1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- # Copyright 2020 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.
- import("//services/network/public/cpp/features.gni")
- source_set("first_party_sets_manager") {
- visibility = [
- ":*",
- "//services/network:network_service",
- "//services/network:tests",
- ]
- defines = [ "IS_NETWORK_SERVICE_IMPL" ]
- sources = [
- "first_party_sets_access_delegate.cc",
- "first_party_sets_access_delegate.h",
- "first_party_sets_manager.cc",
- "first_party_sets_manager.h",
- ]
- deps = [
- "//base",
- "//components/cbor",
- "//components/sqlite_proto",
- "//services/network/public/cpp",
- "//services/network/public/mojom",
- "//sql",
- "//url",
- ]
- }
- source_set("test_support") {
- testonly = true
- defines = [ "IS_NETWORK_SERVICE_IMPL" ]
- sources = []
- deps = [
- ":first_party_sets_manager",
- "//base",
- "//base/test:test_support",
- "//components/cbor",
- "//net",
- "//net:test_support",
- "//net/traffic_annotation:test_support",
- "//services/network/public/mojom",
- "//testing/gtest",
- "//url",
- ]
- }
- source_set("tests") {
- testonly = true
- defines = [ "IS_NETWORK_SERVICE_IMPL" ]
- sources = [
- "first_party_sets_access_delegate_unittest.cc",
- "first_party_sets_manager_unittest.cc",
- ]
- deps = [
- ":first_party_sets_manager",
- ":test_support",
- "//base",
- "//base/test:test_support",
- "//components/cbor",
- "//components/sqlite_proto",
- "//net",
- "//net:test_support",
- "//net/traffic_annotation:test_support",
- "//services/network:test_support",
- "//testing/gmock",
- "//testing/gtest",
- "//url",
- ]
- }
|