Fixed
Status Update
Comments
be...@google.com <be...@google.com>
ra...@google.com <ra...@google.com>
ma...@google.com <ma...@google.com> #2
Thanks for reporting it. I was able to reproduce it and opened
ma...@google.com <ma...@google.com> #3
This has been fixed in AGP 8.3 and we've a workaround for previous versions of AGP in baseline profile gradle plugin version 1.2.3
ma...@google.com <ma...@google.com> #4
Can we add this to the documentation (Pre agp 8.3 or pre baseline profile gradle plugin 1.2.3 won't include baseline profile in AAR)?
be...@google.com <be...@google.com>
be...@google.com <be...@google.com>
am...@google.com <am...@google.com> #5
This is being addressed via cl/309614153.
am...@google.com <am...@google.com> #6
This has been documented under the Baseline Profile
Description
However, if I position the generated `baseline-prof.txt` file in the `src/main` directory, the AAR file will incorporate the Baseline Profiles.
As you can see in the first screenshot, the AAR file contains nothing with the `/src/main/generated/baselineProfiles` directory. On the other hand, if I located the `baseline-prof.txt` file in the `src/main` directory, the AAR file contains as you can see in the second screenshot.
I configured the project with the Baseline Profile Plugin, and generated them with the command line below:
./gradlew generateBaselineProfile