naive: Add build rules

This commit is contained in:
klzgrad 2018-01-25 12:38:37 +08:00
parent 923e94d38c
commit bcb7c3bf3c

View File

@ -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") { executable("hpack_example_generator") {
testonly = true testonly = true
sources = [ sources = [