servo/support/openharmony
Mukilan Thiyagarajan 114cf9a1cc
ohos: avoid passing some cli arguments to servo (#34237)
These following four OHOS specific arguments are being passed by the
OHOS runtime to the EntryAbility, which then passess them on to Servo's
argument parsing logic:

* `--debugApp=false`
* `--send_to_erms_targetAppDistType=os_integration`
* `--send_to_erms_targetAppProvisionType=release`
* `--send_to_erms_targetBundleType=0`

When Servo's argument parsing logic encounters an unrecognized argument,
it terminates the process after logging an error to stderr (which is not
visible in hilog).

This patch simply filters out these arguments so the parsing logic
doesn't fail.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-11-13 12:50:40 +00:00
..
AppScope openharmony: add servoshell for ohos (#33295) 2024-09-20 08:20:27 +00:00
entry ohos: avoid passing some cli arguments to servo (#34237) 2024-11-13 12:50:40 +00:00
hvigor openharmony: add servoshell for ohos (#33295) 2024-09-20 08:20:27 +00:00
build-profile.json5 ohos: Support product flavors (#33512) 2024-09-26 06:58:30 +00:00
hvigorfile.ts openharmony: add servoshell for ohos (#33295) 2024-09-20 08:20:27 +00:00
oh-package-lock.json5 openharmony: add servoshell for ohos (#33295) 2024-09-20 08:20:27 +00:00
oh-package.json5 openharmony: add servoshell for ohos (#33295) 2024-09-20 08:20:27 +00:00