代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/ability_form_fwk 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (c) 2021-2022 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.
import("//build/ohos.gni")
import("//foundation/ability/ability_runtime/ability_runtime.gni")
import("//foundation/ability/form_fwk/form_fwk.gni")
################################### libfms ########################################
config("formmgr_log_config") {
defines = [ "AMS_LOG_TAG = \"FormMgrService\"" ]
}
config("formmgr_config") {
include_dirs = [
"services/include",
"//third_party/json/include",
]
}
ohos_shared_library("libfms") {
cflags_cc = []
include_dirs = [
"${ability_runtime_path}/services/common/include",
"${ability_runtime_native_path}/appkit/ability_runtime",
]
sources = [
"services/src/form_ability_connection.cpp",
"services/src/form_acquire_connection.cpp",
"services/src/form_acquire_state_connection.cpp",
"services/src/form_ams_helper.cpp",
"services/src/form_batch_delete_connection.cpp",
"services/src/form_bms_helper.cpp",
"services/src/form_bundle_event_callback.cpp",
"services/src/form_cache_mgr.cpp",
"services/src/form_cast_temp_connection.cpp",
"services/src/form_data_mgr.cpp",
"services/src/form_db_cache.cpp",
"services/src/form_db_info.cpp",
"services/src/form_delete_connection.cpp",
"services/src/form_distributed_client.cpp",
"services/src/form_dump_mgr.cpp",
"services/src/form_event_handler.cpp",
"services/src/form_event_notify_connection.cpp",
"services/src/form_event_util.cpp",
"services/src/form_free_install_operator.cpp",
"services/src/form_host_callback.cpp",
"services/src/form_host_record.cpp",
"services/src/form_info_mgr.cpp",
"services/src/form_info_rdb_storage_mgr.cpp",
"services/src/form_info_storage.cpp",
"services/src/form_info_storage_mgr.cpp",
"services/src/form_item_info.cpp",
"services/src/form_mgr_adapter.cpp",
"services/src/form_mgr_service.cpp",
"services/src/form_msg_event_connection.cpp",
"services/src/form_provider_mgr.cpp",
"services/src/form_rdb_data_mgr.cpp",
"services/src/form_refresh_connection.cpp",
"services/src/form_refresh_limiter.cpp",
"services/src/form_share_connection.cpp",
"services/src/form_share_mgr.cpp",
"services/src/form_supply_callback.cpp",
"services/src/form_sys_event_receiver.cpp",
"services/src/form_task_mgr.cpp",
"services/src/form_timer_mgr.cpp",
"services/src/form_util.cpp",
"services/src/free_install_status_callback_proxy.cpp",
"services/src/free_install_status_callback_stub.cpp",
]
configs = [
":formmgr_config",
":formmgr_log_config",
":formmgr_sdk_config",
]
cflags = []
if (target_cpu == "arm") {
cflags += [ "-DBINDER_IPC_32BIT" ]
}
deps = [
"${ability_runtime_native_path}/appkit:app_context",
"${ability_runtime_services_path}/common:event_report",
"${ability_runtime_services_path}/common:perm_verification",
]
external_deps = [
"ability_base:base",
"ability_base:want",
"ability_runtime:ability_deps_wrapper",
"ability_runtime:ability_manager",
"ability_runtime:app_manager",
"ability_runtime:wantagent_innerkits",
"access_token:libtokenid_sdk",
"bundle_framework:appexecfwk_base",
"bundle_framework:appexecfwk_core",
"c_utils:utils",
"common_event_service:cesfwk_core",
"common_event_service:cesfwk_innerkits",
"eventhandler:libeventhandler",
"form_fwk:form_manager",
"hicollie_native:libhicollie",
"hisysevent_native:libhisysevent",
"hitrace_native:hitrace_meter",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"kv_store:distributeddata_inner",
"relational_store:native_rdb",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"time_service:time_client",
]
defines = []
if (ability_runtime_power) {
defines = [ "SUPPORT_POWER" ]
external_deps += [ "power_manager:powermgr_client" ]
}
if (device_usage_statistics) {
external_deps += [ "device_usage_statistics:usagestatsinner" ]
defines += [ "DEVICE_USAGE_STATISTICS_ENABLE" ]
}
if (build_variant == "root") {
defines += [ "FORM_EVENT_FOR_TEST" ]
}
subsystem_name = "ability"
part_name = "form_fwk"
}
################################### fmskit_native ########################################
config("fmskit_config") {
defines = [ "AMS_LOG_TAG = \"FmskitNative\"" ]
}
config("fmskit_public_config") {
include_dirs = [
"interfaces/kits/native/include",
"${ability_runtime_path}/services/common/include",
"${form_fwk_path}/interfaces/inner_api/include",
"${bundlefwk_inner_api_path}/appexecfwk_base/include",
]
}
ohos_shared_library("fmskit_native") {
configs = [ ":fmskit_config" ]
public_configs = [ ":fmskit_public_config" ]
sources = [
"interfaces/kits/native/src/form_caller_mgr.cpp",
"interfaces/kits/native/src/form_errors.cpp",
"interfaces/kits/native/src/form_host_caller.cpp",
"interfaces/kits/native/src/form_host_client.cpp",
"interfaces/kits/native/src/form_mgr.cpp",
"interfaces/kits/native/src/form_provider_caller.cpp",
]
cflags = []
if (target_cpu == "arm") {
cflags += [ "-DBINDER_IPC_32BIT" ]
}
deps = []
external_deps = [
"ability_base:want",
"c_utils:utils",
"eventhandler:libeventhandler",
"form_fwk:form_manager",
"hitrace_native:hitrace_meter",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"samgr:samgr_proxy",
]
subsystem_name = "ability"
part_name = "form_fwk"
}
################################### form_manager ########################################
config("formmgr_sdk_config") {
visibility = [ ":*" ]
include_dirs = [
"interfaces/inner_api/include/",
"//third_party/json/include",
"${ability_base_kits_path}/configuration/include",
"${ability_runtime_path}/interfaces/kits/native/ability/native",
"${ability_runtime_innerapi_path}/ability_manager/include",
"${ability_runtime_innerapi_path}/app_manager/include/appmgr",
"${ability_runtime_path}/services/common/include",
]
cflags = []
if (target_cpu == "arm") {
cflags += [ "-DBINDER_IPC_32BIT" ]
}
}
ohos_shared_library("form_manager") {
sources = [
"interfaces/inner_api/src/form_ashmem.cpp",
"interfaces/inner_api/src/form_host_proxy.cpp",
"interfaces/inner_api/src/form_host_stub.cpp",
"interfaces/inner_api/src/form_info_filter.cpp",
"interfaces/inner_api/src/form_js_info.cpp",
"interfaces/inner_api/src/form_mgr_proxy.cpp",
"interfaces/inner_api/src/form_mgr_stub.cpp",
"interfaces/inner_api/src/form_provider_data.cpp",
"interfaces/inner_api/src/form_provider_info.cpp",
"interfaces/inner_api/src/form_provider_proxy.cpp",
"interfaces/inner_api/src/form_provider_stub.cpp",
"interfaces/inner_api/src/form_share_info.cpp",
"interfaces/inner_api/src/form_supply_proxy.cpp",
"interfaces/inner_api/src/form_supply_stub.cpp",
"interfaces/inner_api/src/provider_connect_proxy.cpp",
"interfaces/inner_api/src/provider_connect_stub.cpp",
]
configs = [ ":formmgr_log_config" ]
public_configs = [
":formmgr_sdk_config",
"${form_fwk_path}:formmgr_config",
]
deps = [ "//third_party/jsoncpp:jsoncpp" ]
external_deps = [
"ability_base:want",
"bundle_framework:appexecfwk_base",
"c_utils:utils",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
]
subsystem_name = "ability"
part_name = "form_fwk"
}
group("form_napi_packages") {
if (ability_runtime_graphics) {
deps = [
"${form_fwk_napi_path}:formbindingdata",
"${form_fwk_napi_path}:formbindingdata_napi",
"${form_fwk_napi_path}:formerror_napi",
"${form_fwk_napi_path}:formextension_napi",
"${form_fwk_napi_path}:formextensionability",
"${form_fwk_napi_path}:formextensioncontext_napi",
"${form_fwk_napi_path}:formhost",
"${form_fwk_napi_path}:formhost_napi",
"${form_fwk_napi_path}:forminfo",
"${form_fwk_napi_path}:forminfo_napi",
"${form_fwk_napi_path}:formprovider",
"${form_fwk_napi_path}:formprovider_napi",
"${form_fwk_napi_path}:formutil_napi",
]
}
}
group("fms_innerkits_target") {
if (ability_runtime_graphics) {
deps = [ ":form_manager" ]
}
}
group("fms_target") {
deps = [ ":libfms" ]
}
group("fms_services_target") {
if (ability_runtime_graphics) {
deps = [ ":fms_target" ]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。