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