• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "name": "@ohos/webview",
3    "description": "library for webview",
4    "version": "3.1",
5    "license": "Apache License 2.0",
6    "publishAs": "code-segment",
7    "segment": {
8        "destPath": "base/web/webview"
9    },
10    "dirs": {},
11    "scripts": {},
12    "component": {
13        "name": "webview",
14        "subsystem": "web",
15        "syscap": [
16            "SystemCapability.Web.Webview.Core"
17        ],
18        "features": [],
19        "adapted_system_type": [
20            "standard"
21        ],
22        "hisysevent_config": [
23            "//base/web/webview/hisysevent.yaml"
24        ],
25        "rom": "~85MB",
26        "ram": "~150MB",
27        "deps": {
28            "components": [
29                "ability_base",
30                "ability_runtime",
31                "access_token",
32                "app_file_service",
33                "audio_framework",
34                "av_codec",
35                "av_session",
36                "background_task_mgr",
37                "battery_manager",
38                "bundle_framework",
39                "c_utils",
40                "camera_framework",
41                "cellular_data",
42                "certificate_manager",
43                "common_event_service",
44                "config_policy",
45                "core_service",
46                "data_share",
47                "enterprise_device_management",
48                "eventhandler",
49                "file_api",
50                "graphic_2d",
51                "graphic_surface",
52                "hilog",
53                "hisysevent",
54                "hitrace",
55                "huks",
56                "image_framework",
57                "imf",
58                "init",
59                "input",
60                "ipc",
61                "location",
62                "napi",
63                "media_foundation",
64                "netmanager_base",
65                "pasteboard",
66                "player_framework",
67                "power_manager",
68                "print_fwk",
69                "relational_store",
70                "resource_schedule_service",
71                "samgr",
72                "soc_perf",
73                "time_service",
74                "window_manager",
75                "netstack"
76            ],
77            "third_party": [
78                "chromium",
79                "cef",
80                "libxml2",
81                "protobuf"
82            ]
83        },
84        "build": {
85            "sub_component": [
86                "//base/web/webview/interfaces/inner_api:web_inner_kit",
87                "//base/web/webview/interfaces/kits/napi:webview_napi",
88                "//base/web/webview/interfaces/native:webview_ndk",
89                "//base/web/webview/ohos_nweb:libnweb",
90                "//base/web/webview/ohos_nweb:nweb_hap",
91                "//base/web/webview/ohos_adapter:nweb_ohos_adapter",
92                "//base/web/webview/ohos_wrapper:nweb_ohos_wrapper"
93            ],
94            "inner_kits": [
95                {
96                    "header": {
97                        "header_files": [
98                            "nweb_export.h",
99                            "nweb_url_resource_response.h",
100                            "nweb_handler.h",
101                            "nweb_javascript_result_callback.h",
102                            "nweb_url_resource_error.h",
103                            "nweb_preference.h",
104                            "nweb.h",
105                            "nweb_value.h",
106                            "nweb_url_resource_request.h",
107                            "nweb_adapter_helper.h",
108                            "nweb_helper.h",
109                            "nweb_load_committed_details.h"
110                        ],
111                        "header_base": "//base/web/webview/ohos_nweb/include"
112                    },
113                    "name": "//base/web/webview/ohos_nweb:libnweb"
114                },
115                {
116                    "header": {
117                        "header_files": [
118                            "web_clipboard_controller.h"
119                        ],
120                        "header_base": "//base/web/webview/interfaces/inner_api/include"
121                    },
122                    "name": "//base/web/webview/interfaces/inner_api:web_inner_kit"
123                },
124                {
125                    "header": {
126                        "header_files": [
127                        ],
128                        "header_base": "//base/web/webview/ohos_adapter"
129                    },
130                    "name": "//base/web/webview/ohos_adapter:nweb_ohos_adapter"
131                }
132            ],
133            "test": [
134                "//base/web/webview/test/fuzztest/load_fuzzer:fuzztest",
135                "//base/web/webview/test/fuzztest/cannavigatebackorforward_fuzzer:fuzztest",
136                "//base/web/webview/test/fuzztest/executejavascript_fuzzer:fuzztest",
137                "//base/web/webview/test/fuzztest/executejavascriptcode_fuzzer:fuzztest",
138                "//base/web/webview/test/fuzztest/loadwithdata_fuzzer:fuzztest",
139                "//base/web/webview/test/fuzztest/loadwithdataandbaseurl_fuzzer:fuzztest",
140                "//base/web/webview/test/fuzztest/loadurl_fuzzer:fuzztest",
141                "//base/web/webview/test/fuzztest/ontouchmove_fuzzer:fuzztest",
142                "//base/web/webview/test/fuzztest/ontouchpress_fuzzer:fuzztest",
143                "//base/web/webview/test/fuzztest/ontouchrelease_fuzzer:fuzztest",
144                "//base/web/webview/test/fuzztest/registerarkjsfunction_fuzzer:fuzztest",
145                "//base/web/webview/test/fuzztest/zoom_fuzzer:fuzztest",
146                "//base/web/webview/test/fuzztest/putbackgroundcolor_fuzzer:fuzztest",
147                "//base/web/webview/test/fuzztest/unregisterarkjsfunction_fuzzer:fuzztest",
148                "//base/web/webview/test/fuzztest/sendkeyevent_fuzzer:fuzztest",
149                "//base/web/webview/test/fuzztest/ohos_adapter/aafwk_adapter/aafwkrenderscheduler_fuzzer:fuzztest",
150                "//base/web/webview/test/fuzztest/ohos_adapter/aafwk_adapter/aafwkstartrender_fuzzer:fuzztest",
151                "//base/web/webview/test/fuzztest/ohos_adapter/aafwk_adapter/aafwkattachrender_fuzzer:fuzztest",
152                "//base/web/webview/test/fuzztest/ohos_adapter/audio_adapter:fuzztest",
153                "//base/web/webview/test/fuzztest/ohos_adapter/interfaces/createaafwk_fuzzer:fuzztest",
154                "//base/web/webview/test/fuzztest/ohos_adapter/interfaces/createpowerclient_fuzzer:fuzztest",
155                "//base/web/webview/test/fuzztest/ohos_adapter/interfaces/createdisplaymgr_fuzzer:fuzztest",
156                "//base/web/webview/test/fuzztest/ohos_adapter/interfaces/creategetdatabase_fuzzer:fuzztest",
157                "//base/web/webview/test/fuzztest/ohos_adapter/interfaces/createnetconnect_fuzzer:fuzztest",
158                "//base/web/webview/test/fuzztest/ohos_adapter/interfaces/creategetpasteboard_fuzzer:fuzztest",
159                "//base/web/webview/test/fuzztest/ohos_adapter/interfaces/createaudiorender_fuzzer:fuzztest",
160                "//base/web/webview/test/fuzztest/ohos_adapter/interfaces/createaudiosystem_fuzzer:fuzztest",
161                "//base/web/webview/test/fuzztest/ohos_adapter/interfaces/createmmiadapter_fuzzer:fuzztest",
162                "//base/web/webview/test/fuzztest/ohos_adapter/interfaces/createsocperclient_fuzzer:fuzztest",
163                "//base/web/webview/test/fuzztest/ohos_adapter/battery_adapter:fuzztest",
164                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/displaycreate_fuzzer:fuzztest",
165                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/displaydestroy_fuzzer:fuzztest",
166                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/displaychange_fuzzer:fuzztest",
167                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/convertrotation_fuzzer:fuzztest",
168                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/convertorientation_fuzzer:fuzztest",
169                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/getwidth_fuzzer:fuzztest",
170                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/getheight_fuzzer:fuzztest",
171                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/getvirtual_fuzzer:fuzztest",
172                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/getrotation_fuzzer:fuzztest",
173                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/getorientation_fuzzer:fuzztest",
174                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/getdisplayid_fuzzer:fuzztest",
175                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/getdisplay_fuzzer:fuzztest",
176                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/registerdisplay_fuzzer:fuzztest",
177                "//base/web/webview/test/fuzztest/ohos_adapter/display_adapter/unregisterdisplay_fuzzer:fuzztest",
178                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/clearallpermission_fuzzer:fuzztest",
179                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/clearpermissionbyorigin_fuzzer:fuzztest",
180                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/databaseoncreate_fuzzer:fuzztest",
181                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/deletehttpauthcredentials_fuzzer:fuzztest",
182                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/existhttpauthcredentials_fuzzer:fuzztest",
183                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/existpermissionbyorigin_fuzzer:fuzztest",
184                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/gethttpauthcredentials_fuzzer:fuzztest",
185                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/getoriginbypermission_fuzzer:fuzztest",
186                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/getpermissionresultbyorigin_fuzzer:fuzztest",
187                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/keytotablename_fuzzer:fuzztest",
188                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/pmscreatedatabase_fuzzer:fuzztest",
189                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/pmsdatabaseoncreate_fuzzer:fuzztest",
190                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/pmsdatabaseonupgrade_fuzzer:fuzztest",
191                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/savehttpauthcredentials_fuzzer:fuzztest",
192                "//base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/setpermissionbyorigin_fuzzer:fuzztest",
193                "//base/web/webview/test/fuzztest/ohos_adapter/power_mgr_adapter:fuzztest",
194                "//base/web/webview/test/fuzztest/ohos_adapter/multimodalinput_adapter/getdeviceids_fuzzer:fuzztest",
195                "//base/web/webview/test/fuzztest/ohos_adapter/multimodalinput_adapter/getkeyboardtype_fuzzer:fuzztest",
196                "//base/web/webview/test/fuzztest/ohos_adapter/multimodalinput_adapter/ondeviceadded_fuzzer:fuzztest",
197                "//base/web/webview/test/fuzztest/ohos_adapter/multimodalinput_adapter/ondeviceremoved_fuzzer:fuzztest",
198                "//base/web/webview/test/fuzztest/ohos_adapter/multimodalinput_adapter/registerdevlistener_fuzzer:fuzztest",
199                "//base/web/webview/test/fuzztest/ohos_adapter/multimodalinput_adapter/unregisterdevlistener_fuzzer:fuzztest",
200                "//base/web/webview/test/fuzztest/ohos_adapter/soc_perf_adapter/applysocperfconfigbyid_fuzzer:fuzztest",
201                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/clipboardtoimagealphatype_fuzzer:fuzztest",
202                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/clipboardtoimagecolortype_fuzzer:fuzztest",
203                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/getimgdata_fuzzer:fuzztest",
204                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/getmimetype_fuzzer:fuzztest",
205                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/imagetoclipboardalphatype_fuzzer:fuzztest",
206                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/imagetoclipboardcolortype_fuzzer:fuzztest",
207                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/addhtmlrecord_fuzzer:fuzztest",
208                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/getrecordat_fuzzer:fuzztest",
209                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/sethtmltext_fuzzer:fuzztest",
210                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/setplaintext_fuzzer:fuzztest",
211                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/setcustomdata_fuzzer:fuzztest",
212                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/seturi_fuzzer:fuzztest",
213                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/onpasteboardchanged_fuzzer:fuzztest",
214                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/openremoteuri_fuzzer:fuzztest",
215                "//base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/removepasteboardchangedobserver_fuzzer:fuzztest",
216                "//base/web/webview/test/fuzztest/ohos_adapter/cert_mgr_adapter/getcertmaxsize_fuzzer:fuzztest",
217                "//base/web/webview/test/fuzztest/ohos_adapter/cert_mgr_adapter/getusercertdata_fuzzer:fuzztest",
218                "//base/web/webview/test/fuzztest/ohos_adapter/ashmemcreate_fuzzer:fuzztest",
219                "//base/web/webview/test/fuzztest/ohos_nweb/loadlib_fuzzer:fuzztest",
220                "//base/web/webview/test/fuzztest/ohos_nweb/getcookiemanager_fuzzer:fuzztest",
221                "//base/web/webview/test/fuzztest/ohos_nweb/getnweb_fuzzer:fuzztest",
222                "//base/web/webview/test/fuzztest/ohos_nweb/getdatabase_fuzzer:fuzztest",
223                "//base/web/webview/test/fuzztest/ohos_nweb/getwebstorage_fuzzer:fuzztest",
224                "//base/web/webview/test/fuzztest/ohos_nweb/requestbuffer_fuzzer:fuzztest",
225                "//base/web/webview/test/fuzztest/ohos_nweb/copyframe_fuzzer:fuzztest",
226                "//base/web/webview/test/fuzztest/ohos_nweb/flushbuffer_fuzzer:fuzztest",
227                "//base/web/webview/test/fuzztest/ohos_nweb/sethttpdns_fuzzer:fuzztest",
228                "//base/web/webview/test/fuzztest/ohos_nweb/selectcertrequest_fuzzer:fuzztest",
229                "//base/web/webview/test/unittest/nweb_value_test:unittest",
230                "//base/web/webview/test/unittest/display_manager_adapter_impl_test:unittest",
231                "//base/web/webview/test/unittest/net_connect_adapter_test:unittest",
232                "//base/web/webview/test/unittest/power_mgr_client_adapter_impl_test:unittest",
233                "//base/web/webview/test/unittest/nweb_url_resource_response_test:unittest",
234                "//base/web/webview/test/unittest/nweb_helper_test:unittest",
235                "//base/web/webview/test/unittest/ohos_adapter/permission_data_base_adapter_test:unittest",
236                "//base/web/webview/test/unittest/ohos_adapter/date_time_adapter_impl_test:unittest",
237                "//base/web/webview/test/unittest/pasteboard_adapter:unittest",
238                "//base/web/webview/test/unittest/battery_mgr_adapter_impl:unittest",
239                "//base/web/webview/test/unittest/aafwk_app_client_adapter:unittest",
240                "//base/web/webview/test/unittest/mmi_adapter:unittest",
241                "//base/web/webview/test/unittest/ohos_adapter_helper:unittest",
242                "//base/web/webview/test/unittest/napi_web_cookie_manager_test:unittest",
243                "//base/web/webview/test/unittest/ohos_adapter/res_sched_adapter_impl_test:unittest",
244                "//base/web/webview/test/unittest/ohos_adapter/web_data_base_adapter_impl_test:unittest",
245                "//base/web/webview/test/unittest/ohos_adapter/ohos_resource_adapter_test:unittest",
246                "//base/web/webview/test/unittest/ohos_adapter/graphic_adapter_test:unittest",
247                "//base/web/webview/test/unittest/ohos_adapter/datashare_adapter_impl_test:unittest",
248                "//base/web/webview/test/unittest/ohos_adapter/ohos_init_web_adapter:unittest",
249                "//base/web/webview/test/unittest/ohos_adapter/system_properties_adapter:unittest",
250                "//base/web/webview/test/unittest/ohos_adapter/cert_mgr_adapter_test:unittest",
251                "//base/web/webview/test/unittest/ohos_adapter/location_callback_adapter_test:unittest",
252                "//base/web/webview/test/unittest/ohos_adapter/location_proxy_adapter_test:unittest",
253                "//base/web/webview/test/unittest/ohos_adapter/screen_capture_adapter_impl_test:unittest",
254                "//base/web/webview/test/unittest/ohos_adapter/net_proxy_adapter_test:unittest",
255                "//base/web/webview/test/unittest/ohos_adapter/camera_adapter_impl_test:unittest",
256                "//base/web/webview/test/unittest/ohos_adapter/background_task_impl_test:unittest",
257                "//base/web/webview/test/unittest/ohos_adapter/enterprise_device_impl_test:unittest",
258                "//base/web/webview/test/unittest/ohos_adapter/keystore_adapter_impl_test:unittest",
259                "//base/web/webview/test/unittest/ohos_adapter/print_manager_adapter_impl_test:unittest",
260                "//base/web/webview/test/unittest/audio_adapter_impl_test:unittest",
261                "//base/web/webview/test/unittest/net_connect_callback_impl_test:unittest",
262                "//base/web/webview/test/unittest/net_connect_adapter_impl_test:unittest",
263                "//base/web/webview/test/unittest/nweb_surface_adapter_test:unittest",
264                "//base/web/webview/test/unittest/soc_perf_adapter_test:unittest",
265                "//base/web/webview/test/unittest/ohos_adapter/access_token_adapter_test:unittest",
266                "//base/web/webview/test/unittest/ohos_adapter/event_handler_adapter_test:unittest",
267                "//base/web/webview/test/unittest/ohos_adapter/hiviewdfx_adapter_test:unittest",
268                "//base/web/webview/test/unittest/ohos_adapter/imf_adapter_test:unittest",
269                "//base/web/webview/test/unittest/ohos_adapter/media_adapter_test:unittest",
270                "//base/web/webview/test/unittest/inner_api_test/clipboard_controller_test:unittest"
271            ]
272        }
273    }
274}
275