@inxep/platform.harmonyos 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # Changelog
2
+
3
+ ## [0.1.0] - 2026-09-09
4
+
5
+ - Initial toolchain manifest: OpenHarmony SDK 5.0.3-Release (Huawei Cloud open mirror) +
6
+ XEngine SDK Bundle 0.1.0 (GitHub Releases). Artifact/folder names pending install-pipeline
7
+ calibration.
@@ -0,0 +1,23 @@
1
+ # HarmonyOS Build Support (com.xengine.platform.harmonyos)
2
+
3
+ Metadata-only platform module. `toolchain.json` pins the two artifacts the HarmonyOS build chain
4
+ needs and where to get them:
5
+
6
+ | Component | Source | Purpose |
7
+ | --- | --- | --- |
8
+ | OpenHarmony SDK (`ohos-sdk`) | Huawei Cloud open mirror (`repo.huaweicloud.com/openharmony/os/…`, no login) | native toolchain (clang/sysroot per `oh-uni-package.json`) + `toolchains/hdc` |
9
+ | XEngine OpenHarmony SDK Bundle | `FlameskyDexive/XEngine-Toolchains` GitHub Releases (self-built) | local NuGet feed (`OpenHarmony.NET.*`), stage templates, SHA256SUMS |
10
+
11
+ **Download & Install Toolchain** (Build window, or `XEngine.Editor --install-platform-tools
12
+ harmonyos`) fetches both into `%LOCALAPPDATA%\XEngine\PlatformSDKs\harmonyos\`, then feeds them
13
+ through the **existing** import/resolve chain: the bundle via the same path as
14
+ `--import-harmonyos-bundle`, the SDK root via `HarmonyOSOfficialSdkRoot` / `OHOS_SDK_HOME`
15
+ semantics (validated by `<sdkRoot>/<folder>/native/oh-uni-package.json`). Nothing in
16
+ `HarmonyOSToolchainResolver` changes.
17
+
18
+ Debug HAP signing keeps its existing environment-variable contract
19
+ (`XENGINE_HARMONYOS_SIGNING_DIR` / `_STORE_PASSWORD` / `_KEY_PASSWORD`, DevEco-generated
20
+ material) — this module never touches signing.
21
+
22
+ Huawei/OpenHarmony SDK bits are linked from the official open mirror and never re-hosted as
23
+ primary distribution; pinned mirrors, when present, are fallback-only.
package/package.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@inxep/platform.harmonyos",
3
+ "version": "0.1.0",
4
+ "displayName": "HarmonyOS Build Support",
5
+ "description": "Platform module for HarmonyOS builds: toolchain manifest driving download of the public OpenHarmony SDK (native \u002B toolchains incl. hdc) from the Huawei Cloud open mirror and the XEngine OpenHarmony SDK Bundle (self-built, GitHub Releases) into the managed SDK root, then reusing the existing bundle-import / SDK-resolve chain. Metadata only \u2014 no binaries are redistributed.",
6
+ "installByDefault": false,
7
+ "xengine": "0.1.0",
8
+ "type": "package",
9
+ "category": "Platforms",
10
+ "documentationUrl": "Documentation~/index.md",
11
+ "changelogUrl": "CHANGELOG.md",
12
+ "supportedPlatforms": [
13
+ "Windows"
14
+ ],
15
+ "license": "MIT",
16
+ "keywords": [
17
+ "xengine",
18
+ "harmonyos",
19
+ "openharmony",
20
+ "build",
21
+ "toolchain"
22
+ ],
23
+ "dependencies": {}
24
+ }
package/toolchain.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "manifestVersion": 1,
3
+ "platform": "harmonyos",
4
+ "hostRequirement": "windows-x64",
5
+ "notes": "ohos-sdk artifact and folder names are calibrated against the mirror during the install-pipeline node (the resolver requires <sdkRoot>/<folder>/native/oh-uni-package.json); the SDK Bundle is a self-built artifact hosted on the XEngine-Toolchains GitHub Releases feed.",
6
+ "components": [
7
+ {
8
+ "id": "ohos-sdk",
9
+ "kind": "archive",
10
+ "version": "5.0.3-Release",
11
+ "optional": false,
12
+ "sources": [
13
+ { "kind": "vendor", "url": "https://repo.huaweicloud.com/openharmony/os/5.0.3-Release/ohos-sdk-windows_windows-public.tar.gz" }
14
+ ],
15
+ "layout": "ohos-sdk",
16
+ "verify": "native/oh-uni-package.json"
17
+ },
18
+ {
19
+ "id": "sdk-bundle",
20
+ "kind": "archive",
21
+ "version": "0.1.0",
22
+ "optional": false,
23
+ "sources": [
24
+ { "kind": "vendor", "url": "https://github.com/FlameskyDexive/XEngine-Toolchains/releases/download/harmonyos-sdk-bundle-0.1.0/harmonyos-sdk-bundle-0.1.0.zip" }
25
+ ],
26
+ "layout": "bundle/harmonyos-sdk-bundle-0.1.0",
27
+ "verify": "SHA256SUMS"
28
+ }
29
+ ]
30
+ }