Add Naive client to BUILD.gn

This commit is contained in:
klzgrad 2018-01-24 23:38:37 -05:00
parent 27cd3458a0
commit 280568244b

View File

@ -2363,6 +2363,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("net_watcher") { executable("net_watcher") {
testonly = true testonly = true
sources = [ "tools/net_watcher/net_watcher.cc" ] sources = [ "tools/net_watcher/net_watcher.cc" ]