xref: /aosp_15_r20/external/perfetto/protos/third_party/chromium/BUILD.gn (revision 6dbdd20afdafa5e3ca9b8809fa73465d530080dc)
1import("../../../gn/perfetto.gni")
2import("../../../gn/proto_library.gni")
3import("sources.gni")
4
5perfetto_proto_library("@TYPE@") {
6  sources = chrome_track_event_sources
7  public_deps = [ "../../perfetto/trace/track_event:@TYPE@" ]
8
9  generate_descriptor = "chrome_track_event.descriptor"
10  descriptor_root_source = "chrome_track_event.proto"
11
12  # When rolled into Chrome, extension descriptor is going to be linked into
13  # binary, therefore increasing its size. Including imports means that the
14  # full TrackEvent descriptor is going to be included as well, increasing the
15  # binary size unnecessarily. Therefore, exclude_imports is used.
16  exclude_imports = true
17}
18