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