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