Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: net/BUILD.gn

Issue 896203003: Implement utility-side proxy resolver Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@proxy-diffbase
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | net/DEPS » ('j') | net/proxy/mojo_proxy_resolver_impl.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/module_args/v8.gni") 8 import("//build/module_args/v8.gni")
9 import("//url/config.gni") 9 import("//url/config.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 ":type_converters", 802 ":type_converters",
803 "//net/interfaces", 803 "//net/interfaces",
804 "//third_party/mojo/src/mojo/public/cpp/bindings", 804 "//third_party/mojo/src/mojo/public/cpp/bindings",
805 ] 805 ]
806 } 806 }
807 807
808 static_library("type_converters") { 808 static_library("type_converters") {
809 sources = [ 809 sources = [
810 "dns/type_converters.cc", 810 "dns/type_converters.cc",
811 "dns/type_converters.h", 811 "dns/type_converters.h",
812 "proxy/mojo_type_converters.cc",
813 "proxy/mojo_type_converters.h",
812 ] 814 ]
813 815
814 public_deps = [ 816 public_deps = [
815 ":net", 817 ":net",
816 "//net/interfaces", 818 "//net/interfaces",
817 "//third_party/mojo/src/mojo/public/cpp/bindings", 819 "//third_party/mojo/src/mojo/public/cpp/bindings",
818 ] 820 ]
819 } 821 }
822 static_library("net_utility_services") {
823 sources = [
824 "proxy/mojo_proxy_resolver_impl.cc",
825 "proxy/mojo_proxy_resolver_impl.h",
826 ]
827
828 public_deps = [
829 ":net",
830 ":type_converters",
831 "//mojo/common",
832 "//net/interfaces",
833 "//third_party/mojo/src/mojo/public/cpp/bindings",
834 ]
835 }
820 } 836 }
821 837
822 if (!is_ios && !is_android) { 838 if (!is_ios && !is_android) {
823 executable("crash_cache") { 839 executable("crash_cache") {
824 testonly = true 840 testonly = true
825 sources = [ 841 sources = [
826 "tools/crash_cache/crash_cache.cc", 842 "tools/crash_cache/crash_cache.cc",
827 ] 843 ]
828 configs += [ ":net_win_size_truncation" ] 844 configs += [ ":net_win_size_truncation" ]
829 deps = [ 845 deps = [
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 } else { 1360 } else {
1345 sources -= [ 1361 sources -= [
1346 "proxy/proxy_resolver_v8_unittest.cc", 1362 "proxy/proxy_resolver_v8_unittest.cc",
1347 "proxy/proxy_resolver_v8_tracing_unittest.cc", 1363 "proxy/proxy_resolver_v8_tracing_unittest.cc",
1348 ] 1364 ]
1349 } 1365 }
1350 1366
1351 if (use_v8_in_net && !is_android) { 1367 if (use_v8_in_net && !is_android) {
1352 deps += [ 1368 deps += [
1353 ":net_browser_services", 1369 ":net_browser_services",
1370 ":net_utility_services",
1354 "//mojo/environment:chromium", 1371 "//mojo/environment:chromium",
1355 "//third_party/mojo/src/mojo/edk/system", 1372 "//third_party/mojo/src/mojo/edk/system",
1356 ] 1373 ]
1357 } else { 1374 } else {
1358 sources -= [ "dns/mojo_host_resolver_impl_unittest.cc" ] 1375 sources -= [
1376 "dns/mojo_host_resolver_impl_unittest.cc",
1377 "proxy/mojo_proxy_resolver_impl_unittest.cc",
1378 ]
1359 } 1379 }
1360 1380
1361 if (!enable_mdns) { 1381 if (!enable_mdns) {
1362 sources -= [ 1382 sources -= [
1363 "dns/mdns_cache_unittest.cc", 1383 "dns/mdns_cache_unittest.cc",
1364 "dns/mdns_client_unittest.cc", 1384 "dns/mdns_client_unittest.cc",
1365 "dns/record_parsed_unittest.cc", 1385 "dns/record_parsed_unittest.cc",
1366 "dns/record_rdata_unittest.cc", 1386 "dns/record_rdata_unittest.cc",
1367 ] 1387 ]
1368 } 1388 }
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 "quic/quic_server_bin.cc", 1466 "quic/quic_server_bin.cc",
1447 ] 1467 ]
1448 deps = [ 1468 deps = [
1449 ":quic_tools", 1469 ":quic_tools",
1450 ":net", 1470 ":net",
1451 "//base", 1471 "//base",
1452 "//third_party/boringssl", 1472 "//third_party/boringssl",
1453 ] 1473 ]
1454 } 1474 }
1455 } # !is_android && !is_win && !is_mac 1475 } # !is_android && !is_win && !is_mac
OLDNEW
« no previous file with comments | « no previous file | net/DEPS » ('j') | net/proxy/mojo_proxy_resolver_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698