blob: 69700c13246467e78099c704100b4d6dc29f7039 [file] [log] [blame]
Jay Civelli1c14aad2017-10-03 17:08:261# Copyright 2017 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//services/service_manager/public/cpp/service.gni")
6import("//services/service_manager/public/service_manifest.gni")
7
Jay Civelli2df24642017-10-09 20:22:288source_set("lib") {
Jay Civelli1c14aad2017-10-03 17:08:269 sources = [
Jay Civelli2df24642017-10-09 20:22:2810 "proxy_resolver_factory_impl.cc",
11 "proxy_resolver_factory_impl.h",
12 "proxy_resolver_impl.cc",
13 "proxy_resolver_impl.h",
14 "proxy_resolver_service.cc",
15 "proxy_resolver_service.h",
Jay Civelli1c14aad2017-10-03 17:08:2616 ]
17
18 deps = [
19 "//base",
20 "//mojo/public/cpp/bindings",
21 "//net",
22 "//net:net_utility_services",
23 "//net:net_with_v8",
Jay Civelli2df24642017-10-09 20:22:2824 "//services/service_manager",
Jay Civelli1c14aad2017-10-03 17:08:2625 ]
26
27 public_deps = [
Ken Rockot26cf4742018-02-11 04:10:4028 "//services/proxy_resolver/public/mojom",
Jay Civelli1c14aad2017-10-03 17:08:2629 "//services/service_manager/public/cpp",
30 ]
31}
32
33source_set("tests") {
34 testonly = true
35
36 sources = [
Jay Civelli2df24642017-10-09 20:22:2837 "proxy_resolver_factory_impl_unittest.cc",
38 "proxy_resolver_impl_unittest.cc",
Matt Menke44c9bdc72017-11-07 19:06:0839 "proxy_resolver_service_unittest.cc",
Jay Civelli1c14aad2017-10-03 17:08:2640 ]
41
42 deps = [
Jay Civelli2df24642017-10-09 20:22:2843 ":lib",
Jay Civelli1c14aad2017-10-03 17:08:2644 "//base",
45 "//base/test:test_support",
46 "//net:net_browser_services",
47 "//net:test_support",
Matt Menke44c9bdc72017-11-07 19:06:0848 "//services/service_manager/public/cpp/test:test_support",
Jay Civelli1c14aad2017-10-03 17:08:2649 "//testing/gmock",
50 "//testing/gtest",
51 ]
52
53 configs += [ "//v8:external_startup_data" ]
54}
Jay Civelli2df24642017-10-09 20:22:2855
56service_manifest("proxy_resolver_manifest") {
57 name = "proxy_resolver"
58 source = "manifest.json"
59}