diff options
author | Jiyong Park <jiyong@google.com> | 2024-03-19 15:46:01 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2024-03-22 22:22:51 +0900 |
commit | b915495a9f27f2f0f309789cf256d94b9f7955e4 (patch) | |
tree | cb13343fbee721de2e33d4b7fe1e74327c57488d | |
parent | a0f30662d015f0ed43f8a26ff48b23c56492452f (diff) | |
download | build-b915495a9f27f2f0f309789cf256d94b9f7955e4.tar.gz |
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
-rw-r--r-- | target/product/base_system.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/product/base_system.mk b/target/product/base_system.mk index cd45e2a97c..d5876a7901 100644 --- a/target/product/base_system.mk +++ b/target/product/base_system.mk @@ -237,6 +237,7 @@ PRODUCT_PACKAGES += \ PackageInstaller \ passwd_system \ perfetto \ + perfetto-extras \ ping \ ping6 \ pintool \ |