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

Side by Side Diff: net/BUILD.gn

Issue 892393005: Implement browser-side host resolver Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8-pac-interfaces
Patch Set: Use InterfaceRequest<> 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/dns/mojo_host_resolver_impl_unittest.cc » ('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 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 ] 783 ]
784 deps = [ 784 deps = [
785 "//base", 785 "//base",
786 "//gin", 786 "//gin",
787 "//url", 787 "//url",
788 "//v8", 788 "//v8",
789 ] 789 ]
790 } 790 }
791 } 791 }
792 792
793 if (use_v8_in_net && !is_android) {
794 static_library("net_browser_services") {
jamesr 2015/02/13 00:59:54 these should be source_set, not static_library. st
Anand Mistry (off Chromium) 2015/02/13 02:29:08 Done.
795 sources = [
796 "dns/mojo_host_resolver_impl.cc",
797 "dns/mojo_host_resolver_impl.h",
798 ]
799
800 public_deps = [
801 ":mojo_type_converters",
802 ":net",
803 "//net/interfaces",
804 "//third_party/mojo/src/mojo/public/cpp/bindings",
805 ]
806 }
807
808 static_library("mojo_type_converters") {
jamesr 2015/02/13 00:59:54 ditto
Anand Mistry (off Chromium) 2015/02/13 02:29:08 Done.
809 sources = [
810 "dns/mojo_type_converters.cc",
811 "dns/mojo_type_converters.h",
812 ]
813
814 public_deps = [
815 ":net",
816 "//net/interfaces",
817 "//third_party/mojo/src/mojo/public/cpp/bindings",
818 ]
819 }
820 }
821
793 if (!is_ios && !is_android) { 822 if (!is_ios && !is_android) {
794 executable("crash_cache") { 823 executable("crash_cache") {
795 testonly = true 824 testonly = true
796 sources = [ 825 sources = [
797 "tools/crash_cache/crash_cache.cc", 826 "tools/crash_cache/crash_cache.cc",
798 ] 827 ]
799 configs += [ ":net_win_size_truncation" ] 828 configs += [ ":net_win_size_truncation" ]
800 deps = [ 829 deps = [
801 ":net", 830 ":net",
802 ":test_support", 831 ":test_support",
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1312 # setting use_v8_in_net to 0. 1341 # setting use_v8_in_net to 0.
1313 if (use_v8_in_net && !use_icu_alternatives_on_android) { 1342 if (use_v8_in_net && !use_icu_alternatives_on_android) {
1314 deps += [ ":net_with_v8" ] 1343 deps += [ ":net_with_v8" ]
1315 } else { 1344 } else {
1316 sources -= [ 1345 sources -= [
1317 "proxy/proxy_resolver_v8_unittest.cc", 1346 "proxy/proxy_resolver_v8_unittest.cc",
1318 "proxy/proxy_resolver_v8_tracing_unittest.cc", 1347 "proxy/proxy_resolver_v8_tracing_unittest.cc",
1319 ] 1348 ]
1320 } 1349 }
1321 1350
1351 if (use_v8_in_net && !is_android) {
1352 deps += [
1353 ":net_browser_services",
1354 "//mojo/environment:chromium",
1355 "//third_party/mojo/src/mojo/edk/system",
1356 ]
1357 } else {
1358 sources -= [ "dns/mojo_host_resolver_impl_unittest.cc" ]
1359 }
1360
1322 if (!enable_mdns) { 1361 if (!enable_mdns) {
1323 sources -= [ 1362 sources -= [
1324 "dns/mdns_cache_unittest.cc", 1363 "dns/mdns_cache_unittest.cc",
1325 "dns/mdns_client_unittest.cc", 1364 "dns/mdns_client_unittest.cc",
1326 "dns/record_parsed_unittest.cc", 1365 "dns/record_parsed_unittest.cc",
1327 "dns/record_rdata_unittest.cc", 1366 "dns/record_rdata_unittest.cc",
1328 ] 1367 ]
1329 } 1368 }
1330 1369
1331 if (is_ios) { 1370 if (is_ios) {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 "quic/quic_server_bin.cc", 1446 "quic/quic_server_bin.cc",
1408 ] 1447 ]
1409 deps = [ 1448 deps = [
1410 ":quic_tools", 1449 ":quic_tools",
1411 ":net", 1450 ":net",
1412 "//base", 1451 "//base",
1413 "//third_party/boringssl", 1452 "//third_party/boringssl",
1414 ] 1453 ]
1415 } 1454 }
1416 } # !is_android && !is_win && !is_mac 1455 } # !is_android && !is_win && !is_mac
OLDNEW
« no previous file with comments | « no previous file | net/DEPS » ('j') | net/dns/mojo_host_resolver_impl_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698