blob: 1b489163af4460d9b5884c6e0440b6356f5f9256 [file] [log] [blame]
# Copyright 2017 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("//mojo/public/tools/bindings/mojom.gni")
static_library("network_service") {
sources = [
"cookie_manager.cc",
"cookie_manager.h",
"proxy_config_service_mojo.cc",
"proxy_config_service_mojo.h",
]
deps = [
"//base",
"//mojo/public/cpp/bindings",
"//net",
"//services/network/public/interfaces",
"//url",
]
}
source_set("tests") {
testonly = true
sources = [
"cookie_manager_unittest.cc",
"proxy_config_service_mojo_unittest.cc",
]
deps = [
"//base",
"//mojo/public/cpp/bindings",
"//net",
"//net:test_support",
"//services/network:network_service",
"//services/network/public/interfaces",
"//testing/gtest",
]
}
static_library("test_support") {
testonly = true
sources = [
"test/test_data_pipe_getter.cc",
]
deps = [
"//base",
"//mojo/public/cpp/bindings",
"//services/network:network_service",
"//services/network/public/interfaces",
"//testing/gtest",
]
}