commit | b915495a9f27f2f0f309789cf256d94b9f7955e4 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Tue Mar 19 15:46:01 2024 +0900 |
committer | Jiyong Park <jiyong@google.com> | Fri Mar 22 22:22:51 2024 +0900 |
tree | cb13343fbee721de2e33d4b7fe1e74327c57488d | |
parent | a0f30662d015f0ed43f8a26ff48b23c56492452f [diff] |
Explicitly install optional components of perfetto perfetto-extras is a phony module that abstracts optional components for perfetto. Previously, the dependencies were installed by directly required from traced_probes. But that is expected to interfere with an upcoming change in Soong where `required` dependencies are installed by Soong. Specifically, it will increase the size of the `microdroid` module by 2-3MB because the dependencies - which are unnecessary in Microdroid - will be installed there due to the `required` being effective in Soong. This change fixes that regression by making the dependencies to be only for Android. Bug: 321626681 Test: check the dependencies are found in Android Test: check the dependencies are absent in Microdroid Change-Id: I5871113e0fa6c6a9745e1c5d2e9d5c2f2dbd9764
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.