• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import("../../../gn/perfetto.gni")
2import("../../../gn/proto_library.gni")
3import("sources.gni")
4
5perfetto_proto_library("chrome_track_event_@TYPE@") {
6  proto_generators = [ "descriptor" ]
7  sources = chrome_track_event_sources
8  generate_descriptor = "chrome_track_event.descriptor"
9  deps = [ "../../perfetto/trace/track_event:source_set" ]
10
11  # When rolled into Chrome, extension descriptor is going to be linked into
12  # binary, therefore increasing its size. Including imports means that the
13  # full TrackEvent descriptor is going to be included as well, increasing the
14  # binary size unnecessarily. Therefore, exclude_imports is used.
15  exclude_imports = true
16}
17