[Sampling profiler] Add include dir to public config
Users of the target need to include its headers, and those headers
transitively include other headers within the target using angle
brackets. So it's necessary to provide a public config that adds the
include dir to the system include path. This is modeled after Perfetto's
config in //third_party/perfetto/buildtools/BUILD.gn, but without the
parts we don't need.
This change also moves the NO_LIBDEXFILE_SUPPORT into the public config.
This is required for ODR compliance since the define is used to
conditionally include code/declarations across both headers and cc
Reviewed-by: Etienne Pierre-Doray <email@example.com>
1 file changed