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 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1333 "//crypto:test_support", | 1333 "//crypto:test_support", |
1334 "//gin", | 1334 "//gin", |
1335 "//net/base/registry_controlled_domains", | 1335 "//net/base/registry_controlled_domains", |
1336 "//sql", | 1336 "//sql", |
1337 "//testing/gmock", | 1337 "//testing/gmock", |
1338 "//testing/gtest", | 1338 "//testing/gtest", |
1339 "//third_party/zlib", | 1339 "//third_party/zlib", |
1340 "//url", | 1340 "//url", |
1341 ] | 1341 ] |
1342 | 1342 |
1343 data = [ | |
1344 "data/", | |
1345 ] | |
1346 if (is_linux || is_mac || is_win) { | |
1347 data += [ | |
1348 "$root_out_dir/pyproto/google/", | |
1349 "tools/testserver/", | |
1350 "//third_party/tlslite/", | |
1351 "//testing/test_env.py", | |
Dirk Pranke
2015/07/14 00:45:22
same comment re: test_env.py .
| |
1352 "//third_party/pyftpdlib/", | |
1353 "//third_party/pywebsocket/", | |
1354 ] | |
1355 } | |
1356 | |
1343 if (is_desktop_linux) { | 1357 if (is_desktop_linux) { |
1344 deps += [ ":epoll_quic_tools" ] | 1358 deps += [ ":epoll_quic_tools" ] |
1345 } | 1359 } |
1346 if (is_linux) { | 1360 if (is_linux) { |
1347 sources += gypi_values.net_linux_test_sources | 1361 sources += gypi_values.net_linux_test_sources |
1348 deps += [ | 1362 deps += [ |
1349 ":balsa", | 1363 ":balsa", |
1350 ":epoll_server", | 1364 ":epoll_server", |
1351 ":flip_in_mem_edsm_server_base", | 1365 ":flip_in_mem_edsm_server_base", |
1352 ":epoll_quic_tools", | 1366 ":epoll_quic_tools", |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1598 set_sources_assignment_filter(sources_assignment_filter) | 1612 set_sources_assignment_filter(sources_assignment_filter) |
1599 } | 1613 } |
1600 | 1614 |
1601 if (use_icu_alternatives_on_android) { | 1615 if (use_icu_alternatives_on_android) { |
1602 sources -= [ | 1616 sources -= [ |
1603 "base/filename_util_unittest.cc", | 1617 "base/filename_util_unittest.cc", |
1604 "base/net_util_icu_unittest.cc", | 1618 "base/net_util_icu_unittest.cc", |
1605 ] | 1619 ] |
1606 deps -= [ "//base:i18n" ] | 1620 deps -= [ "//base:i18n" ] |
1607 } | 1621 } |
1622 | |
1623 # Symbols for crashes when running tests on swarming. | |
1624 if (symbol_level > 0) { | |
1625 if (is_win) { | |
1626 data += [ "$root_out_dir/net_unittests.exe.pdb" ] | |
1627 } else if (is_mac) { | |
1628 data += [ "$root_out_dir/net_unittests.dSYM/" ] | |
1629 } | |
1630 } | |
1608 } | 1631 } |
1609 } # !is_android && !is_win && !is_mac | 1632 } # !is_android && !is_win && !is_mac |
1610 | 1633 |
1611 executable("net_perftests") { | 1634 executable("net_perftests") { |
1612 testonly = true | 1635 testonly = true |
1613 sources = [ | 1636 sources = [ |
1614 "base/mime_sniffer_perftest.cc", | 1637 "base/mime_sniffer_perftest.cc", |
1615 "cookies/cookie_monster_perftest.cc", | 1638 "cookies/cookie_monster_perftest.cc", |
1616 "disk_cache/blockfile/disk_cache_perftest.cc", | 1639 "disk_cache/blockfile/disk_cache_perftest.cc", |
1617 "extras/sqlite/sqlite_persistent_cookie_store_perftest.cc", | 1640 "extras/sqlite/sqlite_persistent_cookie_store_perftest.cc", |
(...skipping 23 matching lines...) Expand all Loading... | |
1641 } else { | 1664 } else { |
1642 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | 1665 sources -= [ "proxy/proxy_resolver_perftest.cc" ] |
1643 } | 1666 } |
1644 | 1667 |
1645 if (is_win && icu_use_data_file) { | 1668 if (is_win && icu_use_data_file) { |
1646 # This is needed to trigger the dll copy step on windows. | 1669 # This is needed to trigger the dll copy step on windows. |
1647 # TODO(mark): Specifying this here shouldn't be necessary. | 1670 # TODO(mark): Specifying this here shouldn't be necessary. |
1648 deps += [ "//third_party/icu:icudata" ] | 1671 deps += [ "//third_party/icu:icudata" ] |
1649 } | 1672 } |
1650 } | 1673 } |
OLD | NEW |