mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
# 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("//services/service_manager/public/cpp/service.gni")
|
|
import("//services/service_manager/public/service_manifest.gni")
|
|
|
|
source_set("lib") {
|
|
sources = [
|
|
"proxy_resolver_factory_impl.cc",
|
|
"proxy_resolver_factory_impl.h",
|
|
"proxy_resolver_impl.cc",
|
|
"proxy_resolver_impl.h",
|
|
"proxy_resolver_service.cc",
|
|
"proxy_resolver_service.h",
|
|
]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//mojo/public/cpp/bindings",
|
|
"//net",
|
|
"//net:net_utility_services",
|
|
"//net:net_with_v8",
|
|
"//services/service_manager",
|
|
]
|
|
|
|
public_deps = [
|
|
"//services/proxy_resolver/public/interfaces",
|
|
"//services/service_manager/public/cpp",
|
|
]
|
|
}
|
|
|
|
source_set("tests") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"proxy_resolver_factory_impl_unittest.cc",
|
|
"proxy_resolver_impl_unittest.cc",
|
|
]
|
|
|
|
deps = [
|
|
":lib",
|
|
"//base",
|
|
"//base/test:test_support",
|
|
"//net:net_browser_services",
|
|
"//net:test_support",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
]
|
|
|
|
configs += [ "//v8:external_startup_data" ]
|
|
}
|
|
|
|
service_manifest("proxy_resolver_manifest") {
|
|
name = "proxy_resolver"
|
|
source = "manifest.json"
|
|
}
|