commit | 02c117605838c0592f6acc0ddf395648ddad5245 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Fri Aug 30 00:57:59 2019 +0200 |
committer | Primiano Tucci <primiano@google.com> | Fri Aug 30 00:57:59 2019 +0200 |
tree | a47ab7f5723d3607a0e8415f0678509b9bd8c235 | |
parent | 28b633cd961b50c4c75bfb7f62eeac79e27c1a79 [diff] |
Major clean up build files, use flags-per-feature. These days we support an incredible number of build configurations: - standalone (GN) - in chromium (GN) - in v8 (GN) - in Fuchsia (GN) - in Android (soong) - in Google3 - amalgamated SDK For each config we want to pick only some components of the codebase. So far we've been carefully using intersections of platform flags (e.g. build_standalone && !build_with_android) but that has become unmaintainable. This CL mainly introduces one flag per feature. Benefit: 1. All feature flags live in one place (perfetto.gni) and are easy to reason about. 2. All the GN conditions depend on these feature flags. Test: manually rolled in chromium and v8 and looked at diff of .ninja files. Bug: 132678367 Bug: 140126865 Change-Id: I36c4653f25751654c04ab257bdb7a0756269a813
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.