代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/web_webview 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
nwebview is the native engine of the OpenHarmony web component and is built based on Chromium and the Chromium Embedded Framework (CEF).
Below is the software architecture.
------------------------------
| Web component |
------------------------------
| nwebview |
------------------------------
| CEF |
------------------------------
| Chromium |
------------------------------
| OpenHarmony base library |
------------------------------
.
├── ohos_nweb # OpenHarmony adaptation code
│ ├── include
│ ├── prebuilts # NWeb.hap, built based on the third_party_chromium source code repository
│ └── src
└── test # nwebview test code
** This code repository is the native engine of the OpenHarmony web component. This topic describes only how to use the test code based on the native interfaces.**
"sub_component": [
"//base/web/webview/ohos_nweb:libnweb",
"//base/web/webview/ohos_nweb:nweb_hap",
"//base/web/webview/test:nweb_test"
],
./build.sh --product-name rk3568 --ccache --build-target nweb_test
nweb_test 1 --width=720 --height=1184 --add-args=--for-test
The preceding command loads the Baidu home page by default. To load another page, run --url=xxx.com.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。