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

Commit 1ab5241

Browse files
Merge pull request #1031 from NativeScript/vladimirov/merge-rel-master
chore: merge release in master
2 parents 96ae9a4 + fa67aeb commit 1ab5241

File tree

5 files changed

+43
-6
lines changed

5 files changed

+43
-6
lines changed

Diff for: CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
<a name="1.1.0"></a>
2+
# [1.1.0](https://github.com/NativeScript/nativescript-dev-webpack/compare/1.0.2...1.1.0) (2019-08-19)
3+
4+
5+
### Bug Fixes
6+
7+
* **hmr:** check for hot update should not create new file ([c9656a9](https://github.com/NativeScript/nativescript-dev-webpack/commit/c9656a9))
8+
9+
10+
### Features
11+
12+
* update to angular 8.2 ([d13441a](https://github.com/NativeScript/nativescript-dev-webpack/commit/d13441a))
13+
14+
15+
16+
<a name="1.0.3"></a>
17+
## [1.0.3](https://github.com/NativeScript/nativescript-dev-webpack/compare/1.0.2...1.0.3) (2019-08-05)
18+
19+
20+
### Bug Fixes
21+
22+
* crash with source-map instead of inline-source-map (https://github.com/NativeScript/nativescript-dev-webpack/issues/968) ([ff07d6c](https://github.com/NativeScript/nativescript-dev-webpack/commit/ff07d6c))
23+
* **update-ns-webpack:** skip the update of tsconfig.tns.json in… ([#1001](https://github.com/NativeScript/nativescript-dev-webpack/issues/1001)) ([2ed9850](https://github.com/NativeScript/nativescript-dev-webpack/commit/2ed9850))
24+
25+
26+
127
<a name="1.0.2"></a>
228
## [1.0.2](https://github.com/NativeScript/nativescript-dev-webpack/compare/1.0.1...1.0.2) (2019-07-26)
329

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@
9191
"tns-core-modules": "next",
9292
"typescript": "~3.5.3"
9393
}
94-
}
94+
}

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

+10-1
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,18 @@ ProjectSnapshotGenerator.prototype.generate = function (generationOptions) {
237237
throw new Error(noV8VersionFoundMessage);
238238
}
239239

240+
// NOTE: Order is important! Add new archs at the end of the array
241+
const defaultTargetArchs = ["arm", "arm64", "ia32", "ia64"];
242+
const runtimeVersion = getAndroidRuntimeVersion(this.options.projectRoot);
243+
if (runtimeVersion && semver.lt(semver.coerce(runtimeVersion), "6.0.2")) {
244+
const indexOfIa64 = defaultTargetArchs.indexOf("ia64");
245+
// Before 6.0.2 version of Android runtime we supported only arm, arm64 and ia32.
246+
defaultTargetArchs.splice(indexOfIa64, defaultTargetArchs.length - indexOfIa64);
247+
}
248+
240249
const options = {
241250
snapshotToolsPath,
242-
targetArchs: generationOptions.targetArchs || ["arm", "arm64", "ia32"],
251+
targetArchs: generationOptions.targetArchs || defaultTargetArchs,
243252
v8Version: generationOptions.v8Version || v8Version,
244253
preprocessedInputFile: generationOptions.preprocessedInputFile,
245254
useLibs: generationOptions.useLibs || false,

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

+2-2
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,7 +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 "x64": return "x64";
104+
case "ia64": return "x86_64";
105105
default: return archName;
106106
}
107107
}

0 commit comments

Comments
 (0)