1 Star 0 Fork 464

魏小新/web_webview

forked from OpenHarmony/web_webview 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.gni 3.94 KB
一键复制 编辑 原始数据 按行查看 历史
huangjunjie 提交于 2024-08-30 20:55 . 修复tdd用例crash
# 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"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/WQL008/web_webview.git
git@gitee.com:WQL008/web_webview.git
WQL008
web_webview
web_webview
master

搜索帮助