Snap for 14875195 from 8a53af1a2fe39cd25aa344cb87404f708ff7b41c to androidx-camera-release Change-Id: I1b30b2155e90ae040d16808e1b144faf9a7541b0
The source code for several perfetto binaries lives in the external/perfetto project in the AOSP source tree. These binaries enable unbundled perfetto tracing, and on-device trace processing.
To set up the perfetto repository for the first time:
git clone https://android.googlesource.com/platform/external/perfetto/ perfetto_repo perfetto_repo/tools/install-build-deps --android
To build stripped binaries from the local repository:
./generate_perfetto_binaries.py
This script automates some of the build instructions documented here.
Some important things handled are:
monolithic_binaries = true (important for unbundled usage)