commit | 7e8509f828a1e167eb7102c48c1ff1a060838c5e | [log] [tgz] |
---|---|---|
author | Sami Kyostila <skyostil@google.com> | Wed May 29 12:36:24 2019 +0100 |
committer | Sami Kyostila <skyostil@google.com> | Wed May 29 12:36:24 2019 +0100 |
tree | 41981a0cd3536e05ff79795019a0ec5253cf9b72 | |
parent | 7f727d4068ec466c3b1f3ba5f178fe2f58f1d1d7 [diff] |
gen_amalgamated: Don't include internal headers in the generated output This patch changes gen_amalgamated to expand .h files included from .cc files directly in place in the generated .cc file and only adding .h files that are directly listed in the 'sources' section of the requested targets into the generated .h file. This avoids accidentally exposing internal implementation details to the public API users. Test: tools/gen_amalgamated --build //include/perfetto/public:public //src/public:public //src/public:platform_posix Change-Id: I7e21160892dc0b28f054eb8a027c6e8e73965e34
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.