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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
9 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 5090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5101 if (!is_ios && !is_proto_quic) { | 5101 if (!is_ios && !is_proto_quic) { |
5102 # TODO(crbug.com/594965): this should be converted to "app" template and | 5102 # TODO(crbug.com/594965): this should be converted to "app" template and |
5103 # enabled on iOS too. | 5103 # enabled on iOS too. |
5104 executable("net_perftests") { | 5104 executable("net_perftests") { |
5105 testonly = true | 5105 testonly = true |
5106 sources = [ | 5106 sources = [ |
5107 "base/mime_sniffer_perftest.cc", | 5107 "base/mime_sniffer_perftest.cc", |
5108 "cookies/cookie_monster_perftest.cc", | 5108 "cookies/cookie_monster_perftest.cc", |
5109 "disk_cache/disk_cache_perftest.cc", | 5109 "disk_cache/disk_cache_perftest.cc", |
5110 "extras/sqlite/sqlite_persistent_cookie_store_perftest.cc", | 5110 "extras/sqlite/sqlite_persistent_cookie_store_perftest.cc", |
5111 "proxy/proxy_resolver_perftest.cc", | |
5112 "socket/udp_socket_perftest.cc", | 5111 "socket/udp_socket_perftest.cc", |
5113 ] | 5112 ] |
5114 | 5113 |
5115 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 5114 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
5116 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 5115 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
5117 deps = [ | 5116 deps = [ |
5118 ":extras", | 5117 ":extras", |
5119 ":net", | 5118 ":net", |
5120 ":test_support", | 5119 ":test_support", |
5121 "//base", | 5120 "//base", |
5122 "//base:i18n", | 5121 "//base:i18n", |
5123 "//base/test:test_support_perf", | 5122 "//base/test:test_support_perf", |
5124 "//build/config/sanitizers:deps", | 5123 "//build/config/sanitizers:deps", |
5125 "//build/win:default_exe_manifest", | 5124 "//build/win:default_exe_manifest", |
5126 "//testing/gtest", | 5125 "//testing/gtest", |
5127 "//url", | 5126 "//url", |
5128 ] | 5127 ] |
5129 | 5128 |
5130 if (enable_websockets) { | 5129 if (enable_websockets) { |
5131 sources += [ "websockets/websocket_frame_perftest.cc" ] | 5130 sources += [ "websockets/websocket_frame_perftest.cc" ] |
5132 } | 5131 } |
5133 | 5132 |
5134 if (use_v8_in_net) { | |
5135 deps += [ ":net_with_v8" ] | |
5136 } else { | |
5137 sources -= [ "proxy/proxy_resolver_perftest.cc" ] | |
5138 } | |
5139 | |
5140 # Some linker failures have been observed for this target on the Win64 | 5133 # Some linker failures have been observed for this target on the Win64 |
5141 # continuous builder, see crbug.com/659369. | 5134 # continuous builder, see crbug.com/659369. |
5142 # TODO(sebmarchand): Remove this once we have some data. | 5135 # TODO(sebmarchand): Remove this once we have some data. |
5143 if (is_win && linkrepro_root_dir != "") { | 5136 if (is_win && linkrepro_root_dir != "") { |
5144 ldflags = [ "/LINKREPRO:" + linkrepro_root_dir + "/" + target_name ] | 5137 ldflags = [ "/LINKREPRO:" + linkrepro_root_dir + "/" + target_name ] |
5145 } | 5138 } |
5146 } | 5139 } |
5147 } | 5140 } |
5148 | 5141 |
5149 action_foreach("cert_verify_proc_whitelist_unittest_data") { | 5142 action_foreach("cert_verify_proc_whitelist_unittest_data") { |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5704 "tools/transport_security_state_generator/trie/trie_writer.cc", | 5697 "tools/transport_security_state_generator/trie/trie_writer.cc", |
5705 "tools/transport_security_state_generator/trie/trie_writer.h", | 5698 "tools/transport_security_state_generator/trie/trie_writer.h", |
5706 ] | 5699 ] |
5707 deps = [ | 5700 deps = [ |
5708 "//base", | 5701 "//base", |
5709 "//crypto", | 5702 "//crypto", |
5710 "//third_party/boringssl", | 5703 "//third_party/boringssl", |
5711 ] | 5704 ] |
5712 } | 5705 } |
5713 } | 5706 } |
OLD | NEW |