Skip to content

Fix MissingSoLoaderLibrary: Add @SoLoaderLibrary annotation#55506

Closed
mdvacca wants to merge 2 commits intofacebook:mainfrom
mdvacca:export-D92022030
Closed

Fix MissingSoLoaderLibrary: Add @SoLoaderLibrary annotation#55506
mdvacca wants to merge 2 commits intofacebook:mainfrom
mdvacca:export-D92022030

Conversation

@mdvacca
Copy link
Copy Markdown
Contributor

@mdvacca mdvacca commented Feb 11, 2026

Summary:
Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

Reviewed By: alanleedev

Differential Revision: D92022030

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 11, 2026
@mdvacca mdvacca force-pushed the export-D92022030 branch 3 times, most recently from 06ffea1 to a3ba12b Compare February 12, 2026 08:07
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Feb 12, 2026

@mdvacca has exported this pull request. If you are a Meta employee, you can view the originating Diff in D92022030.

mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 12, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 12, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 12, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 12, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 26, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 26, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 26, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 26, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 26, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 26, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 26, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 26, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 26, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Feb 26, 2026
…#55506)

Summary:
Pull Request resolved: facebook#55506

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
@mdvacca mdvacca force-pushed the export-D92022030 branch 2 times, most recently from b4dbf82 to 31478d2 Compare March 2, 2026 20:02
mdvacca added a commit to mdvacca/react-native that referenced this pull request Mar 2, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Mar 2, 2026
…#55506)

Summary:
Pull Request resolved: facebook#55506

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
@mdvacca mdvacca force-pushed the export-D92022030 branch from 31478d2 to b764f8b Compare March 2, 2026 20:07
mdvacca added a commit to mdvacca/react-native that referenced this pull request Mar 2, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
@mdvacca mdvacca force-pushed the export-D92022030 branch from b764f8b to 6a37fa5 Compare March 2, 2026 21:09
mdvacca added 2 commits March 2, 2026 13:12
Summary:
Add a stub `SoLoaderLibrary` annotation at
`com.facebook.soloader.annotation.SoLoaderLibrary` for open-source Gradle
builds. The real annotation lives in `fbandroid/java/com/facebook/soloader/annotation/`
and is used by the internal Buck build for compile-time validation of native
library merging. Since it is not published to Maven Central, the Gradle build
fails with "Unresolved reference" when any ReactAndroid file uses it.

The stub follows the existing pattern used by `DebugOverlayTag` and
`ProcessorBase`: the file lives in the shared source tree and gets compiled
by Gradle, while the BUCK file has `autoglob = False` with no `srcs`, making
it an empty target so Buck continues using the real internal annotation.

Differential Revision: D94950035
…#55506)

Summary:
Pull Request resolved: facebook#55506

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
@mdvacca mdvacca force-pushed the export-D92022030 branch from 6a37fa5 to 8119382 Compare March 2, 2026 21:12
mdvacca added a commit to mdvacca/react-native that referenced this pull request Mar 2, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Mar 2, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Mar 2, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Mar 2, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
mdvacca added a commit to mdvacca/react-native that referenced this pull request Mar 2, 2026
…#55506)

Summary:

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030
@meta-codesync meta-codesync bot closed this in 6edbf2e Mar 3, 2026
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 3, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Mar 3, 2026

This pull request has been merged in 6edbf2e.

zoontek pushed a commit to zoontek/react-native that referenced this pull request Mar 9, 2026
…#55506)

Summary:
Pull Request resolved: facebook#55506

Add the SoLoaderLibrary("jsijniprofiler") annotation to HermesSamplingProfiler
to fix the MissingSoLoaderLibrary androidlint warning. This annotation helps
track which native libraries are loaded by this class, improving build and
startup optimization analysis.

Also added the required dependency on soloader annotation library in the BUCK file.

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D92022030

fbshipit-source-id: 78d15632b413fe2fac08c24ae1e3dfd5dc6107e0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants