import("//third_party/protobuf/proto_library.gni")
proto_library("quic_trace_proto") {
# QUIC trace is only used in unit tests and stand-alone command line tools.
# It is not linked into the network stack itself due to the Cronet binary
# size concerns.
visibility = [
"//net:quic_test_tools",
"//net/third_party/quiche:quiche_tool_support",
]
sources = [ "src/quic_trace/quic_trace.proto" ]
component_build_force_source_set = true
testonly = true
cc_generator_options = "lite"
# net/third_party/quiche expects quic_trace/quic_trace.pb.h to be in include
# paths
proto_out_dir = "quic_trace"
extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
}