From bd2d800f7623c8dad1ca17ceca788aad74456d9f 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 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/net/BUILD.gn b/net/BUILD.gn index 52d2a7b3f9..3b3fb2fd99 100644 --- a/net/BUILD.gn +++ b/net/BUILD.gn @@ -2940,6 +2940,29 @@ if (!is_ios && !is_android) { ] } + executable("naive_client") { + testonly = true + sources = [ + "tools/naive/naive_client.cc", + "tools/naive/naive_client.h", + "tools/naive/naive_client_bin.cc", + "tools/naive/naive_client_connection.cc", + "tools/naive/naive_client_connection.h", + "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/config:exe_and_shlib_deps", + "//build/win:default_exe_manifest", + "//url", + ] + } + executable("hpack_example_generator") { testonly = true sources = [