From c62a6859612f0242952d784c9b2e9108ba693ce8 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Wed, 24 Jan 2018 23:38:37 -0500 Subject: [PATCH] Add build rules of Naive client --- net/BUILD.gn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/net/BUILD.gn b/net/BUILD.gn index 9e4c45a02f..b253c2ffc6 100644 --- a/net/BUILD.gn +++ b/net/BUILD.gn @@ -2818,6 +2818,28 @@ 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", + "//url", + ] + } + executable("hpack_example_generator") { testonly = true sources = [