From 995adec5e2871318ced9753c82159ee3d5ba5d56 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 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/net/BUILD.gn b/src/net/BUILD.gn index 983e7a21d3..b9697f442d 100644 --- a/src/net/BUILD.gn +++ b/src/net/BUILD.gn @@ -1729,3 +1729,25 @@ static_library("preload_decoder") { ] deps = [ "//base" ] } + +executable("naive") { + 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", + ] +}