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

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: Editing iOS sources for //net 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 if (!is_ios) {
1290 sources = [ 1294 executable("quic_client") {
1291 "tools/quic/quic_simple_client_bin.cc", 1295 sources = [
1292 ] 1296 "tools/quic/quic_simple_client_bin.cc",
1293 deps = [ 1297 ]
1294 ":net", 1298 deps = [
1295 ":simple_quic_tools", 1299 ":net",
1296 "//base", 1300 ":simple_quic_tools",
1297 "//url", 1301 "//base",
1298 ] 1302 "//url",
1299 } 1303 ]
1300 1304 }
1301 executable("quic_server") { 1305 executable("quic_server") {
1302 sources = [ 1306 sources = [
1303 "tools/quic/quic_simple_server_bin.cc", 1307 "tools/quic/quic_simple_server_bin.cc",
1304 ] 1308 ]
1305 deps = [ 1309 deps = [
1306 ":net", 1310 ":net",
1307 ":simple_quic_tools", 1311 ":simple_quic_tools",
1308 "//base", 1312 "//base",
1309 "//third_party/boringssl", 1313 "//third_party/boringssl",
1310 "//third_party/protobuf:protobuf_lite", 1314 "//third_party/protobuf:protobuf_lite",
1311 ] 1315 ]
1316 }
1312 } 1317 }
1313 1318
1314 # TODO(GYP): Delete this after we've converted everything to GN. 1319 # TODO(GYP): Delete this after we've converted everything to GN.
1315 # The _run targets exist only for compatibility w/ GYP. 1320 # The _run targets exist only for compatibility w/ GYP.
1316 group("net_unittests_run") { 1321 group("net_unittests_run") {
1317 testonly = true 1322 testonly = true
1318 deps = [ 1323 deps = [
1319 ":net_unittests", 1324 ":net_unittests",
1320 ] 1325 ]
1321 } 1326 }
1322 1327
1323 test("net_unittests") { 1328 test("net_unittests") {
1324 sources = gypi_values.net_test_sources 1329 sources = gypi_values.net_test_sources
1325 1330
1331 if (is_ios) {
1332 sources -= [
1333 "websockets/websocket_stream_cookie_test.cc",
1334 "websockets/websocket_stream_create_test_base.cc",
1335 "websockets/websocket_stream_create_test_base.h",
1336 ]
1337 }
1338
1326 configs += [ 1339 configs += [
1327 "//build/config:precompiled_headers", 1340 "//build/config:precompiled_headers",
1328 1341
1329 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1342 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1330 "//build/config/compiler:no_size_t_to_int_warning", 1343 "//build/config/compiler:no_size_t_to_int_warning",
1331 ] 1344 ]
1332 defines = [] 1345 defines = []
1333 1346
1334 deps = [ 1347 deps = [
1335 ":balsa", 1348 ":balsa",
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
1673 if (enable_websockets) { 1686 if (enable_websockets) {
1674 sources += [ "websockets/websocket_frame_perftest.cc" ] 1687 sources += [ "websockets/websocket_frame_perftest.cc" ]
1675 } 1688 }
1676 1689
1677 if (use_v8_in_net) { 1690 if (use_v8_in_net) {
1678 deps += [ ":net_with_v8" ] 1691 deps += [ ":net_with_v8" ]
1679 } else { 1692 } else {
1680 sources -= [ "proxy/proxy_resolver_perftest.cc" ] 1693 sources -= [ "proxy/proxy_resolver_perftest.cc" ]
1681 } 1694 }
1682 } 1695 }
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