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 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 81 configs += [ |
82 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 82 "//build/config:precompiled_headers", |
| 83 |
| 84 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 85 "//build/config/compiler:no_size_t_to_int_warning", |
| 86 ] |
83 public_configs = [ ":net_config" ] | 87 public_configs = [ ":net_config" ] |
84 include_dirs = [] | 88 include_dirs = [] |
85 | 89 |
86 public_deps = [ | 90 public_deps = [ |
87 ":net_quic_proto", | 91 ":net_quic_proto", |
88 "//crypto", | 92 "//crypto", |
89 "//crypto:platform", | 93 "//crypto:platform", |
90 "//url", | 94 "//url", |
91 ] | 95 ] |
92 deps = [ | 96 deps = [ |
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 "test/url_request/url_request_mock_data_job.cc", | 685 "test/url_request/url_request_mock_data_job.cc", |
682 "test/url_request/url_request_mock_data_job.h", | 686 "test/url_request/url_request_mock_data_job.h", |
683 "test/url_request/url_request_slow_download_job.cc", | 687 "test/url_request/url_request_slow_download_job.cc", |
684 "test/url_request/url_request_slow_download_job.h", | 688 "test/url_request/url_request_slow_download_job.h", |
685 "url_request/test_url_fetcher_factory.cc", | 689 "url_request/test_url_fetcher_factory.cc", |
686 "url_request/test_url_fetcher_factory.h", | 690 "url_request/test_url_fetcher_factory.h", |
687 "url_request/url_request_test_util.cc", | 691 "url_request/url_request_test_util.cc", |
688 "url_request/url_request_test_util.h", | 692 "url_request/url_request_test_util.h", |
689 ] | 693 ] |
690 | 694 |
691 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 695 configs += [ |
692 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 696 "//build/config:precompiled_headers", |
| 697 |
| 698 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 699 "//build/config/compiler:no_size_t_to_int_warning", |
| 700 ] |
693 | 701 |
694 public_deps = [ | 702 public_deps = [ |
695 "//base", | 703 "//base", |
696 "//base/test:test_support", | 704 "//base/test:test_support", |
697 "//crypto", | 705 "//crypto", |
698 "//net", | 706 "//net", |
699 "//net/tools/tld_cleanup", | 707 "//net/tools/tld_cleanup", |
700 "//testing/gmock", | 708 "//testing/gmock", |
701 "//testing/gtest", | 709 "//testing/gtest", |
702 "//url", | 710 "//url", |
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1305 "//third_party/protobuf:protobuf_lite", | 1313 "//third_party/protobuf:protobuf_lite", |
1306 ] | 1314 ] |
1307 } | 1315 } |
1308 | 1316 |
1309 # TODO(GYP) make this compile on Android, we need some native test deps done. | 1317 # TODO(GYP) make this compile on Android, we need some native test deps done. |
1310 # TODO(GYP) Also doesn't work on Mac, need to figure out why not. | 1318 # TODO(GYP) Also doesn't work on Mac, need to figure out why not. |
1311 if (!is_android && !is_mac) { | 1319 if (!is_android && !is_mac) { |
1312 test("net_unittests") { | 1320 test("net_unittests") { |
1313 sources = gypi_values.net_test_sources | 1321 sources = gypi_values.net_test_sources |
1314 | 1322 |
1315 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1323 configs += [ |
1316 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 1324 "//build/config:precompiled_headers", |
| 1325 |
| 1326 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1327 "//build/config/compiler:no_size_t_to_int_warning", |
| 1328 ] |
1317 defines = [] | 1329 defines = [] |
1318 | 1330 |
1319 deps = [ | 1331 deps = [ |
1320 ":balsa", | 1332 ":balsa", |
1321 ":extras", | 1333 ":extras", |
1322 ":http_server", | 1334 ":http_server", |
1323 ":net", | 1335 ":net", |
1324 ":simple_quic_tools", | 1336 ":simple_quic_tools", |
1325 ":test_support", | 1337 ":test_support", |
1326 "//base", | 1338 "//base", |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1661 } else { | 1673 } else { |
1662 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | 1674 sources -= [ "proxy/proxy_resolver_perftest.cc" ] |
1663 } | 1675 } |
1664 | 1676 |
1665 if (is_win && icu_use_data_file) { | 1677 if (is_win && icu_use_data_file) { |
1666 # This is needed to trigger the dll copy step on windows. | 1678 # This is needed to trigger the dll copy step on windows. |
1667 # TODO(mark): Specifying this here shouldn't be necessary. | 1679 # TODO(mark): Specifying this here shouldn't be necessary. |
1668 deps += [ "//third_party/icu:icudata" ] | 1680 deps += [ "//third_party/icu:icudata" ] |
1669 } | 1681 } |
1670 } | 1682 } |
OLD | NEW |