You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
671 B
17 lines
671 B
import("../../../gn/perfetto.gni")
|
|
import("../../../gn/proto_library.gni")
|
|
import("sources.gni")
|
|
|
|
perfetto_proto_library("chrome_track_event_@TYPE@") {
|
|
proto_generators = [ "descriptor" ]
|
|
sources = chrome_track_event_sources
|
|
generate_descriptor = "chrome_track_event.descriptor"
|
|
deps = [ "../../perfetto/trace/track_event: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
|
|
}
|