|
2 | 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
3 | 3 |
|
4 | 4 | <?if $(ProductArchitecture) = "aarch64"?> |
| 5 | + <?define ArchName = "arm64"?> |
5 | 6 | <?define ArchArchDir = "aarch64"?> |
6 | 7 | <?define ArchTriple = "aarch64-unknown-linux-android"?> |
7 | 8 | <?elseif $(ProductArchitecture) = "x86_64"?> |
| 9 | + <?define ArchName = "amd64"?> |
8 | 10 | <?define ArchArchDir = "x86_64"?> |
9 | 11 | <?define ArchTriple = "x86_64-unknown-linux-android"?> |
10 | 12 | <?elseif $(ProductArchitecture) = "armv7"?> |
| 13 | + <?define ArchName = "arm"?> |
11 | 14 | <?define ArchArchDir = "armv7"?> |
12 | 15 | <?define ArchTriple = "armv7-unknown-linux-android"?> |
13 | 16 | <?elseif $(ProductArchitecture) = "i686"?> |
| 17 | + <?define ArchName = "x86"?> |
14 | 18 | <?define ArchArchDir = "i686"?> |
15 | 19 | <?define ArchTriple = "i686-unknown-linux-android"?> |
16 | 20 | <?endif?> |
17 | 21 |
|
18 | 22 | <Package |
19 | 23 | Language="1033" |
20 | 24 | Manufacturer="!(loc.ManufacturerName)" |
21 | | - Name="!(loc.AndroidSdk_ProductName_$(ProductArchitecture))" |
| 25 | + Name="!(loc.Android_Sdk_$(ArchName))" |
22 | 26 | UpgradeCode="$(AndroidSDKUpgradeCode)" |
23 | 27 | Version="$(NonSemVerProductVersion)" |
24 | 28 | Scope="$(PackageScope)"> |
|
487 | 491 | </ComponentGroup> |
488 | 492 |
|
489 | 493 | <!-- Features --> |
490 | | - <Feature Id="AndroidSDK" AllowAbsent="no" Title="!(loc.AndroidSdk_ProductName_$(ProductArchitecture))"> |
| 494 | + <Feature Id="AndroidSDK" AllowAbsent="no" Title="!(loc.Android_Sdk_$(ArchName))"> |
491 | 495 | <ComponentGroupRef Id="XCTest" /> |
492 | 496 | <ComponentGroupRef Id="SwiftRemoteMirror" /> |
493 | 497 | <ComponentGroupRef Id="BlocksRuntime" /> |
|
0 commit comments