代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/web_webview 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (c) 2023 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
declare_args() {
webview_soc_perf_enable = true
webview_audio_enable = true
webview_location_enable = true
webview_media_player_enable = true
webview_camera_enable = true
webview_telephony_enable = true
webview_battery_manager_enable = true
webview_power_manager_enable = true
webview_avcodec_enable = true
webview_print_enable = true
webview_enterprise_device_manager_enable = true
webview_media_avsession_enable = true
webview_sensors_sensor_enable = true
webview_graphic_2d_ext_enable = true
webview_enable_heif_decoder = false
if (defined(global_parts_info) &&
!defined(global_parts_info.resourceschedule_soc_perf)) {
webview_soc_perf_enable = false
}
if (defined(global_parts_info) &&
(!defined(global_parts_info.multimedia_audio_framework) ||
!defined(global_parts_info.multimedia_av_session))) {
webview_audio_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.location_location)) {
webview_location_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.multimedia_player_framework)) {
webview_media_player_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.multimedia_camera_framework)) {
webview_camera_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.multimedia_av_codec)) {
webview_avcodec_enable = false
}
if (defined(global_parts_info) &&
(!defined(global_parts_info.telephony_cellular_data) ||
!defined(global_parts_info.telephony_core_service))) {
webview_telephony_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.powermgr_battery_manager)) {
webview_battery_manager_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.powermgr_power_manager)) {
webview_power_manager_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.print_print_fwk)) {
webview_print_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.customization_enterprise_device_management)) {
webview_enterprise_device_manager_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.multimedia_av_session)) {
webview_media_avsession_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.sensors_sensor)) {
webview_sensors_sensor_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.graphic_graphic_2d_ext)) {
webview_graphic_2d_ext_enable = false
}
if (defined(global_parts_info) &&
!defined(global_parts_info.hdf_drivers_interface_display)) {
webview_enable_heif_decoder = false
}
}
webview_package_name = "com.ohos.arkwebcore"
webview_hap_path =
"/module_update/ArkWebCore/app/${webview_package_name}/ArkWebCore.hap"
webview_sandbox_path = "/data/storage/el1/bundle/arkwebcore/"
webview_sandbox_hap_path = "${webview_sandbox_path}entry.hap"
webview_sandbox_lib_path = "${webview_sandbox_path}libs/${target_cpu}"
webview_sandbox_relative_lib_path = "arkwebcore/libs/${target_cpu}"
webview_crashpad_handler_so = "libarkweb_crashpad_handler.so"
webview_engine_so = "libarkweb_engine.so"
webview_app_hap_path = "/system/app/ArkWeb/ArkWebCore.hap"
webview_app_hap_path2 = "/system/app/${webview_package_name}/ArkWebCore.hap"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。