xref: /aosp_15_r20/external/cronet/third_party/quic_trace/BUILD.gn (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1import("//third_party/protobuf/proto_library.gni")
2
3proto_library("quic_trace_proto") {
4  # QUIC trace is only used in unit tests and stand-alone command line tools.
5  # It is not linked into the network stack itself due to the Cronet binary
6  # size concerns.
7  visibility = [
8    "//net:quic_test_tools",
9    "//net/third_party/quiche:quiche_tool_support",
10  ]
11
12  sources = [ "src/quic_trace/quic_trace.proto" ]
13  component_build_force_source_set = true
14  testonly = true
15  cc_generator_options = "lite"
16
17  # net/third_party/quiche expects quic_trace/quic_trace.pb.h to be in include
18  # paths
19  proto_out_dir = "quic_trace"
20
21  extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
22}
23