blob: da217c82fcb5d122f1349cb9b9b910c0b7bbbf38 [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
Jay Civelli2df24642017-10-09 20:22:285source_set("lib") {
Jay Civelli1c14aad2017-10-03 17:08:266 sources = [
Matt Menked60f16ec2018-11-07 20:18:267 "host_resolver_mojo.cc",
8 "host_resolver_mojo.h",
9 "mojo_proxy_resolver_v8_tracing_bindings.h",
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
Nico Weber5fd1898e2018-10-10 21:50:1318 configs += [ "//build/config/compiler:wexit_time_destructors" ]
19
Jay Civelli1c14aad2017-10-03 17:08:2620 deps = [
21 "//base",
22 "//mojo/public/cpp/bindings",
23 "//net",
Jay Civelli1c14aad2017-10-03 17:08:2624 "//net:net_with_v8",
Jay Civelli2df24642017-10-09 20:22:2825 "//services/service_manager",
Jay Civelli1c14aad2017-10-03 17:08:2626 ]
27
28 public_deps = [
Matt Menke5caf50e2018-11-13 23:57:2929 "//services/network/public/mojom:mojom_ip_address",
Ken Rockot26cf4742018-02-11 04:10:4030 "//services/proxy_resolver/public/mojom",
Jay Civelli1c14aad2017-10-03 17:08:2631 "//services/service_manager/public/cpp",
32 ]
33}
34
35source_set("tests") {
36 testonly = true
37
38 sources = [
Matt Menked60f16ec2018-11-07 20:18:2639 "host_resolver_mojo_unittest.cc",
40 "mojo_proxy_resolver_v8_tracing_bindings_unittest.cc",
Jay Civelli2df24642017-10-09 20:22:2841 "proxy_resolver_factory_impl_unittest.cc",
42 "proxy_resolver_impl_unittest.cc",
Matt Menke44c9bdc72017-11-07 19:06:0843 "proxy_resolver_service_unittest.cc",
Jay Civelli1c14aad2017-10-03 17:08:2644 ]
45
46 deps = [
Jay Civelli2df24642017-10-09 20:22:2847 ":lib",
Jay Civelli1c14aad2017-10-03 17:08:2648 "//base",
49 "//base/test:test_support",
Jay Civelli1c14aad2017-10-03 17:08:2650 "//net:test_support",
Matt Menke44c9bdc72017-11-07 19:06:0851 "//services/service_manager/public/cpp/test:test_support",
Jay Civelli1c14aad2017-10-03 17:08:2652 "//testing/gmock",
53 "//testing/gtest",
54 ]
55
56 configs += [ "//v8:external_startup_data" ]
57}