mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-23 23:30:44 +00:00
Merge branch 'master' of gitee.com:openharmony/ability_ability_runtime into master
Signed-off-by: jerry <sijunjie@huawei.com>
This commit is contained in:
commit
06ec21c092
@ -44,10 +44,16 @@ eventhandler_path = "//base/notification/eventhandler"
|
|||||||
hiviewdfx_path = "//base/hiviewdfx/hiview"
|
hiviewdfx_path = "//base/hiviewdfx/hiview"
|
||||||
hilog_path = "//base/hiviewdfx/hilog"
|
hilog_path = "//base/hiviewdfx/hilog"
|
||||||
webview_path = "//base/web/webview"
|
webview_path = "//base/web/webview"
|
||||||
appspawn_path = "//base/startup/appspawn"
|
|
||||||
resource_management_path = "//base/global/resource_management"
|
resource_management_path = "//base/global/resource_management"
|
||||||
common_event_service_path = "//base/notification/common_event_service"
|
common_event_service_path = "//base/notification/common_event_service"
|
||||||
safwk_path = "//utils/system/safwk"
|
safwk_path = "//utils/system/safwk"
|
||||||
|
user_file_service_innerkits_path =
|
||||||
|
"//foundation/filemanagement/user_file_service/interfaces/inner_api"
|
||||||
|
resourceschedule_path = "//foundation/resourceschedule"
|
||||||
|
device_usage_statistics_path =
|
||||||
|
"//foundation/resourceschedule/device_usage_statistics"
|
||||||
|
device_manager_path = "//foundation/distributedhardware/device_manager"
|
||||||
|
graphic_2d_path = "//foundation/graphic/graphic_2d"
|
||||||
|
|
||||||
declare_args() {
|
declare_args() {
|
||||||
background_task_mgr_continuous_task_enable = true
|
background_task_mgr_continuous_task_enable = true
|
||||||
|
@ -17,11 +17,11 @@ import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
|||||||
config("ability_context_public_config") {
|
config("ability_context_public_config") {
|
||||||
visibility = [ ":*" ]
|
visibility = [ ":*" ]
|
||||||
visibility += [
|
visibility += [
|
||||||
|
"${ability_runtime_native_path}/ability/*",
|
||||||
|
"${ability_runtime_test_path}/fuzztest/connectability_fuzzer/*",
|
||||||
|
"${ability_runtime_test_path}/fuzztest/disconnectability_fuzzer/*",
|
||||||
|
"${user_file_service_innerkits_path}/file_access/*",
|
||||||
"//base/print/print_fwk/frameworks/kits/extension/*",
|
"//base/print/print_fwk/frameworks/kits/extension/*",
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/*",
|
|
||||||
"//foundation/ability/ability_runtime/test/fuzztest/connectability_fuzzer/*",
|
|
||||||
"//foundation/ability/ability_runtime/test/fuzztest/disconnectability_fuzzer/*",
|
|
||||||
"//foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/*",
|
|
||||||
]
|
]
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"${ability_base_kits_path}/extractortool/include",
|
"${ability_base_kits_path}/extractortool/include",
|
||||||
|
@ -18,13 +18,13 @@ import("//foundation/distributeddatamgr/relational_store/relational_store.gni")
|
|||||||
config("ability_config") {
|
config("ability_config") {
|
||||||
visibility = [ ":*" ]
|
visibility = [ ":*" ]
|
||||||
visibility += [
|
visibility += [
|
||||||
|
"${ability_runtime_native_path}/ability/native/*",
|
||||||
|
"${ability_runtime_test_path}/*",
|
||||||
|
"${distributeddatamgr_path}/data_share/interfaces/inner_api/*",
|
||||||
|
"${user_file_service_innerkits_path}/file_access/*",
|
||||||
"//base/inputmethod/imf/frameworks/kits/extension/*",
|
"//base/inputmethod/imf/frameworks/kits/extension/*",
|
||||||
"//base/print/print_fwk/frameworks/kits/extension/*",
|
"//base/print/print_fwk/frameworks/kits/extension/*",
|
||||||
"//base/theme/wallpaper_mgr/frameworks/kits/extension/*",
|
"//base/theme/wallpaper_mgr/frameworks/kits/extension/*",
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native/*",
|
|
||||||
"//foundation/ability/ability_runtime/test/*",
|
|
||||||
"//foundation/distributeddatamgr/data_share/interfaces/inner_api/*",
|
|
||||||
"//foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/*",
|
|
||||||
]
|
]
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"${ability_runtime_path}/interfaces/kits/native/ability/native",
|
"${ability_runtime_path}/interfaces/kits/native/ability/native",
|
||||||
@ -71,8 +71,8 @@ config("ability_config") {
|
|||||||
config("ability_public_config") {
|
config("ability_public_config") {
|
||||||
visibility = [ ":*" ]
|
visibility = [ ":*" ]
|
||||||
visibility += [
|
visibility += [
|
||||||
"//foundation/ability/ability_runtime/frameworks/js/napi/inner/*",
|
"${ability_runtime_napi_path}/inner/*",
|
||||||
"//foundation/ability/ability_runtime/test/fuzztest/*",
|
"${ability_runtime_test_path}/fuzztest/*",
|
||||||
]
|
]
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"${ability_runtime_napi_path}/inner/napi_ability_common",
|
"${ability_runtime_napi_path}/inner/napi_ability_common",
|
||||||
@ -285,6 +285,8 @@ ohos_shared_library("abilitykit_native") {
|
|||||||
"input:libmmi-client",
|
"input:libmmi-client",
|
||||||
"ipc:ipc_core",
|
"ipc:ipc_core",
|
||||||
"ipc:ipc_napi_common",
|
"ipc:ipc_napi_common",
|
||||||
|
"ipc_js:rpc",
|
||||||
|
"napi:ace_napi",
|
||||||
"relational_store:native_rdb",
|
"relational_store:native_rdb",
|
||||||
"resource_management:global_resmgr",
|
"resource_management:global_resmgr",
|
||||||
"samgr:samgr_proxy",
|
"samgr:samgr_proxy",
|
||||||
@ -308,8 +310,6 @@ ohos_shared_library("abilitykit_native") {
|
|||||||
"${ability_runtime_napi_path}/inner/napi_common:napi_common",
|
"${ability_runtime_napi_path}/inner/napi_common:napi_common",
|
||||||
"//base/notification/eventhandler/frameworks/eventhandler:libeventhandler",
|
"//base/notification/eventhandler/frameworks/eventhandler:libeventhandler",
|
||||||
"//base/startup/init/interfaces/innerkits:libbegetutil",
|
"//base/startup/init/interfaces/innerkits:libbegetutil",
|
||||||
"//foundation/arkui/napi:ace_napi",
|
|
||||||
"//foundation/communication/ipc/interfaces/kits/js/napi:rpc",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if (ability_runtime_graphics) {
|
if (ability_runtime_graphics) {
|
||||||
|
@ -126,7 +126,7 @@ ohos_shared_library("appkit_native") {
|
|||||||
"${ability_runtime_native_path}/appkit:app_context",
|
"${ability_runtime_native_path}/appkit:app_context",
|
||||||
"${ability_runtime_native_path}/appkit:app_context_utils",
|
"${ability_runtime_native_path}/appkit:app_context_utils",
|
||||||
"${ability_runtime_services_path}/abilitymgr:abilityms",
|
"${ability_runtime_services_path}/abilitymgr:abilityms",
|
||||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
|
"${graphic_2d_path}/rosen/modules/render_service_client:librender_service_client",
|
||||||
]
|
]
|
||||||
|
|
||||||
external_deps = [
|
external_deps = [
|
||||||
@ -337,8 +337,7 @@ ohos_shared_library("appkit_delegator") {
|
|||||||
"hiviewdfx_hilog_native:libhilog",
|
"hiviewdfx_hilog_native:libhilog",
|
||||||
"ipc:ipc_core",
|
"ipc:ipc_core",
|
||||||
]
|
]
|
||||||
|
public_deps = [ "${arkui_path}/napi:ace_napi" ]
|
||||||
public_deps = [ "//foundation/arkui/napi:ace_napi" ]
|
|
||||||
|
|
||||||
if (ability_runtime_graphics) {
|
if (ability_runtime_graphics) {
|
||||||
deps += [ "//third_party/icu/icu4c:shared_icuuc" ]
|
deps += [ "//third_party/icu/icu4c:shared_icuuc" ]
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
|
|
||||||
if (is_mac) {
|
if (is_mac) {
|
||||||
dylib_suffix = ".dylib"
|
dylib_suffix = ".dylib"
|
||||||
@ -95,13 +96,12 @@ ohos_copy("copy_ability_simulator") {
|
|||||||
sources +=
|
sources +=
|
||||||
[ out_path + "/ability/simulator/libability_simulator" + dylib_suffix ]
|
[ out_path + "/ability/simulator/libability_simulator" + dylib_suffix ]
|
||||||
|
|
||||||
deps += [ "//foundation/arkui/napi:ace_napi" ]
|
external_deps = [ "napi:ace_napi" ]
|
||||||
out_path = get_label_info("//foundation/arkui/napi:ace_napi", "root_out_dir")
|
out_path = get_label_info("${arkui_path}/napi:ace_napi", "root_out_dir")
|
||||||
sources += [ out_path + "/arkui/napi/libace_napi" + dylib_suffix ]
|
sources += [ out_path + "/arkui/napi/libace_napi" + dylib_suffix ]
|
||||||
|
|
||||||
deps += [ "//foundation/arkui/napi:ace_napi_ark" ]
|
deps += [ "${arkui_path}/napi:ace_napi_ark" ]
|
||||||
out_path =
|
out_path = get_label_info("${arkui_path}/napi:ace_napi_ark", "root_out_dir")
|
||||||
get_label_info("//foundation/arkui/napi:ace_napi_ark", "root_out_dir")
|
|
||||||
sources += [ out_path + "/arkui/napi/libace_napi_ark" + dylib_suffix ]
|
sources += [ out_path + "/arkui/napi/libace_napi_ark" + dylib_suffix ]
|
||||||
|
|
||||||
deps += [ "//arkcompiler/ets_runtime:libark_jsruntime" ]
|
deps += [ "//arkcompiler/ets_runtime:libark_jsruntime" ]
|
||||||
|
@ -61,14 +61,14 @@ ohos_shared_library("ability_simulator") {
|
|||||||
cflags = [ "-std=c++17" ]
|
cflags = [ "-std=c++17" ]
|
||||||
|
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/runtime",
|
"${ability_runtime_native_path}/runtime",
|
||||||
"//foundation/ability/ability_runtime/interfaces/inner_api/runtime/include",
|
"${ability_runtime_innerkits_path}/runtime/include",
|
||||||
]
|
]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/runtime/js_console_log.cpp",
|
"${ability_runtime_native_path}/runtime/js_console_log.cpp",
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/runtime/js_module_searcher.cpp",
|
"${ability_runtime_native_path}/runtime/js_module_searcher.cpp",
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/runtime/js_runtime_utils.cpp",
|
"${ability_runtime_native_path}/runtime/js_runtime_utils.cpp",
|
||||||
"src/js_timer.cpp",
|
"src/js_timer.cpp",
|
||||||
"src/simulator.cpp",
|
"src/simulator.cpp",
|
||||||
]
|
]
|
||||||
@ -81,15 +81,17 @@ ohos_shared_library("ability_simulator") {
|
|||||||
deps = [
|
deps = [
|
||||||
":gen_obj_src_js_mock_abc",
|
":gen_obj_src_js_mock_abc",
|
||||||
"${ability_runtime_native_path}/runtime:string_utils",
|
"${ability_runtime_native_path}/runtime:string_utils",
|
||||||
|
"${ability_runtime_path}/frameworks/simulator/osal:simulator_osal",
|
||||||
|
"${arkui_path}/napi:ace_napi_ark",
|
||||||
"${hilog_path}/interfaces/native/innerkits:libhilog_$platform",
|
"${hilog_path}/interfaces/native/innerkits:libhilog_$platform",
|
||||||
"//arkcompiler/toolchain/inspector:ark_debugger",
|
"//arkcompiler/toolchain/inspector:ark_debugger",
|
||||||
"//arkcompiler/toolchain/tooling:libark_ecma_debugger",
|
"//arkcompiler/toolchain/tooling:libark_ecma_debugger",
|
||||||
"//foundation/ability/ability_runtime/frameworks/simulator/osal:simulator_osal",
|
|
||||||
"//foundation/arkui/napi:ace_napi",
|
|
||||||
"//foundation/arkui/napi:ace_napi_ark",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
external_deps = [ "ets_runtime:libark_jsruntime" ]
|
external_deps = [
|
||||||
|
"ets_runtime:libark_jsruntime",
|
||||||
|
"napi:ace_napi",
|
||||||
|
]
|
||||||
|
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
|
@ -12,11 +12,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
import(
|
import(
|
||||||
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
||||||
|
|
||||||
gen_js_src_binary("ability") {
|
gen_js_src_binary("ability") {
|
||||||
js_source = "//foundation/ability/ability_runtime/frameworks/js/napi/ability/ability.js"
|
js_source = "${ability_runtime_napi_path}/ability/ability.js"
|
||||||
}
|
}
|
||||||
|
|
||||||
ohos_shared_library("ability_napi") {
|
ohos_shared_library("ability_napi") {
|
||||||
@ -26,13 +27,13 @@ ohos_shared_library("ability_napi") {
|
|||||||
defines = [ "MAC_PLATFORM" ]
|
defines = [ "MAC_PLATFORM" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
sources = [ "//foundation/ability/ability_runtime/frameworks/js/napi/ability/ability_module.cpp" ]
|
sources = [ "${ability_runtime_napi_path}/ability/ability_module.cpp" ]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":gen_obj_src_ability_abc",
|
":gen_obj_src_ability_abc",
|
||||||
":gen_obj_src_ability_js",
|
":gen_obj_src_ability_js",
|
||||||
"//foundation/arkui/napi:ace_napi",
|
|
||||||
]
|
]
|
||||||
|
external_deps = [ "napi:ace_napi" ]
|
||||||
|
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
|
|
||||||
ohos_shared_library("abilityconstant_napi") {
|
ohos_shared_library("abilityconstant_napi") {
|
||||||
if (is_mingw) {
|
if (is_mingw) {
|
||||||
@ -21,17 +22,19 @@ ohos_shared_library("abilityconstant_napi") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"//foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include",
|
"${ability_runtime_innerkits_path}/ability_manager/include",
|
||||||
"//foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/continuation",
|
"${ability_runtime_innerkits_path}/ability_manager/include/continuation",
|
||||||
]
|
]
|
||||||
|
|
||||||
sources = [ "//foundation/ability/ability_runtime/frameworks/js/napi/ability_constant/ability_constant_module.cpp" ]
|
sources = [
|
||||||
|
"${ability_runtime_napi_path}/ability_constant/ability_constant_module.cpp",
|
||||||
|
]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
|
"${ability_runtime_path}/frameworks/simulator/osal:simulator_osal",
|
||||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_$platform",
|
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_$platform",
|
||||||
"//foundation/ability/ability_runtime/frameworks/simulator/osal:simulator_osal",
|
|
||||||
"//foundation/arkui/napi:ace_napi",
|
|
||||||
]
|
]
|
||||||
|
external_deps = [ "napi:ace_napi" ]
|
||||||
|
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
|
@ -12,11 +12,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
import(
|
import(
|
||||||
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
||||||
|
|
||||||
gen_js_src_binary("ability_context") {
|
gen_js_src_binary("ability_context") {
|
||||||
js_source = "//foundation/ability/ability_runtime/frameworks/js/napi/ability_context/ability_context.js"
|
js_source = "${ability_runtime_napi_path}/ability_context/ability_context.js"
|
||||||
}
|
}
|
||||||
|
|
||||||
ohos_shared_library("ability_context_napi") {
|
ohos_shared_library("ability_context_napi") {
|
||||||
@ -26,14 +27,15 @@ ohos_shared_library("ability_context_napi") {
|
|||||||
defines = [ "MAC_PLATFORM" ]
|
defines = [ "MAC_PLATFORM" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
sources = [ "//foundation/ability/ability_runtime/frameworks/js/napi/ability_context/ability_context_module.cpp" ]
|
sources = [
|
||||||
|
"${ability_runtime_napi_path}/ability_context/ability_context_module.cpp",
|
||||||
|
]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":gen_obj_src_ability_context_abc",
|
":gen_obj_src_ability_context_abc",
|
||||||
":gen_obj_src_ability_context_js",
|
":gen_obj_src_ability_context_js",
|
||||||
"//foundation/arkui/napi:ace_napi",
|
|
||||||
]
|
]
|
||||||
|
external_deps = [ "napi:ace_napi" ]
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
}
|
}
|
||||||
|
@ -12,11 +12,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
import(
|
import(
|
||||||
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
||||||
|
|
||||||
gen_js_src_binary("ability_stage") {
|
gen_js_src_binary("ability_stage") {
|
||||||
js_source = "//foundation/ability/ability_runtime/frameworks/js/napi/app/ability_stage/ability_stage.js"
|
js_source = "${ability_runtime_napi_path}/app/ability_stage/ability_stage.js"
|
||||||
}
|
}
|
||||||
|
|
||||||
ohos_shared_library("ability_stage_napi") {
|
ohos_shared_library("ability_stage_napi") {
|
||||||
@ -26,13 +27,15 @@ ohos_shared_library("ability_stage_napi") {
|
|||||||
defines = [ "MAC_PLATFORM" ]
|
defines = [ "MAC_PLATFORM" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
sources = [ "//foundation/ability/ability_runtime/frameworks/js/napi/app/ability_stage/ability_stage_module.cpp" ]
|
sources = [
|
||||||
|
"${ability_runtime_napi_path}/app/ability_stage/ability_stage_module.cpp",
|
||||||
|
]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":gen_obj_src_ability_stage_abc",
|
":gen_obj_src_ability_stage_abc",
|
||||||
":gen_obj_src_ability_stage_js",
|
":gen_obj_src_ability_stage_js",
|
||||||
"//foundation/arkui/napi:ace_napi",
|
|
||||||
]
|
]
|
||||||
|
external_deps = [ "napi:ace_napi" ]
|
||||||
|
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
|
@ -12,11 +12,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
import(
|
import(
|
||||||
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
||||||
|
|
||||||
gen_js_src_binary("ability_stage_context") {
|
gen_js_src_binary("ability_stage_context") {
|
||||||
js_source = "//foundation/ability/ability_runtime/frameworks/js/napi/app/ability_stage_context/ability_stage_context.js"
|
js_source = "${ability_runtime_napi_path}/app/ability_stage_context/ability_stage_context.js"
|
||||||
}
|
}
|
||||||
|
|
||||||
ohos_shared_library("ability_stage_context_napi") {
|
ohos_shared_library("ability_stage_context_napi") {
|
||||||
@ -26,13 +27,13 @@ ohos_shared_library("ability_stage_context_napi") {
|
|||||||
defines = [ "MAC_PLATFORM" ]
|
defines = [ "MAC_PLATFORM" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
sources = [ "//foundation/ability/ability_runtime/frameworks/js/napi/app/ability_stage_context/ability_stage_context_module.cpp" ]
|
sources = [ "${ability_runtime_napi_path}/app/ability_stage_context/ability_stage_context_module.cpp" ]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":gen_obj_src_ability_stage_context_abc",
|
":gen_obj_src_ability_stage_context_abc",
|
||||||
":gen_obj_src_ability_stage_context_js",
|
":gen_obj_src_ability_stage_context_js",
|
||||||
"//foundation/arkui/napi:ace_napi",
|
|
||||||
]
|
]
|
||||||
|
external_deps = [ "napi:ace_napi" ]
|
||||||
|
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
|
@ -12,11 +12,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
import(
|
import(
|
||||||
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
||||||
|
|
||||||
gen_js_src_binary("application_context") {
|
gen_js_src_binary("application_context") {
|
||||||
js_source = "//foundation/ability/ability_runtime/frameworks/js/napi/app/application_context/application_context.js"
|
js_source = "${ability_runtime_napi_path}/app/application_context/application_context.js"
|
||||||
}
|
}
|
||||||
|
|
||||||
ohos_shared_library("application_context_napi") {
|
ohos_shared_library("application_context_napi") {
|
||||||
@ -26,14 +27,13 @@ ohos_shared_library("application_context_napi") {
|
|||||||
defines = [ "MAC_PLATFORM" ]
|
defines = [ "MAC_PLATFORM" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
sources = [ "//foundation/ability/ability_runtime/frameworks/js/napi/app/application_context/application_context_module.cpp" ]
|
sources = [ "${ability_runtime_napi_path}/app/application_context/application_context_module.cpp" ]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":gen_obj_src_application_context_abc",
|
":gen_obj_src_application_context_abc",
|
||||||
":gen_obj_src_application_context_js",
|
":gen_obj_src_application_context_js",
|
||||||
"//foundation/arkui/napi:ace_napi",
|
|
||||||
]
|
]
|
||||||
|
external_deps = [ "napi:ace_napi" ]
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
}
|
}
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
import(
|
import(
|
||||||
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
||||||
|
|
||||||
gen_js_src_binary("callee") {
|
gen_js_src_binary("callee") {
|
||||||
js_source =
|
js_source = "${ability_runtime_napi_path}/callee/callee.js"
|
||||||
"//foundation/ability/ability_runtime/frameworks/js/napi/callee/callee.js"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ohos_shared_library("callee_napi") {
|
ohos_shared_library("callee_napi") {
|
||||||
@ -27,13 +27,13 @@ ohos_shared_library("callee_napi") {
|
|||||||
defines = [ "MAC_PLATFORM" ]
|
defines = [ "MAC_PLATFORM" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
sources = [ "//foundation/ability/ability_runtime/frameworks/js/napi/callee/callee_module.cpp" ]
|
sources = [ "${ability_runtime_napi_path}/callee/callee_module.cpp" ]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":gen_obj_src_callee_abc",
|
":gen_obj_src_callee_abc",
|
||||||
":gen_obj_src_callee_js",
|
":gen_obj_src_callee_js",
|
||||||
"//foundation/arkui/napi:ace_napi",
|
|
||||||
]
|
]
|
||||||
|
external_deps = [ "napi:ace_napi" ]
|
||||||
|
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
import(
|
import(
|
||||||
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
||||||
|
|
||||||
gen_js_src_binary("caller") {
|
gen_js_src_binary("caller") {
|
||||||
js_source =
|
js_source = "${ability_runtime_napi_path}/caller/caller.js"
|
||||||
"//foundation/ability/ability_runtime/frameworks/js/napi/caller/caller.js"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ohos_shared_library("caller_napi") {
|
ohos_shared_library("caller_napi") {
|
||||||
@ -27,13 +27,13 @@ ohos_shared_library("caller_napi") {
|
|||||||
defines = [ "MAC_PLATFORM" ]
|
defines = [ "MAC_PLATFORM" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
sources = [ "//foundation/ability/ability_runtime/frameworks/js/napi/caller/caller_module.cpp" ]
|
sources = [ "${ability_runtime_napi_path}/caller/caller_module.cpp" ]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":gen_obj_src_caller_abc",
|
":gen_obj_src_caller_abc",
|
||||||
":gen_obj_src_caller_js",
|
":gen_obj_src_caller_js",
|
||||||
"//foundation/arkui/napi:ace_napi",
|
|
||||||
]
|
]
|
||||||
|
external_deps = [ "napi:ace_napi" ]
|
||||||
|
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
|
@ -12,14 +12,15 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
|
|
||||||
ohos_shared_library("configurationconstant_napi") {
|
ohos_shared_library("configurationconstant_napi") {
|
||||||
include_dirs =
|
include_dirs =
|
||||||
[ "//base/global/resource_management/interfaces/inner_api/include" ]
|
[ "//base/global/resource_management/interfaces/inner_api/include" ]
|
||||||
|
|
||||||
sources = [ "//foundation/ability/ability_runtime/frameworks/js/napi/configuration_constant/configuration_constant_module.cpp" ]
|
sources = [ "${ability_runtime_napi_path}/configuration_constant/configuration_constant_module.cpp" ]
|
||||||
|
|
||||||
deps = [ "//foundation/arkui/napi:ace_napi" ]
|
external_deps = [ "napi:ace_napi" ]
|
||||||
|
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
|
@ -12,11 +12,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
import(
|
import(
|
||||||
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
"//foundation/ability/ability_runtime/frameworks/simulator/build/ability_simulator.gni")
|
||||||
|
|
||||||
gen_js_src_binary("context") {
|
gen_js_src_binary("context") {
|
||||||
js_source = "//foundation/ability/ability_runtime/frameworks/js/napi/app/context/context.js"
|
js_source = "${ability_runtime_napi_path}/app/context/context.js"
|
||||||
}
|
}
|
||||||
|
|
||||||
ohos_shared_library("context_napi") {
|
ohos_shared_library("context_napi") {
|
||||||
@ -26,13 +27,13 @@ ohos_shared_library("context_napi") {
|
|||||||
defines = [ "MAC_PLATFORM" ]
|
defines = [ "MAC_PLATFORM" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
sources = [ "//foundation/ability/ability_runtime/frameworks/js/napi/app/context/context_module.cpp" ]
|
sources = [ "${ability_runtime_napi_path}/app/context/context_module.cpp" ]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":gen_obj_src_context_abc",
|
":gen_obj_src_context_abc",
|
||||||
":gen_obj_src_context_js",
|
":gen_obj_src_context_js",
|
||||||
"//foundation/arkui/napi:ace_napi",
|
|
||||||
]
|
]
|
||||||
|
external_deps = [ "napi:ace_napi" ]
|
||||||
|
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
|
|
||||||
ohos_shared_library("wantconstant_napi") {
|
ohos_shared_library("wantconstant_napi") {
|
||||||
if (is_mingw) {
|
if (is_mingw) {
|
||||||
@ -21,16 +22,15 @@ ohos_shared_library("wantconstant_napi") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
"//foundation/ability/ability_runtime/frameworks/js/napi/wantConstant/native_module.cpp",
|
"${ability_runtime_napi_path}/wantConstant/native_module.cpp",
|
||||||
"//foundation/ability/ability_runtime/frameworks/js/napi/wantConstant/want_constant.cpp",
|
"${ability_runtime_napi_path}/wantConstant/want_constant.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
|
"${ability_runtime_path}/frameworks/simulator/osal:simulator_osal",
|
||||||
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_$platform",
|
"//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_$platform",
|
||||||
"//foundation/ability/ability_runtime/frameworks/simulator/osal:simulator_osal",
|
|
||||||
"//foundation/arkui/napi:ace_napi",
|
|
||||||
]
|
]
|
||||||
|
external_deps = [ "napi:ace_napi" ]
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
}
|
}
|
||||||
|
@ -12,11 +12,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
|
|
||||||
config("simulator_osal_public_config") {
|
config("simulator_osal_public_config") {
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"include",
|
"include",
|
||||||
"//foundation/ability/ability_runtime/services/common/include",
|
"${ability_runtime_services_path}/common/include",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,11 +12,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import("//build/ohos.gni")
|
import("//build/ohos.gni")
|
||||||
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
||||||
|
|
||||||
ohos_executable("ability_simulator_test") {
|
ohos_executable("ability_simulator_test") {
|
||||||
sources = [ "src/main.cpp" ]
|
sources = [ "src/main.cpp" ]
|
||||||
|
|
||||||
deps = [ "//foundation/ability/ability_runtime/frameworks/simulator/ability_simulator:ability_simulator" ]
|
deps = [ "${ability_runtime_path}/frameworks/simulator/ability_simulator:ability_simulator" ]
|
||||||
|
|
||||||
part_name = "simulator"
|
part_name = "simulator"
|
||||||
subsystem_name = "ability"
|
subsystem_name = "ability"
|
||||||
|
@ -17,11 +17,11 @@ import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
|||||||
config("ability_manager_public_config") {
|
config("ability_manager_public_config") {
|
||||||
visibility = [ ":*" ]
|
visibility = [ ":*" ]
|
||||||
visibility += [
|
visibility += [
|
||||||
|
"${ability_runtime_test_path}/fuzztest/*",
|
||||||
|
"${ability_runtime_test_path}/moduletest/*",
|
||||||
|
"${ability_runtime_test_path}/unittest/*",
|
||||||
|
"${form_fwk_path}/test/fuzztest/*",
|
||||||
"//base/account/os_account/tools/test/moduletest/acm/*",
|
"//base/account/os_account/tools/test/moduletest/acm/*",
|
||||||
"//foundation/ability/ability_runtime/test/fuzztest/*",
|
|
||||||
"//foundation/ability/ability_runtime/test/moduletest/*",
|
|
||||||
"//foundation/ability/ability_runtime/test/unittest/*",
|
|
||||||
"//foundation/ability/form_fwk/test/fuzztest/*",
|
|
||||||
]
|
]
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"include/",
|
"include/",
|
||||||
|
@ -16,7 +16,8 @@ import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
|||||||
|
|
||||||
config("connection_obs_manager_public_config") {
|
config("connection_obs_manager_public_config") {
|
||||||
visibility = [ ":*" ]
|
visibility = [ ":*" ]
|
||||||
visibility += [ "//foundation/ability/ability_runtime/test/unittest/connection_observer_test/*" ]
|
visibility +=
|
||||||
|
[ "${ability_runtime_test_path}/unittest/connection_observer_test/*" ]
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"include",
|
"include",
|
||||||
"${ability_runtime_services_path}/common/include",
|
"${ability_runtime_services_path}/common/include",
|
||||||
|
@ -77,8 +77,8 @@ ohos_shared_library("runtime") {
|
|||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
"${ability_runtime_native_path}/ability/native:ability_business_error",
|
"${ability_runtime_native_path}/ability/native:ability_business_error",
|
||||||
|
"${arkui_path}/napi:ace_napi_ark",
|
||||||
"${third_party_path}/zlib:shared_libz",
|
"${third_party_path}/zlib:shared_libz",
|
||||||
"//foundation/arkui/napi:ace_napi_ark",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
external_deps = [
|
external_deps = [
|
||||||
|
@ -16,7 +16,7 @@ import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
|||||||
|
|
||||||
config("uripermkit_public_config") {
|
config("uripermkit_public_config") {
|
||||||
visibility = [ ":*" ]
|
visibility = [ ":*" ]
|
||||||
visibility += [ "//foundation/ability/ability_runtime/test/unittest/*" ]
|
visibility += [ "${ability_runtime_test_path}/unittest/*" ]
|
||||||
include_dirs = [ "include" ]
|
include_dirs = [ "include" ]
|
||||||
cflags = []
|
cflags = []
|
||||||
if (target_cpu == "arm") {
|
if (target_cpu == "arm") {
|
||||||
|
@ -21,12 +21,12 @@ group("native_wantagent") {
|
|||||||
config("wantagent_innerkits_public_config") {
|
config("wantagent_innerkits_public_config") {
|
||||||
visibility = [ ":*" ]
|
visibility = [ ":*" ]
|
||||||
visibility += [
|
visibility += [
|
||||||
|
"${ability_runtime_innerkits_path}/wantagent/*",
|
||||||
|
"${ability_runtime_napi_path}/inner/*",
|
||||||
|
"${ability_runtime_native_path}/ability/native/*",
|
||||||
|
"${ability_runtime_test_path}/fuzztest/*",
|
||||||
|
"${device_usage_statistics_path}/*",
|
||||||
"//base/notification/distributed_notification_service/*",
|
"//base/notification/distributed_notification_service/*",
|
||||||
"//foundation/ability/ability_runtime/frameworks/js/napi/inner/*",
|
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native/*",
|
|
||||||
"//foundation/ability/ability_runtime/interfaces/inner_api/wantagent/*",
|
|
||||||
"//foundation/ability/ability_runtime/test/fuzztest/*",
|
|
||||||
"//foundation/resourceschedule/device_usage_statistics/*",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
|
@ -28,8 +28,8 @@ ohos_unittest("source_map_test") {
|
|||||||
]
|
]
|
||||||
|
|
||||||
external_deps = [
|
external_deps = [
|
||||||
"ability_runtime:js_environment",
|
|
||||||
"ability_base:want",
|
"ability_base:want",
|
||||||
|
"ability_runtime:js_environment",
|
||||||
"bundle_framework:appexecfwk_base",
|
"bundle_framework:appexecfwk_base",
|
||||||
"c_utils:utils",
|
"c_utils:utils",
|
||||||
"eventhandler:libeventhandler",
|
"eventhandler:libeventhandler",
|
||||||
|
@ -26,18 +26,18 @@ group("ams_common_target") {
|
|||||||
config("common_config") {
|
config("common_config") {
|
||||||
visibility = [ ":*" ]
|
visibility = [ ":*" ]
|
||||||
visibility += [
|
visibility += [
|
||||||
|
"${ability_runtime_innerkits_path}/*",
|
||||||
|
"${ability_runtime_napi_path}/*",
|
||||||
|
"${ability_runtime_native_path}/ability/native/*",
|
||||||
|
"${ability_runtime_path}/frameworks/simulator/ability_simulator/*",
|
||||||
|
"${ability_runtime_path}/tools/aa/*",
|
||||||
|
"${ability_runtime_services_path}/common/*",
|
||||||
|
"${ability_runtime_services_path}/quickfixmgr/*",
|
||||||
|
"${ability_runtime_services_path}/uripermmgr/*",
|
||||||
|
"${ability_runtime_test_path}/*",
|
||||||
"//base/powermgr/power_manager/utils/*",
|
"//base/powermgr/power_manager/utils/*",
|
||||||
"//base/request/request/common/*",
|
"//base/request/request/common/*",
|
||||||
"//developtools/profiler/hiebpf/*",
|
"//developtools/profiler/hiebpf/*",
|
||||||
"//foundation/ability/ability_runtime/frameworks/js/napi/*",
|
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native/*",
|
|
||||||
"//foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/*",
|
|
||||||
"//foundation/ability/ability_runtime/interfaces/inner_api/*",
|
|
||||||
"//foundation/ability/ability_runtime/services/common/*",
|
|
||||||
"//foundation/ability/ability_runtime/services/quickfixmgr/*",
|
|
||||||
"//foundation/ability/ability_runtime/services/uripermmgr/*",
|
|
||||||
"//foundation/ability/ability_runtime/test/*",
|
|
||||||
"//foundation/ability/ability_runtime/tools/aa/*",
|
|
||||||
]
|
]
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"include",
|
"include",
|
||||||
|
@ -16,7 +16,7 @@ import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
|||||||
|
|
||||||
config("upms_config") {
|
config("upms_config") {
|
||||||
visibility = [ ":*" ]
|
visibility = [ ":*" ]
|
||||||
visibility += [ "//foundation/ability/ability_runtime/test/unittest/*" ]
|
visibility += [ "${ability_runtime_test_path}/unittest/*" ]
|
||||||
include_dirs = [ "include" ]
|
include_dirs = [ "include" ]
|
||||||
cflags = []
|
cflags = []
|
||||||
if (target_cpu == "arm") {
|
if (target_cpu == "arm") {
|
||||||
|
@ -19,8 +19,8 @@ config("arkui_mock_config") {
|
|||||||
"${ace_engine_path}/interfaces/inner_api/ui_service_manager/include",
|
"${ace_engine_path}/interfaces/inner_api/ui_service_manager/include",
|
||||||
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/arkui_mock/include",
|
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/arkui_mock/include",
|
||||||
"${ace_engine_path}/adapter/ohos/services/uiservice/include",
|
"${ace_engine_path}/adapter/ohos/services/uiservice/include",
|
||||||
"//foundation/window/window_manager/interfaces/innerkits",
|
"${windowmanager_path}/interfaces/innerkits",
|
||||||
"//foundation/multimodalinput/input/interfaces/native/innerkits/event/include",
|
"${multimodalinput_path}/interfaces/native/innerkits/event/include",
|
||||||
]
|
]
|
||||||
cflags = []
|
cflags = []
|
||||||
if (target_cpu == "arm") {
|
if (target_cpu == "arm") {
|
||||||
|
@ -32,7 +32,7 @@ ohos_moduletest("specified_ability_service_test") {
|
|||||||
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/sa_mgr/src/sa_mgr_client_mock.cpp",
|
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/sa_mgr/src/sa_mgr_client_mock.cpp",
|
||||||
"${ability_runtime_test_path}/moduletest/mock/src/mock_app_mgr_client.cpp",
|
"${ability_runtime_test_path}/moduletest/mock/src/mock_app_mgr_client.cpp",
|
||||||
"${ability_runtime_test_path}/moduletest/mock/src/mock_bundle_mgr.cpp",
|
"${ability_runtime_test_path}/moduletest/mock/src/mock_bundle_mgr.cpp",
|
||||||
"//foundation/distributedhardware/device_manager/test/unittest/mock/parameter.cpp",
|
"${device_manager_path}/test/unittest/mock/parameter.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
configs = [
|
configs = [
|
||||||
|
@ -29,7 +29,7 @@ ohos_moduletest("on_new_want_module_test") {
|
|||||||
sources = [ "on_new_want_module_test.cpp" ]
|
sources = [ "on_new_want_module_test.cpp" ]
|
||||||
sources += [
|
sources += [
|
||||||
"${ability_runtime_services_path}/abilitymgr/src/ability_manager_service.cpp",
|
"${ability_runtime_services_path}/abilitymgr/src/ability_manager_service.cpp",
|
||||||
"//foundation/distributedhardware/device_manager/test/unittest/mock/parameter.cpp",
|
"${device_manager_path}/test/unittest/mock/parameter.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
configs = [
|
configs = [
|
||||||
|
@ -22,9 +22,9 @@ ohos_unittest("ability_manager_service_anr_test") {
|
|||||||
include_dirs = [
|
include_dirs = [
|
||||||
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/system_ability_mock",
|
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/system_ability_mock",
|
||||||
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/arkui_mock",
|
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/arkui_mock",
|
||||||
"//foundation/arkui/ace_engine/frameworks",
|
"${ace_engine_path}/frameworks",
|
||||||
"//foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/include",
|
"${distributedschedule_path}/samgr/interfaces/innerkits/samgr_proxy/include",
|
||||||
"//foundation/systemabilitymgr/samgr/adapter/interfaces/innerkits/include/",
|
"${distributedschedule_path}/samgr/adapter/interfaces/innerkits/include/",
|
||||||
"${ability_runtime_innerkits_path}/app_manager/include/appmgr",
|
"${ability_runtime_innerkits_path}/app_manager/include/appmgr",
|
||||||
"${ability_runtime_test_path}/mock/frameworks_kits_ability_native_test/include",
|
"${ability_runtime_test_path}/mock/frameworks_kits_ability_native_test/include",
|
||||||
"${common_event_service_path}/frameworks/core/include",
|
"${common_event_service_path}/frameworks/core/include",
|
||||||
|
@ -29,9 +29,9 @@ ohos_unittest("ability_manager_service_test") {
|
|||||||
"${distributedschedule_path}/samgr/adapter/interfaces/innerkits/include/",
|
"${distributedschedule_path}/samgr/adapter/interfaces/innerkits/include/",
|
||||||
"${ability_runtime_innerkits_path}/app_manager/include/appmgr",
|
"${ability_runtime_innerkits_path}/app_manager/include/appmgr",
|
||||||
"${ability_runtime_test_path}/mock/frameworks_kits_ability_native_test/include",
|
"${ability_runtime_test_path}/mock/frameworks_kits_ability_native_test/include",
|
||||||
"//foundation/resourceschedule/background_task_mgr/services/transient_task/include",
|
"${resourceschedule_path}/background_task_mgr/services/transient_task/include",
|
||||||
"//foundation/arkui/ace_engine/frameworks",
|
"${ace_engine_path}/frameworks",
|
||||||
"//foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/include",
|
"${resourceschedule_path}/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/include",
|
||||||
"mock/include",
|
"mock/include",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ ohos_unittest("application_context_test") {
|
|||||||
include_dirs = [ "${ability_runtime_test_path}/mock/frameworks_kits_ability_native_test/include" ]
|
include_dirs = [ "${ability_runtime_test_path}/mock/frameworks_kits_ability_native_test/include" ]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
"//foundation/ability/ability_runtime/test/unittest/application_context_test/mock_context_impl.cpp",
|
"${ability_runtime_test_path}/unittest/application_context_test/mock_context_impl.cpp",
|
||||||
"application_context_test.cpp",
|
"application_context_test.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ ohos_unittest("connect_callback_proxy_test") {
|
|||||||
cflags += [ "-DBINDER_IPC_32BIT" ]
|
cflags += [ "-DBINDER_IPC_32BIT" ]
|
||||||
}
|
}
|
||||||
deps = [
|
deps = [
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native:continuation_ipc",
|
"${ability_runtime_native_path}/ability/native:continuation_ipc",
|
||||||
"//third_party/googletest:gmock_main",
|
"//third_party/googletest:gmock_main",
|
||||||
"//third_party/googletest:gtest_main",
|
"//third_party/googletest:gtest_main",
|
||||||
]
|
]
|
||||||
|
@ -40,7 +40,7 @@ ohos_unittest("connect_callback_stub_test") {
|
|||||||
cflags += [ "-DBINDER_IPC_32BIT" ]
|
cflags += [ "-DBINDER_IPC_32BIT" ]
|
||||||
}
|
}
|
||||||
deps = [
|
deps = [
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native:continuation_ipc",
|
"${ability_runtime_native_path}/ability/native:continuation_ipc",
|
||||||
"//third_party/googletest:gmock_main",
|
"//third_party/googletest:gmock_main",
|
||||||
"//third_party/googletest:gtest_main",
|
"//third_party/googletest:gtest_main",
|
||||||
]
|
]
|
||||||
|
@ -46,7 +46,7 @@ ohos_unittest("continuation_device_callback_proxy_test") {
|
|||||||
cflags += [ "-DBINDER_IPC_32BIT" ]
|
cflags += [ "-DBINDER_IPC_32BIT" ]
|
||||||
}
|
}
|
||||||
deps = [
|
deps = [
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native:continuation_ipc",
|
"${ability_runtime_native_path}/ability/native:continuation_ipc",
|
||||||
"//third_party/googletest:gmock_main",
|
"//third_party/googletest:gmock_main",
|
||||||
"//third_party/googletest:gtest_main",
|
"//third_party/googletest:gtest_main",
|
||||||
]
|
]
|
||||||
|
@ -46,7 +46,7 @@ config("ability_config") {
|
|||||||
"${ability_runtime_path}/interfaces/kits/native/appkit/app/task",
|
"${ability_runtime_path}/interfaces/kits/native/appkit/app/task",
|
||||||
"${ability_runtime_napi_path}/inner/napi_common",
|
"${ability_runtime_napi_path}/inner/napi_common",
|
||||||
"${ability_runtime_napi_path}/featureAbility",
|
"${ability_runtime_napi_path}/featureAbility",
|
||||||
"//foundation/ability/ability_runtime/interfaces/kits/native/ability/native/continuation/kits",
|
"${ability_runtime_path}/interfaces/kits/native/ability/native/continuation/kits",
|
||||||
]
|
]
|
||||||
|
|
||||||
cflags = []
|
cflags = []
|
||||||
@ -83,7 +83,7 @@ ohos_unittest("continuation_register_manager_proxy_test") {
|
|||||||
deps = [
|
deps = [
|
||||||
"${ability_runtime_innerkits_path}/ability_manager:ability_manager",
|
"${ability_runtime_innerkits_path}/ability_manager:ability_manager",
|
||||||
"${ability_runtime_native_path}/ability/native:abilitykit_native",
|
"${ability_runtime_native_path}/ability/native:abilitykit_native",
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native:continuation_ipc",
|
"${ability_runtime_native_path}/ability/native:continuation_ipc",
|
||||||
"//third_party/googletest:gmock_main",
|
"//third_party/googletest:gmock_main",
|
||||||
"//third_party/googletest:gtest_main",
|
"//third_party/googletest:gtest_main",
|
||||||
]
|
]
|
||||||
|
@ -46,7 +46,7 @@ config("ability_config") {
|
|||||||
"${ability_runtime_path}/interfaces/kits/native/appkit/app/task",
|
"${ability_runtime_path}/interfaces/kits/native/appkit/app/task",
|
||||||
"${ability_runtime_napi_path}/inner/napi_common",
|
"${ability_runtime_napi_path}/inner/napi_common",
|
||||||
"${ability_runtime_napi_path}/featureAbility",
|
"${ability_runtime_napi_path}/featureAbility",
|
||||||
"//foundation/ability/ability_runtime/interfaces/kits/native/ability/native/continuation/kits",
|
"${ability_runtime_path}/interfaces/kits/native/ability/native/continuation/kits",
|
||||||
]
|
]
|
||||||
|
|
||||||
cflags = []
|
cflags = []
|
||||||
@ -83,7 +83,7 @@ ohos_unittest("continuation_register_manager_test") {
|
|||||||
deps = [
|
deps = [
|
||||||
"${ability_runtime_innerkits_path}/ability_manager:ability_manager",
|
"${ability_runtime_innerkits_path}/ability_manager:ability_manager",
|
||||||
"${ability_runtime_native_path}/ability/native:abilitykit_native",
|
"${ability_runtime_native_path}/ability/native:abilitykit_native",
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native:continuation_ipc",
|
"${ability_runtime_native_path}/ability/native:continuation_ipc",
|
||||||
"//third_party/googletest:gmock_main",
|
"//third_party/googletest:gmock_main",
|
||||||
"//third_party/googletest:gtest_main",
|
"//third_party/googletest:gtest_main",
|
||||||
]
|
]
|
||||||
|
@ -45,7 +45,7 @@ ohos_unittest("remote_register_service_proxy_test") {
|
|||||||
cflags += [ "-DBINDER_IPC_32BIT" ]
|
cflags += [ "-DBINDER_IPC_32BIT" ]
|
||||||
}
|
}
|
||||||
deps = [
|
deps = [
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native:continuation_ipc",
|
"${ability_runtime_native_path}/ability/native:continuation_ipc",
|
||||||
"//third_party/googletest:gmock_main",
|
"//third_party/googletest:gmock_main",
|
||||||
"//third_party/googletest:gtest_main",
|
"//third_party/googletest:gtest_main",
|
||||||
]
|
]
|
||||||
|
@ -45,7 +45,7 @@ ohos_unittest("remote_register_service_stub_test") {
|
|||||||
cflags += [ "-DBINDER_IPC_32BIT" ]
|
cflags += [ "-DBINDER_IPC_32BIT" ]
|
||||||
}
|
}
|
||||||
deps = [
|
deps = [
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native:continuation_ipc",
|
"${ability_runtime_native_path}/ability/native:continuation_ipc",
|
||||||
"//third_party/googletest:gmock_main",
|
"//third_party/googletest:gmock_main",
|
||||||
"//third_party/googletest:gtest_main",
|
"//third_party/googletest:gtest_main",
|
||||||
]
|
]
|
||||||
|
@ -22,8 +22,7 @@ ohos_unittest("form_extension_context_test") {
|
|||||||
include_dirs = [
|
include_dirs = [
|
||||||
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/system_ability_mock",
|
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/system_ability_mock",
|
||||||
"${distributedschedule_path}/samgr/interfaces/innerkits/samgr_proxy/include",
|
"${distributedschedule_path}/samgr/interfaces/innerkits/samgr_proxy/include",
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native",
|
"${ability_runtime_native_path}/ability/native",
|
||||||
"//foundation/ability/ability_runtime/interfaces/kits/ative/appkit/ability_runtime",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
@ -43,6 +42,7 @@ ohos_unittest("form_extension_context_test") {
|
|||||||
"${ability_runtime_napi_path}/inner/napi_common:napi_common",
|
"${ability_runtime_napi_path}/inner/napi_common:napi_common",
|
||||||
"${ability_runtime_native_path}/ability/native:ability_business_error",
|
"${ability_runtime_native_path}/ability/native:ability_business_error",
|
||||||
"${ability_runtime_native_path}/ability/native:abilitykit_native",
|
"${ability_runtime_native_path}/ability/native:abilitykit_native",
|
||||||
|
"${ability_runtime_native_path}/ability/native:form_extension",
|
||||||
"${ability_runtime_native_path}/appkit:app_context",
|
"${ability_runtime_native_path}/appkit:app_context",
|
||||||
"${ability_runtime_services_path}/abilitymgr:abilityms",
|
"${ability_runtime_services_path}/abilitymgr:abilityms",
|
||||||
"${ability_runtime_services_path}/common:perm_verification",
|
"${ability_runtime_services_path}/common:perm_verification",
|
||||||
@ -50,7 +50,6 @@ ohos_unittest("form_extension_context_test") {
|
|||||||
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_appmgr_mock",
|
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_appmgr_mock",
|
||||||
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
|
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
|
||||||
"${ability_runtime_test_path}/unittest:abilityms_test_source",
|
"${ability_runtime_test_path}/unittest:abilityms_test_source",
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native:form_extension",
|
|
||||||
"//third_party/googletest:gtest_main",
|
"//third_party/googletest:gtest_main",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ config("module_private_config") {
|
|||||||
"${ability_runtime_services_path}/common/include",
|
"${ability_runtime_services_path}/common/include",
|
||||||
"${distributeddatamgr_path}/distributeddatamgr/interfaces/innerkits/app_distributeddata/include",
|
"${distributeddatamgr_path}/distributeddatamgr/interfaces/innerkits/app_distributeddata/include",
|
||||||
"${distributedschedule_path}/samgr/interfaces/innerkits/samgr_proxy/include",
|
"${distributedschedule_path}/samgr/interfaces/innerkits/samgr_proxy/include",
|
||||||
"//foundation/ability/ability_base/interfaces/kits/native/extractortool/include",
|
"${ability_base_kits_path}/extractortool/include",
|
||||||
"${ability_runtime_test_path}/mock/services_appmgr_test/include",
|
"${ability_runtime_test_path}/mock/services_appmgr_test/include",
|
||||||
"${ability_runtime_path}/interfaces/kits/native/ability/ability_runtime",
|
"${ability_runtime_path}/interfaces/kits/native/ability/ability_runtime",
|
||||||
]
|
]
|
||||||
@ -425,15 +425,15 @@ ohos_unittest("data_ability_helper_impl_test") {
|
|||||||
"${ability_runtime_services_path}/abilitymgr/include",
|
"${ability_runtime_services_path}/abilitymgr/include",
|
||||||
"${ability_runtime_path}/interfaces/kits/native/ability/native",
|
"${ability_runtime_path}/interfaces/kits/native/ability/native",
|
||||||
"${ability_runtime_path}/interfaces/kits/native/appkit/ability_runtime/context",
|
"${ability_runtime_path}/interfaces/kits/native/appkit/ability_runtime/context",
|
||||||
"//foundation/ability/ability_runtime/interfaces/kits/native/ability/native",
|
"${ability_runtime_path}/interfaces/kits/native/ability/native",
|
||||||
"${ability_runtime_innerkits_path}/dataobs_manager/include",
|
"${ability_runtime_innerkits_path}/dataobs_manager/include",
|
||||||
"//foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include",
|
"${ability_runtime_test_path}/mock/frameworks_kits_ability_native_test/include",
|
||||||
"//foundation/ability/ability_runtime/interfaces/inner_api/dataobs_manager/include",
|
"${ability_runtime_innerkits_path}/dataobs_manager/include",
|
||||||
"//foundation/ability/ability_runtime/services/dataobsmgr/include",
|
"${ability_runtime_services_path}/dataobsmgr/include",
|
||||||
]
|
]
|
||||||
sources = [
|
sources = [
|
||||||
"${ability_runtime_path}/test/mock/frameworks_kits_ability_native_test/include/mock_ability_manager_service.cpp",
|
"${ability_runtime_path}/test/mock/frameworks_kits_ability_native_test/include/mock_ability_manager_service.cpp",
|
||||||
"//foundation/ability/ability_runtime/services/dataobsmgr/src/data_ability_observer_stub.cpp",
|
"${ability_runtime_services_path}/dataobsmgr/src/data_ability_observer_stub.cpp",
|
||||||
"data_ability_helper_impl_test.cpp",
|
"data_ability_helper_impl_test.cpp",
|
||||||
"mock_ability_runtime_context.cpp",
|
"mock_ability_runtime_context.cpp",
|
||||||
]
|
]
|
||||||
@ -601,9 +601,9 @@ ohos_unittest("ability_thread_test") {
|
|||||||
module_out_path = module_output_path
|
module_out_path = module_output_path
|
||||||
|
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"//foundation/ability/ability_runtime/test/unittest/dataobs_mgr_stub_test",
|
"${ability_runtime_test_path}/unittest/dataobs_mgr_stub_test",
|
||||||
"//foundation/ability/ability_runtime/services/dataobsmgr/include/",
|
"${ability_runtime_services_path}/dataobsmgr/include/",
|
||||||
"//foundation/ability/ability_runtime/interfaces/inner_api/dataobs_manager/include/",
|
"${ability_runtime_innerkits_path}/dataobs_manager/include/",
|
||||||
]
|
]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
@ -674,11 +674,11 @@ ohos_unittest("service_extension_module_loader_test") {
|
|||||||
deps = [
|
deps = [
|
||||||
"${ability_runtime_innerkits_path}/ability_manager:ability_manager",
|
"${ability_runtime_innerkits_path}/ability_manager:ability_manager",
|
||||||
"${ability_runtime_native_path}/ability/native:abilitykit_native",
|
"${ability_runtime_native_path}/ability/native:abilitykit_native",
|
||||||
|
"${ability_runtime_native_path}/ability/native:service_extension",
|
||||||
"${ability_runtime_native_path}/appkit:app_context",
|
"${ability_runtime_native_path}/appkit:app_context",
|
||||||
"${ability_runtime_native_path}/appkit:appkit_native",
|
"${ability_runtime_native_path}/appkit:appkit_native",
|
||||||
"${distributedschedule_path}/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
|
"${distributedschedule_path}/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
|
||||||
"${global_path}/resource_management/frameworks/resmgr:global_resmgr",
|
"${global_path}/resource_management/frameworks/resmgr:global_resmgr",
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native:service_extension",
|
|
||||||
"//third_party/googletest:gmock_main",
|
"//third_party/googletest:gmock_main",
|
||||||
"//third_party/googletest:gtest_main",
|
"//third_party/googletest:gtest_main",
|
||||||
]
|
]
|
||||||
@ -954,20 +954,20 @@ ohos_unittest("data_ability_impl_test") {
|
|||||||
"${ability_runtime_services_path}/abilitymgr/include",
|
"${ability_runtime_services_path}/abilitymgr/include",
|
||||||
"${ability_runtime_path}/interfaces/kits/native/ability/native",
|
"${ability_runtime_path}/interfaces/kits/native/ability/native",
|
||||||
"${ability_base_kits_path}/extractortool/include",
|
"${ability_base_kits_path}/extractortool/include",
|
||||||
"//foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/include",
|
"${distributeddatamgr_path}/relational_store/frameworks/js/napi/rdb/include",
|
||||||
"//foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/include",
|
"${distributeddatamgr_path}/relational_store/frameworks/js/napi/common/include",
|
||||||
"//foundation/distributeddatamgr/relational_store/frameworks/js/napi/dataability/include",
|
"${distributeddatamgr_path}/relational_store/frameworks/js/napi/dataability/include",
|
||||||
]
|
]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
"${ability_runtime_innerkits_path}/app_manager/src/appmgr/process_info.cpp",
|
"${ability_runtime_innerkits_path}/app_manager/src/appmgr/process_info.cpp",
|
||||||
|
"${ability_runtime_native_path}/ability/native/data_ability_impl.cpp",
|
||||||
"${ability_runtime_native_path}/appkit/app/app_context.cpp",
|
"${ability_runtime_native_path}/appkit/app/app_context.cpp",
|
||||||
"${ability_runtime_native_path}/appkit/app/app_loader.cpp",
|
"${ability_runtime_native_path}/appkit/app/app_loader.cpp",
|
||||||
"${ability_runtime_native_path}/appkit/app/context_container.cpp",
|
"${ability_runtime_native_path}/appkit/app/context_container.cpp",
|
||||||
"${ability_runtime_native_path}/appkit/app/context_deal.cpp",
|
"${ability_runtime_native_path}/appkit/app/context_deal.cpp",
|
||||||
"${ability_runtime_native_path}/appkit/app/ohos_application.cpp",
|
"${ability_runtime_native_path}/appkit/app/ohos_application.cpp",
|
||||||
"${ability_runtime_test_path}/mock/frameworks_kits_ability_native_test/include/mock_replace_ability_impl.cpp",
|
"${ability_runtime_test_path}/mock/frameworks_kits_ability_native_test/include/mock_replace_ability_impl.cpp",
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native/data_ability_impl.cpp",
|
|
||||||
"data_ability_impl_test.cpp",
|
"data_ability_impl_test.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -1692,7 +1692,7 @@ ohos_unittest("distributed_client_test") {
|
|||||||
|
|
||||||
ohos_unittest("ability_window_test") {
|
ohos_unittest("ability_window_test") {
|
||||||
module_out_path = module_output_path
|
module_out_path = module_output_path
|
||||||
include_dirs = [ "//foundation/window/window_manager/wm/include" ]
|
include_dirs = [ "${windowmanager_path}/wm/include" ]
|
||||||
sources = [
|
sources = [
|
||||||
"${ability_runtime_native_path}/appkit/app/ability_record_mgr.cpp",
|
"${ability_runtime_native_path}/appkit/app/ability_record_mgr.cpp",
|
||||||
"${ability_runtime_native_path}/appkit/app/app_context.cpp",
|
"${ability_runtime_native_path}/appkit/app/app_context.cpp",
|
||||||
|
@ -19,11 +19,11 @@ ohos_unittest("quick_fix_info_test") {
|
|||||||
module_out_path = "ability_runtime/quick_fix"
|
module_out_path = "ability_runtime/quick_fix"
|
||||||
|
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"//foundation/ability/ability_runtime/interfaces/inner_api/quick_fix/include",
|
"${ability_runtime_innerkits_path}/quick_fix/include",
|
||||||
"mock",
|
"mock",
|
||||||
]
|
]
|
||||||
sources = [
|
sources = [
|
||||||
"//foundation/ability/ability_runtime/interfaces/inner_api/quick_fix/src/quick_fix_info.cpp",
|
"${ability_runtime_innerkits_path}/quick_fix/src/quick_fix_info.cpp",
|
||||||
"mock/parcel.cpp",
|
"mock/parcel.cpp",
|
||||||
"quick_fix_info_test.cpp",
|
"quick_fix_info_test.cpp",
|
||||||
]
|
]
|
||||||
|
@ -19,11 +19,11 @@ ohos_unittest("quick_fix_manager_service_ability_test") {
|
|||||||
module_out_path = "ability_runtime/quick_fix"
|
module_out_path = "ability_runtime/quick_fix"
|
||||||
|
|
||||||
include_dirs = [
|
include_dirs = [
|
||||||
"//foundation/ability/ability_runtime/services/quickfixmgr/include",
|
"${ability_runtime_services_path}/quickfixmgr/include",
|
||||||
"mock",
|
"mock",
|
||||||
]
|
]
|
||||||
sources = [
|
sources = [
|
||||||
"//foundation/ability/ability_runtime/services/quickfixmgr/src/quick_fix_manager_service_ability.cpp",
|
"${ability_runtime_services_path}/quickfixmgr/src/quick_fix_manager_service_ability.cpp",
|
||||||
"mock/mock_quick_fix_manager_service.cpp",
|
"mock/mock_quick_fix_manager_service.cpp",
|
||||||
"quick_fix_manager_service_ability_test.cpp",
|
"quick_fix_manager_service_ability_test.cpp",
|
||||||
]
|
]
|
||||||
|
@ -46,7 +46,7 @@ ohos_unittest("runtime_test") {
|
|||||||
include_dirs = [
|
include_dirs = [
|
||||||
"${ability_runtime_native_path}/runtime",
|
"${ability_runtime_native_path}/runtime",
|
||||||
"${ability_runtime_native_path}/runtime/utils/include",
|
"${ability_runtime_native_path}/runtime/utils/include",
|
||||||
"//foundation/ability/ability_base/interfaces/kits/native/extractortool/include",
|
"${ability_base_kits_path}/extractortool/include",
|
||||||
"//third_party/zlib/contrib/minizip",
|
"//third_party/zlib/contrib/minizip",
|
||||||
"//third_party/zlib",
|
"//third_party/zlib",
|
||||||
]
|
]
|
||||||
@ -110,7 +110,7 @@ ohos_unittest("hdc_register_test") {
|
|||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
# add mock file
|
# add mock file
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/runtime/hdc_register.cpp",
|
"${ability_runtime_native_path}/runtime/hdc_register.cpp",
|
||||||
"hdc_register_test.cpp",
|
"hdc_register_test.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -22,8 +22,8 @@ ohos_unittest("service_extension_context_test") {
|
|||||||
include_dirs = [
|
include_dirs = [
|
||||||
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/system_ability_mock",
|
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/system_ability_mock",
|
||||||
"${distributedschedule_path}/samgr/interfaces/innerkits/samgr_proxy/include",
|
"${distributedschedule_path}/samgr/interfaces/innerkits/samgr_proxy/include",
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native",
|
"${ability_runtime_native_path}/ability/native",
|
||||||
"//foundation/ability/ability_runtime/interfaces/kits/ative/appkit/ability_runtime",
|
"${ability_runtime_path}/interfaces/kits/ative/appkit/ability_runtime",
|
||||||
]
|
]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
@ -43,13 +43,13 @@ ohos_unittest("service_extension_context_test") {
|
|||||||
"${ability_runtime_napi_path}/inner/napi_common:napi_common",
|
"${ability_runtime_napi_path}/inner/napi_common:napi_common",
|
||||||
"${ability_runtime_native_path}/ability/native:ability_business_error",
|
"${ability_runtime_native_path}/ability/native:ability_business_error",
|
||||||
"${ability_runtime_native_path}/ability/native:abilitykit_native",
|
"${ability_runtime_native_path}/ability/native:abilitykit_native",
|
||||||
|
"${ability_runtime_native_path}/ability/native:service_extension",
|
||||||
"${ability_runtime_native_path}/appkit:app_context",
|
"${ability_runtime_native_path}/appkit:app_context",
|
||||||
"${ability_runtime_services_path}/abilitymgr:abilityms",
|
"${ability_runtime_services_path}/abilitymgr:abilityms",
|
||||||
"${ability_runtime_services_path}/common:perm_verification",
|
"${ability_runtime_services_path}/common:perm_verification",
|
||||||
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/aakit:aakit_mock",
|
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/aakit:aakit_mock",
|
||||||
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_appmgr_mock",
|
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_appmgr_mock",
|
||||||
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
|
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
|
||||||
"//foundation/ability/ability_runtime/frameworks/native/ability/native:service_extension",
|
|
||||||
"//third_party/googletest:gmock_main",
|
"//third_party/googletest:gmock_main",
|
||||||
"//third_party/googletest:gtest_main",
|
"//third_party/googletest:gtest_main",
|
||||||
]
|
]
|
||||||
|
@ -277,7 +277,7 @@ if (accessibility_enable) {
|
|||||||
include_dirs = [ "//third_party/jsoncpp/include" ]
|
include_dirs = [ "//third_party/jsoncpp/include" ]
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
"//foundation/ability/ability_runtime/tools/aa/src/accessibility_ability_utils.cpp",
|
"${ability_runtime_path}/tools/aa/src/accessibility_ability_utils.cpp",
|
||||||
"accessibility_ability_utils_test.cpp",
|
"accessibility_ability_utils_test.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user