OLD | NEW |
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 defines = [ | 71 defines = [ |
72 # TODO(GYP) Note that the GYP file supports linux_link_kerberos (defaults to | 72 # TODO(GYP) Note that the GYP file supports linux_link_kerberos (defaults to |
73 # 0) which implies that we run pkg_config on kerberos and link to that | 73 # 0) which implies that we run pkg_config on kerberos and link to that |
74 # rather than setting this define which will dynamically open it. That | 74 # rather than setting this define which will dynamically open it. That |
75 # doesn't seem to be set in the regular builds, so we're skipping this | 75 # doesn't seem to be set in the regular builds, so we're skipping this |
76 # capability here. | 76 # capability here. |
77 "DLOPEN_KERBEROS", | 77 "DLOPEN_KERBEROS", |
78 "NET_IMPLEMENTATION", | 78 "NET_IMPLEMENTATION", |
79 ] | 79 ] |
80 | 80 |
81 configs += [ | 81 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
82 "//build/config:precompiled_headers", | 82 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
83 | |
84 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
85 "//build/config/compiler:no_size_t_to_int_warning", | |
86 ] | |
87 public_configs = [ ":net_config" ] | 83 public_configs = [ ":net_config" ] |
88 include_dirs = [] | 84 include_dirs = [] |
89 | 85 |
90 public_deps = [ | 86 public_deps = [ |
91 ":net_quic_proto", | 87 ":net_quic_proto", |
92 "//crypto", | 88 "//crypto", |
93 "//crypto:platform", | 89 "//crypto:platform", |
94 "//url", | 90 "//url", |
95 ] | 91 ] |
96 deps = [ | 92 deps = [ |
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 "test/url_request/url_request_mock_data_job.cc", | 681 "test/url_request/url_request_mock_data_job.cc", |
686 "test/url_request/url_request_mock_data_job.h", | 682 "test/url_request/url_request_mock_data_job.h", |
687 "test/url_request/url_request_slow_download_job.cc", | 683 "test/url_request/url_request_slow_download_job.cc", |
688 "test/url_request/url_request_slow_download_job.h", | 684 "test/url_request/url_request_slow_download_job.h", |
689 "url_request/test_url_fetcher_factory.cc", | 685 "url_request/test_url_fetcher_factory.cc", |
690 "url_request/test_url_fetcher_factory.h", | 686 "url_request/test_url_fetcher_factory.h", |
691 "url_request/url_request_test_util.cc", | 687 "url_request/url_request_test_util.cc", |
692 "url_request/url_request_test_util.h", | 688 "url_request/url_request_test_util.h", |
693 ] | 689 ] |
694 | 690 |
695 configs += [ | 691 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
696 "//build/config:precompiled_headers", | 692 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
697 | |
698 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
699 "//build/config/compiler:no_size_t_to_int_warning", | |
700 ] | |
701 | 693 |
702 public_deps = [ | 694 public_deps = [ |
703 "//base", | 695 "//base", |
704 "//base/test:test_support", | 696 "//base/test:test_support", |
705 "//crypto", | 697 "//crypto", |
706 "//net", | 698 "//net", |
707 "//net/tools/tld_cleanup", | 699 "//net/tools/tld_cleanup", |
708 "//testing/gmock", | 700 "//testing/gmock", |
709 "//testing/gtest", | 701 "//testing/gtest", |
710 "//url", | 702 "//url", |
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1309 "//third_party/boringssl", | 1301 "//third_party/boringssl", |
1310 "//third_party/protobuf:protobuf_lite", | 1302 "//third_party/protobuf:protobuf_lite", |
1311 ] | 1303 ] |
1312 } | 1304 } |
1313 | 1305 |
1314 # TODO(GYP) bug 513775: Make this work on Mac. | 1306 # TODO(GYP) bug 513775: Make this work on Mac. |
1315 if (!is_mac) { | 1307 if (!is_mac) { |
1316 test("net_unittests") { | 1308 test("net_unittests") { |
1317 sources = gypi_values.net_test_sources | 1309 sources = gypi_values.net_test_sources |
1318 | 1310 |
1319 configs += [ | 1311 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
1320 "//build/config:precompiled_headers", | 1312 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
1321 | |
1322 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
1323 "//build/config/compiler:no_size_t_to_int_warning", | |
1324 ] | |
1325 defines = [] | 1313 defines = [] |
1326 | 1314 |
1327 deps = [ | 1315 deps = [ |
1328 ":balsa", | 1316 ":balsa", |
1329 ":extras", | 1317 ":extras", |
1330 ":http_server", | 1318 ":http_server", |
1331 ":net", | 1319 ":net", |
1332 ":simple_quic_tools", | 1320 ":simple_quic_tools", |
1333 ":test_support", | 1321 ":test_support", |
1334 "//base", | 1322 "//base", |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1654 if (enable_websockets) { | 1642 if (enable_websockets) { |
1655 sources += [ "websockets/websocket_frame_perftest.cc" ] | 1643 sources += [ "websockets/websocket_frame_perftest.cc" ] |
1656 } | 1644 } |
1657 | 1645 |
1658 if (use_v8_in_net) { | 1646 if (use_v8_in_net) { |
1659 deps += [ ":net_with_v8" ] | 1647 deps += [ ":net_with_v8" ] |
1660 } else { | 1648 } else { |
1661 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | 1649 sources -= [ "proxy/proxy_resolver_perftest.cc" ] |
1662 } | 1650 } |
1663 } | 1651 } |
OLD | NEW |