1 # Copyright 2017 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//tools/v8_context_snapshot/v8_context_snapshot.gni")
6 import("//v8/gni/v8.gni")
10 "host_resolver_mojo.cc",
11 "host_resolver_mojo.h",
12 "mojo_proxy_resolver_v8_tracing_bindings.h",
14 "proxy_host_resolver.h",
15 "proxy_host_resolver_cache.cc",
16 "proxy_host_resolver_cache.h",
17 "proxy_resolver_factory_impl.cc",
18 "proxy_resolver_factory_impl.h",
19 "proxy_resolver_impl.cc",
20 "proxy_resolver_impl.h",
21 "proxy_resolver_v8.cc",
22 "proxy_resolver_v8.h",
23 "proxy_resolver_v8_tracing.cc",
24 "proxy_resolver_v8_tracing.h",
28 "//build/config/compiler:wexit_time_destructors",
29 "//v8:external_startup_data",
30 "//tools/v8_context_snapshot:use_v8_context_snapshot",
36 "//mojo/public/cpp/bindings",
44 "//services/network/public/mojom:mojom_ip_address",
45 "//services/proxy_resolver/public/mojom",
46 "//services/service_manager/public/cpp",
54 "host_resolver_mojo_unittest.cc",
55 "mock_proxy_host_resolver.cc",
56 "mock_proxy_host_resolver.h",
57 "mojo_proxy_resolver_v8_tracing_bindings_unittest.cc",
58 "proxy_host_resolver_cache_unittest.cc",
59 "proxy_resolver_factory_impl_unittest.cc",
60 "proxy_resolver_impl_unittest.cc",
61 "proxy_resolver_v8_tracing_unittest.cc",
62 "proxy_resolver_v8_unittest.cc",
68 "//base/test:test_support",
70 "//services/service_manager/public/cpp/test:test_support",
75 if (v8_use_external_startup_data) {
80 if (use_v8_context_snapshot) {
81 deps += [ "//tools/v8_context_snapshot:v8_context_snapshot_assets" ]
83 deps += [ "//v8:v8_external_startup_data_assets" ]
87 configs += [ "//v8:external_startup_data" ]
89 data = [ "test/data/" ]