mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-19 18:33:00 +08:00
[feat] add HarmonyOS desktop and mobile clients,issue #117
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Build the opt-in synthetic host after building the Harmony native core."""
|
||||
import importlib.util
|
||||
from pathlib import Path
|
||||
APP=Path(__file__).resolve().parents[1]
|
||||
spec=importlib.util.spec_from_file_location('harmony_build',APP/'scripts/build.py')
|
||||
build=importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(build)
|
||||
_, _, xmake, env=build.environment()
|
||||
build.run([xmake,'-P',APP/'native','-y','crossdesk_harmony_mobile_fixture'],cwd=APP/'native',env=env)
|
||||
Reference in New Issue
Block a user