[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
files.

Bug: 1083530
Change-Id: I6700324fdae4909dd1df7eb6a99d3adeba99ecd1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/third_party/libunwindstack/+/2204482
Reviewed-by: Etienne Pierre-Doray <etiennep@chromium.org>
1 file changed
tree: 02650e286c6c51f779275ff5ee02202e19a0ca8c
  1. .clang-format
  2. BUILD.gn
  3. LICENSE
  4. OWNERS
  5. README.chromium
  6. patches/
  7. src/
  8. tools/