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

Side by Side Diff: net/BUILD.gn

Issue 1272193002: Editing sources for //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Adding_sync_to_deps
Patch Set: Created 5 years, 4 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 | no next file » | no next file with comments »
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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 "SystemConfiguration.framework", 450 "SystemConfiguration.framework",
451 "resolv", 451 "resolv",
452 ] 452 ]
453 } 453 }
454 454
455 if (is_ios) { 455 if (is_ios) {
456 # Add back some sources that were otherwise filtered out. iOS needs some Mac 456 # Add back some sources that were otherwise filtered out. iOS needs some Mac
457 # files. 457 # files.
458 set_sources_assignment_filter([]) 458 set_sources_assignment_filter([])
459 sources += [ 459 sources += [
460 "base/mac/url_conversions.h",
461 "base/mac/url_conversions.mm",
460 "base/network_change_notifier_mac.cc", 462 "base/network_change_notifier_mac.cc",
461 "base/network_config_watcher_mac.cc", 463 "base/network_config_watcher_mac.cc",
462 "base/network_interfaces_mac.cc", 464 "base/network_interfaces_mac.cc",
463 "base/network_interfaces_mac.h", 465 "base/network_interfaces_mac.h",
464 "base/platform_mime_util_mac.mm", 466 "base/platform_mime_util_mac.mm",
465 "proxy/proxy_resolver_mac.cc", 467 "proxy/proxy_resolver_mac.cc",
466 "proxy/proxy_server_mac.cc", 468 "proxy/proxy_server_mac.cc",
467 ] 469 ]
468 set_sources_assignment_filter(sources_assignment_filter) 470 set_sources_assignment_filter(sources_assignment_filter)
469 471
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 "test/spawned_test_server/base_test_server.h", 675 "test/spawned_test_server/base_test_server.h",
674 "test/spawned_test_server/local_test_server.cc", 676 "test/spawned_test_server/local_test_server.cc",
675 "test/spawned_test_server/local_test_server.h", 677 "test/spawned_test_server/local_test_server.h",
676 "test/spawned_test_server/local_test_server_posix.cc", 678 "test/spawned_test_server/local_test_server_posix.cc",
677 "test/spawned_test_server/local_test_server_win.cc", 679 "test/spawned_test_server/local_test_server_win.cc",
678 "test/spawned_test_server/remote_test_server.cc", 680 "test/spawned_test_server/remote_test_server.cc",
679 "test/spawned_test_server/remote_test_server.h", 681 "test/spawned_test_server/remote_test_server.h",
680 "test/spawned_test_server/spawned_test_server.h", 682 "test/spawned_test_server/spawned_test_server.h",
681 "test/spawned_test_server/spawner_communicator.cc", 683 "test/spawned_test_server/spawner_communicator.cc",
682 "test/spawned_test_server/spawner_communicator.h", 684 "test/spawned_test_server/spawner_communicator.h",
685 "test/url_request/ssl_certificate_error_job.cc",
686 "test/url_request/ssl_certificate_error_job.h",
683 "test/url_request/url_request_failed_job.cc", 687 "test/url_request/url_request_failed_job.cc",
684 "test/url_request/url_request_failed_job.h", 688 "test/url_request/url_request_failed_job.h",
685 "test/url_request/url_request_mock_data_job.cc", 689 "test/url_request/url_request_mock_data_job.cc",
686 "test/url_request/url_request_mock_data_job.h", 690 "test/url_request/url_request_mock_data_job.h",
687 "test/url_request/url_request_slow_download_job.cc", 691 "test/url_request/url_request_slow_download_job.cc",
688 "test/url_request/url_request_slow_download_job.h", 692 "test/url_request/url_request_slow_download_job.h",
689 "url_request/test_url_fetcher_factory.cc", 693 "url_request/test_url_fetcher_factory.cc",
690 "url_request/test_url_fetcher_factory.h", 694 "url_request/test_url_fetcher_factory.h",
691 "url_request/url_request_test_util.cc", 695 "url_request/url_request_test_util.cc",
692 "url_request/url_request_test_util.h", 696 "url_request/url_request_test_util.h",
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
1279 "tools/quic/synchronous_host_resolver.h", 1283 "tools/quic/synchronous_host_resolver.h",
1280 ] 1284 ]
1281 deps = [ 1285 deps = [
1282 ":net", 1286 ":net",
1283 "//base", 1287 "//base",
1284 "//base/third_party/dynamic_annotations", 1288 "//base/third_party/dynamic_annotations",
1285 "//url", 1289 "//url",
1286 ] 1290 ]
1287 } 1291 }
1288 1292
1289 executable("quic_client") { 1293 executable("quic_client") {
sdefresne 2015/08/05 13:31:11 I think we don't want this target at all on iOS. I
1290 sources = [ 1294 if (!is_ios) {
1291 "tools/quic/quic_simple_client_bin.cc", 1295 sources = [
1292 ] 1296 "tools/quic/quic_simple_client_bin.cc",
1297 ]
1298 }
1293 deps = [ 1299 deps = [
1294 ":net", 1300 ":net",
1295 ":simple_quic_tools", 1301 ":simple_quic_tools",
1296 "//base", 1302 "//base",
1297 "//url", 1303 "//url",
1298 ] 1304 ]
1299 } 1305 }
1300 1306
1301 executable("quic_server") { 1307 executable("quic_server") {
sdefresne 2015/08/05 13:31:11 Same remark as for "quic_client", put the whole ta
1302 sources = [ 1308 if (!is_ios) {
1303 "tools/quic/quic_simple_server_bin.cc", 1309 sources = [
1304 ] 1310 "tools/quic/quic_simple_server_bin.cc",
1311 ]
1312 }
1305 deps = [ 1313 deps = [
1306 ":net", 1314 ":net",
1307 ":simple_quic_tools", 1315 ":simple_quic_tools",
1308 "//base", 1316 "//base",
1309 "//third_party/boringssl", 1317 "//third_party/boringssl",
1310 "//third_party/protobuf:protobuf_lite", 1318 "//third_party/protobuf:protobuf_lite",
1311 ] 1319 ]
1312 } 1320 }
1313 1321
1314 # TODO(GYP): Delete this after we've converted everything to GN. 1322 # TODO(GYP): Delete this after we've converted everything to GN.
1315 # The _run targets exist only for compatibility w/ GYP. 1323 # The _run targets exist only for compatibility w/ GYP.
1316 group("net_unittests_run") { 1324 group("net_unittests_run") {
1317 testonly = true 1325 testonly = true
1318 deps = [ 1326 deps = [
1319 ":net_unittests", 1327 ":net_unittests",
1320 ] 1328 ]
1321 } 1329 }
1322 1330
1323 test("net_unittests") { 1331 test("net_unittests") {
1324 sources = gypi_values.net_test_sources 1332 sources = gypi_values.net_test_sources
1325 1333
1334 if (is_ios) {
1335 sources -= [
1336 "websockets/websocket_stream_cookie_test.cc",
1337 "websockets/websocket_stream_create_test_base.cc",
1338 "websockets/websocket_stream_create_test_base.h",
1339 ]
1340 }
1341
1326 configs += [ 1342 configs += [
1327 "//build/config:precompiled_headers", 1343 "//build/config:precompiled_headers",
1328 1344
1329 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1345 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1330 "//build/config/compiler:no_size_t_to_int_warning", 1346 "//build/config/compiler:no_size_t_to_int_warning",
1331 ] 1347 ]
1332 defines = [] 1348 defines = []
1333 1349
1334 deps = [ 1350 deps = [
1335 ":balsa", 1351 ":balsa",
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
1673 if (enable_websockets) { 1689 if (enable_websockets) {
1674 sources += [ "websockets/websocket_frame_perftest.cc" ] 1690 sources += [ "websockets/websocket_frame_perftest.cc" ]
1675 } 1691 }
1676 1692
1677 if (use_v8_in_net) { 1693 if (use_v8_in_net) {
1678 deps += [ ":net_with_v8" ] 1694 deps += [ ":net_with_v8" ]
1679 } else { 1695 } else {
1680 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1696 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1681 } 1697 }
1682 } 1698 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698