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 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1589 deps -= [ "//base:i18n" ] | 1589 deps -= [ "//base:i18n" ] |
1590 } | 1590 } |
1591 } | 1591 } |
1592 } # !is_android && !is_win && !is_mac | 1592 } # !is_android && !is_win && !is_mac |
1593 | 1593 |
1594 executable("net_perftests") { | 1594 executable("net_perftests") { |
1595 testonly = true | 1595 testonly = true |
1596 sources = [ | 1596 sources = [ |
1597 "cookies/cookie_monster_perftest.cc", | 1597 "cookies/cookie_monster_perftest.cc", |
1598 "disk_cache/blockfile/disk_cache_perftest.cc", | 1598 "disk_cache/blockfile/disk_cache_perftest.cc", |
| 1599 "extras/sqlite/sqlite_persistent_cookie_store_perftest.cc", |
1599 "proxy/proxy_resolver_perftest.cc", | 1600 "proxy/proxy_resolver_perftest.cc", |
1600 "udp/udp_socket_perftest.cc", | 1601 "udp/udp_socket_perftest.cc", |
1601 ] | 1602 ] |
1602 | 1603 |
1603 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1604 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
1604 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 1605 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
1605 deps = [ | 1606 deps = [ |
1606 "//base", | 1607 "//base", |
1607 "//base:i18n", | 1608 "//base:i18n", |
1608 "//base/test:test_support_perf", | 1609 "//base/test:test_support_perf", |
1609 "//testing/gtest", | 1610 "//testing/gtest", |
1610 "//url", | 1611 "//url", |
| 1612 ":extras", |
1611 ":net", | 1613 ":net", |
1612 ":test_support", | 1614 ":test_support", |
1613 ] | 1615 ] |
1614 | 1616 |
1615 if (enable_websockets) { | 1617 if (enable_websockets) { |
1616 sources += [ "websockets/websocket_frame_perftest.cc" ] | 1618 sources += [ "websockets/websocket_frame_perftest.cc" ] |
1617 } | 1619 } |
1618 | 1620 |
1619 if (use_v8_in_net) { | 1621 if (use_v8_in_net) { |
1620 deps += [ ":net_with_v8" ] | 1622 deps += [ ":net_with_v8" ] |
1621 } else { | 1623 } else { |
1622 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | 1624 sources -= [ "proxy/proxy_resolver_perftest.cc" ] |
1623 } | 1625 } |
1624 | 1626 |
1625 if (is_win && icu_use_data_file) { | 1627 if (is_win && icu_use_data_file) { |
1626 # This is needed to trigger the dll copy step on windows. | 1628 # This is needed to trigger the dll copy step on windows. |
1627 # TODO(mark): Specifying this here shouldn't be necessary. | 1629 # TODO(mark): Specifying this here shouldn't be necessary. |
1628 deps += [ "//third_party/icu:icudata" ] | 1630 deps += [ "//third_party/icu:icudata" ] |
1629 } | 1631 } |
1630 } | 1632 } |
OLD | NEW |