From bcb7c3bf3c9397928102c8307f39ed8d2b4dd43c Mon Sep 17 00:00:00 2001 From: klzgrad Date: Thu, 25 Jan 2018 12:38:37 +0800 Subject: [PATCH] naive: Add build rules --- net/BUILD.gn | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/net/BUILD.gn b/net/BUILD.gn index 3dbfd49dc6..3c25789589 100644 --- a/net/BUILD.gn +++ b/net/BUILD.gn @@ -2867,6 +2867,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 = [