using System.Runtime.InteropServices; namespace System { /// /// CPU 构架,例如 x86、Arm 等 /// 例如不同的 Android 设备使用不同的 CPU,而不同的 CPU 支持不同的指令集。 /// CPU 与指令集的每种组合都有专属的应用二进制接口 (ABI)。 /// https://developer.android.google.cn/ndk/guides/abis.html /// 在比较版本支持的值与设备支持的值中的交集中,值越大的,优先选取 /// [Flags] public enum ArchitectureFlags { /// /// https://developer.android.google.cn/ndk/guides/abis.html#x86 /// X86 = 16, /// /// https://developer.android.google.cn/ndk/guides/abis.html#v7a /// Arm = 32, /// /// https://developer.android.google.cn/ndk/guides/abis.html#86-64 /// X64 = 128, /// /// https://developer.android.google.cn/ndk/guides/abis.html#arm64-v8a /// Arm64 = 256, } }