| 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", |
| 1591 "proxy/proxy_resolver_perftest.cc", | 1592 "proxy/proxy_resolver_perftest.cc", |
| 1592 "udp/udp_socket_perftest.cc", | 1593 "udp/udp_socket_perftest.cc", |
| 1593 ] | 1594 ] |
| 1594 | 1595 |
| 1595 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1596 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 1596 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 1597 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 1597 deps = [ | 1598 deps = [ |
| 1598 "//base", | 1599 "//base", |
| 1599 "//base:i18n", | 1600 "//base:i18n", |
| 1600 "//base/test:test_support_perf", | 1601 "//base/test:test_support_perf", |
| 1601 "//testing/gtest", | 1602 "//testing/gtest", |
| 1602 "//url", | 1603 "//url", |
| 1604 ":extras", |
| 1603 ":net", | 1605 ":net", |
| 1604 ":test_support", | 1606 ":test_support", |
| 1605 ] | 1607 ] |
| 1606 | 1608 |
| 1607 if (enable_websockets) { | 1609 if (enable_websockets) { |
| 1608 sources += [ "websockets/websocket_frame_perftest.cc" ] | 1610 sources += [ "websockets/websocket_frame_perftest.cc" ] |
| 1609 } | 1611 } |
| 1610 | 1612 |
| 1611 if (use_v8_in_net) { | 1613 if (use_v8_in_net) { |
| 1612 deps += [ ":net_with_v8" ] | 1614 deps += [ ":net_with_v8" ] |
| 1613 } else { | 1615 } else { |
| 1614 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | 1616 sources -= [ "proxy/proxy_resolver_perftest.cc" ] |
| 1615 } | 1617 } |
| 1616 | 1618 |
| 1617 if (is_win && icu_use_data_file) { | 1619 if (is_win && icu_use_data_file) { |
| 1618 # This is needed to trigger the dll copy step on windows. | 1620 # This is needed to trigger the dll copy step on windows. |
| 1619 # TODO(mark): Specifying this here shouldn't be necessary. | 1621 # TODO(mark): Specifying this here shouldn't be necessary. |
| 1620 deps += [ "//third_party/icu:icudata" ] | 1622 deps += [ "//third_party/icu:icudata" ] |
| 1621 } | 1623 } |
| 1622 } | 1624 } |
| OLD | NEW |