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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1313 "//third_party/protobuf:protobuf_lite", | 1305 "//third_party/protobuf:protobuf_lite", |
1314 ] | 1306 ] |
1315 } | 1307 } |
1316 | 1308 |
1317 # TODO(GYP) make this compile on Android, we need some native test deps done. | 1309 # TODO(GYP) make this compile on Android, we need some native test deps done. |
1318 # TODO(GYP) Also doesn't work on Mac, need to figure out why not. | 1310 # TODO(GYP) Also doesn't work on Mac, need to figure out why not. |
1319 if (!is_android && !is_mac) { | 1311 if (!is_android && !is_mac) { |
1320 test("net_unittests") { | 1312 test("net_unittests") { |
1321 sources = gypi_values.net_test_sources | 1313 sources = gypi_values.net_test_sources |
1322 | 1314 |
1323 configs += [ | 1315 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
1324 "//build/config:precompiled_headers", | 1316 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
1325 | |
1326 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
1327 "//build/config/compiler:no_size_t_to_int_warning", | |
1328 ] | |
1329 defines = [] | 1317 defines = [] |
1330 | 1318 |
1331 deps = [ | 1319 deps = [ |
1332 ":balsa", | 1320 ":balsa", |
1333 ":extras", | 1321 ":extras", |
1334 ":http_server", | 1322 ":http_server", |
1335 ":net", | 1323 ":net", |
1336 ":simple_quic_tools", | 1324 ":simple_quic_tools", |
1337 ":test_support", | 1325 ":test_support", |
1338 "//base", | 1326 "//base", |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1673 } else { | 1661 } else { |
1674 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | 1662 sources -= [ "proxy/proxy_resolver_perftest.cc" ] |
1675 } | 1663 } |
1676 | 1664 |
1677 if (is_win && icu_use_data_file) { | 1665 if (is_win && icu_use_data_file) { |
1678 # This is needed to trigger the dll copy step on windows. | 1666 # This is needed to trigger the dll copy step on windows. |
1679 # TODO(mark): Specifying this here shouldn't be necessary. | 1667 # TODO(mark): Specifying this here shouldn't be necessary. |
1680 deps += [ "//third_party/icu:icudata" ] | 1668 deps += [ "//third_party/icu:icudata" ] |
1681 } | 1669 } |
1682 } | 1670 } |
OLD | NEW |