commit | af9bafc52db19f6dad383af44e804050bde0d8b0 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Thu Jul 02 18:57:23 2020 +0100 |
committer | Primiano Tucci <primiano@google.com> | Thu Jul 02 18:57:23 2020 +0100 |
tree | 11a4fb7df4505ef969ab51bb525fd429f3b92c70 | |
parent | 2ab19f6c9cedb4d5c8c90850e1908529d116b6be [diff] |
GN: support cross-compilation with same cpu and os Before this CL we use two distinct toolchains only when target_os != host_os or target_cpu != host_cpu. This isn't enough for CrOS where both the host and target are x64 (x86_64 really), but they need different toolchain arguments. This CL further conditions the is_cross_comping logic looking at target_triplet. In order to do so, the default initialization of target_triplet is moved to BUILDCONFIG.gn (which is the one in charge of setting is_cross_compiling) and the existing logic is moved to _target_triplet (with underscore). Bug: 147789115 Change-Id: I5c239e9cb35c0c5779ef8c615eaa9de309637544
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.