Commit 67c0170
Fixed for library loader in SoLoader sdk. (#148)
Summary:
Adding all supported abi path to load library from apk lib/[abi]/. Currently its adding path only for first supported abi. Due to this, few apps Lego Builder and Lingo Kids apps which uses library from arm64-v8a, but Soloader tries to load from first supported abi x86_64.
Pull Request resolved: #148
Test Plan:
~~Imported from GitHub, without a `Test Plan:` line.~~
- Add new test case `testPreferredAbiOrder()` to verify ABI ordering is preserved
`buck2 test fbsource//fbandroid/javatests/com/facebook/soloader:soloader -- SoLoaderDirectApkTest`
Reviewed By: adicatana, michalgr
Differential Revision: D94558731
Pulled By: danjin250
fbshipit-source-id: 9c024193e0157b69942ece2b6d90716e3415449d1 parent 7cd9cc7 commit 67c0170
1 file changed
Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | | - | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | | - | |
124 | | - | |
125 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
130 | | - | |
131 | | - | |
132 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
140 | | - | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
155 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
156 | 161 | | |
157 | 162 | | |
158 | 163 | | |
| |||
0 commit comments