Commit 3ccdd8c
Fix MissingSoLoaderLibrary lint warning in ReactNativeJNISoLoader.kt (#55443)
Summary:
Pull Request resolved: #55443
Fixed MissingSoLoaderLibrary lint error in ReactNativeJNISoLoader.kt.
Added `SoLoaderLibrary("reactnativejni")` annotation to the class to declare the JNI dependency on the reactnativejni native library. This enables build tools to sanity check JNI merging.
Also added the required `com.facebook.soloader.annotation:annotation` dependency to the native-types target in BUCK.
changelog: [internal] internal
Reviewed By: javache
Differential Revision: D91913117
fbshipit-source-id: 96629cf90f04ca1efafe3450eab243583bfcba841 parent f412887 commit 3ccdd8c
1 file changed
Lines changed: 2 additions & 0 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
0 commit comments