From d9a58d082883400151718101d42c849456f0331a Mon Sep 17 00:00:00 2001 From: klzgrad Date: Wed, 24 Jan 2018 23:38:37 -0500 Subject: [PATCH] Add Naive client to BUILD.gn --- src/net/BUILD.gn | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/net/BUILD.gn b/src/net/BUILD.gn index 27b9e9731d..9018e130ec 100644 --- a/src/net/BUILD.gn +++ b/src/net/BUILD.gn @@ -2381,6 +2381,29 @@ if (!is_ios && !is_android) { ] } + executable("naive") { + testonly = true + sources = [ + "tools/naive/naive_connection.cc", + "tools/naive/naive_connection.h", + "tools/naive/naive_proxy.cc", + "tools/naive/naive_proxy.h", + "tools/naive/naive_proxy_bin.cc", + "tools/naive/socks5_server_socket.cc", + "tools/naive/socks5_server_socket.h", + ] + + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. + configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] + deps = [ + ":net", + "//base", + "//build/win:default_exe_manifest", + "//components/version_info:version_info", + "//url", + ] + } + executable("hpack_example_generator") { testonly = true sources = [ "spdy/fuzzing/hpack_example_generator.cc" ]