forked from Tencent/Shadow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
根据ApplicationInfo.nativeLibraryDir后缀获得的其实是instructionSet,而不是ABI。 插件也不需要跟宿主采用完全一样的ABI,只需要保持32位或64位相同就可以了。 现根据instructionSet确定是否为64位,再匹配插件中包含的ABI,按Build.CPU_ABI等字段优先级决定。 允许override getPluginPreferredAbi方法,以应对没有考虑到的情况。 fix Tencent#724 fix Tencent#729
- Loading branch information
Showing
1 changed file
with
96 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters