android13/external/perfetto/protos/third_party/chromium/BUILD.gn

22 lines
759 B
Plaintext

import("../../../gn/perfetto.gni")
import("../../../gn/proto_library.gni")
import("sources.gni")
perfetto_proto_library("@TYPE@") {
sources = chrome_track_event_sources
public_deps = [ "../../perfetto/trace/track_event:@TYPE@" ]
}
perfetto_proto_library("@TYPE@") {
proto_generators = [ "descriptor" ]
sources = chrome_track_event_sources
generate_descriptor = "chrome_track_event.descriptor"
deps = [ ":source_set" ]
# When rolled into Chrome, extension descriptor is going to be linked into
# binary, therefore increasing its size. Including imports means that the
# full TrackEvent descriptor is going to be included as well, increasing the
# binary size unnecessarily. Therefore, exclude_imports is used.
exclude_imports = true
}