Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 65d5d3f

Browse files
fix: add ia64 as supported architecture
Add ia64 as supported architecture and map it to x86_64 Android arch.
1 parent 0d2a846 commit 65d5d3f

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Diff for: plugins/NativeScriptSnapshotPlugin/options.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,16 @@
2828
"default": [
2929
"arm",
3030
"arm64",
31-
"ia32"
31+
"ia32",
32+
"ia64"
3233
],
3334
"items": {
3435
"type": "string",
3536
"enum": [
3637
"arm",
3738
"arm64",
38-
"ia32"
39+
"ia32",
40+
"ia64"
3941
]
4042
}
4143
},

Diff for: snapshot/android/project-snapshot-generator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ ProjectSnapshotGenerator.prototype.generate = function (generationOptions) {
239239

240240
const options = {
241241
snapshotToolsPath,
242-
targetArchs: generationOptions.targetArchs || ["arm", "arm64", "ia32"],
242+
targetArchs: generationOptions.targetArchs || ["arm", "arm64", "ia32", "ia64"],
243243
v8Version: generationOptions.v8Version || v8Version,
244244
preprocessedInputFile: generationOptions.preprocessedInputFile,
245245
useLibs: generationOptions.useLibs || false,

Diff for: snapshot/android/snapshot-generator.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ SnapshotGenerator.prototype.preprocessInputFiles = function (inputFiles, outputF
5353
// Example:
5454
// (function() {
5555
// some code here
56-
// })()
56+
// })()
5757
// // sourceMapUrl......
5858
// ** when we join without `;` here, the next IIFE is assumed as a function call to the result of the first IIFE
5959
// (function() {
@@ -101,6 +101,7 @@ SnapshotGenerator.prototype.convertToAndroidArchName = function (archName) {
101101
case "arm": return "armeabi-v7a";
102102
case "arm64": return "arm64-v8a";
103103
case "ia32": return "x86";
104+
case "ia64": return "x86_64";
104105
case "x64": return "x64";
105106
default: return archName;
106107
}

0 commit comments

Comments
 (0)