mirror of
https://gitee.com/openharmony/window_window_manager
synced 2025-02-19 23:40:59 +00:00
自动化构建覆盖率插桩版本: --gn-args window_manager_feature_coverage=true
Signed-off-by: realice <hanbing12@huawei.com> Change-Id: I116ddab7798b036a05dff3c698491a6aaa172ec9
This commit is contained in:
parent
e18f4a447e
commit
94aef0ab93
@ -13,7 +13,7 @@
|
||||
"name": "window_manager",
|
||||
"subsystem": "window",
|
||||
"syscap": [],
|
||||
"features": [],
|
||||
"features": [ "window_manager_feature_coverage = false" ],
|
||||
"adapted_system_type": [ "standard" ],
|
||||
"rom": "8000KB",
|
||||
"ram": "8000KB",
|
||||
|
@ -40,7 +40,10 @@ ohos_shared_library("libdm") {
|
||||
"src/zidl/display_manager_agent_stub.cpp",
|
||||
]
|
||||
|
||||
configs = [ ":libdm_private_config" ]
|
||||
configs = [
|
||||
":libdm_private_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
public_configs = [ ":libdm_public_config" ]
|
||||
|
||||
|
@ -84,7 +84,10 @@ ohos_static_library("dm_unittest_common") {
|
||||
visibility = [ ":*" ]
|
||||
testonly = true
|
||||
|
||||
public_configs = [ ":dm_unittest_common_public_config" ]
|
||||
public_configs = [
|
||||
":dm_unittest_common_public_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
sources = [ "screen_manager_utils.cpp" ]
|
||||
|
||||
|
@ -43,7 +43,10 @@ ohos_shared_library("libdms") {
|
||||
"src/screen_rotation_controller.cpp",
|
||||
]
|
||||
|
||||
configs = [ ":libdms_private_config" ]
|
||||
configs = [
|
||||
":libdms_private_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
public_configs = [ ":libdms_public_config" ]
|
||||
|
||||
|
@ -48,7 +48,10 @@ ohos_static_library("dmserver_unittest_common") {
|
||||
visibility = [ ":*" ]
|
||||
testonly = true
|
||||
|
||||
public_configs = [ ":dmserver_unittest_common_public_config" ]
|
||||
public_configs = [
|
||||
":dmserver_unittest_common_public_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
sources = [ "screen_manager_utils.cpp" ]
|
||||
|
||||
|
@ -36,9 +36,12 @@ ohos_shared_library("libwindow_extension_client") {
|
||||
"src/zidl/window_extension_client_stub.cpp",
|
||||
]
|
||||
|
||||
public_configs = [ ":libextension_connection_public_config" ]
|
||||
configs = [
|
||||
":libwindow_extension_client_private_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
configs = [ ":libwindow_extension_client_private_config" ]
|
||||
public_configs = [ ":libextension_connection_public_config" ]
|
||||
|
||||
deps = [
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
|
||||
|
@ -39,7 +39,10 @@ ohos_shared_library("libwindow_extension") {
|
||||
"src/zidl/window_extension_stub.cpp",
|
||||
]
|
||||
|
||||
configs = [ ":libwindow_extension_private_config" ]
|
||||
configs = [
|
||||
":libwindow_extension_private_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"${ability_runtime_napi_path}/inner/napi_common:napi_common",
|
||||
@ -79,7 +82,10 @@ config("window_extension_module_private_config") {
|
||||
ohos_shared_library("window_extension_module") {
|
||||
sources = [ "src/window_extension_module_loader.cpp" ]
|
||||
|
||||
configs = [ ":window_extension_module_private_config" ]
|
||||
configs = [
|
||||
":window_extension_module_private_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//foundation/window/window_manager/extension/window_extension:libwindow_extension",
|
||||
|
@ -34,7 +34,10 @@ config("wm_napi_common_public_config") {
|
||||
ohos_static_library("wm_napi_common") {
|
||||
sources = [ "wm_napi_common.cpp" ]
|
||||
|
||||
configs = [ ":wm_napi_common_config" ]
|
||||
configs = [
|
||||
":wm_napi_common_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
public_configs = [ ":wm_napi_common_public_config" ]
|
||||
|
||||
|
@ -32,7 +32,10 @@ ohos_shared_library("display_napi") {
|
||||
"js_display_module.cpp",
|
||||
]
|
||||
|
||||
configs = [ ":display_config" ]
|
||||
configs = [
|
||||
":display_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"${ability_runtime_path}/frameworks/native/ability/native:abilitykit_native",
|
||||
|
@ -35,7 +35,11 @@ ohos_shared_library("screenrecorder_napi") {
|
||||
"napi/screen_recorder_module.cpp",
|
||||
]
|
||||
|
||||
configs = [ ":screen_runtime_config" ]
|
||||
configs = [
|
||||
":screen_runtime_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"${ability_runtime_path}/frameworks/native/ability/native:abilitykit_native",
|
||||
"${ability_runtime_path}/frameworks/native/appkit:app_context",
|
||||
|
@ -35,7 +35,11 @@ ohos_shared_library("screen_napi") {
|
||||
"napi/screen_manager_module.cpp",
|
||||
]
|
||||
|
||||
configs = [ ":screen_runtime_config" ]
|
||||
configs = [
|
||||
":screen_runtime_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"${ability_runtime_path}/frameworks/native/ability/native:abilitykit_native",
|
||||
"${ability_runtime_path}/frameworks/native/appkit:app_context",
|
||||
|
@ -17,6 +17,10 @@ import("//build/ohos.gni")
|
||||
ohos_shared_library("screenshot") {
|
||||
sources = [ "native_screenshot_module.cpp" ]
|
||||
|
||||
configs = [
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"../common:wm_napi_common",
|
||||
"//foundation/window/window_manager/dm:libdm",
|
||||
|
@ -37,6 +37,10 @@ gen_js_obj("window_extension_ability_abc") {
|
||||
ohos_shared_library("windowextensionability_napi") {
|
||||
sources = [ "window_extension_ability_module.cpp" ]
|
||||
|
||||
configs = [
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":window_extension_ability_abc",
|
||||
":window_extension_ability_js",
|
||||
|
@ -9,7 +9,7 @@
|
||||
# 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.
|
||||
# limitations under the License.
|
||||
|
||||
import("//arkcompiler/ets_frontend/ts2panda/ts2abc_config.gni")
|
||||
import("//build/ohos.gni")
|
||||
@ -37,6 +37,10 @@ gen_js_obj("window_extension_context_abc") {
|
||||
ohos_shared_library("windowextensioncontext_napi") {
|
||||
sources = [ "window_extension_context_module.cpp" ]
|
||||
|
||||
configs = [
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":window_extension_context_abc",
|
||||
":window_extension_context_js",
|
||||
|
@ -49,7 +49,11 @@ ohos_shared_library("window_native_kit") {
|
||||
"window_napi/js_window_utils.cpp",
|
||||
]
|
||||
|
||||
configs = [ ":window_native_kit_config" ]
|
||||
configs = [
|
||||
":window_native_kit_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
|
||||
"//foundation/window/window_manager/utils:libwmutil",
|
||||
@ -77,7 +81,12 @@ ohos_shared_library("window_napi") {
|
||||
"window_manager_napi/js_window_manager.cpp",
|
||||
"window_manager_napi/window_manager_module.cpp",
|
||||
]
|
||||
configs = [ ":window_manager_napi_config" ]
|
||||
|
||||
configs = [
|
||||
":window_manager_napi_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":window_native_kit",
|
||||
"${ability_runtime_path}/frameworks/native/ability/native:abilitykit_native",
|
||||
@ -106,7 +115,11 @@ ohos_shared_library("window_napi") {
|
||||
ohos_shared_library("windowstage_kit") {
|
||||
sources = [ "window_stage_napi/js_window_stage.cpp" ]
|
||||
|
||||
configs = [ ":window_native_kit_config" ]
|
||||
configs = [
|
||||
":window_native_kit_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
include_dirs = [ "//foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_stage_napi" ]
|
||||
deps = [
|
||||
":window_native_kit",
|
||||
|
@ -37,6 +37,10 @@ gen_js_obj("window_stage_abc") {
|
||||
ohos_shared_library("windowstage") {
|
||||
sources = [ "window_stage_module.cpp" ]
|
||||
|
||||
configs = [
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":window_stage_abc",
|
||||
":window_stage_js",
|
||||
|
23
resources/config/build/BUILD.gn
Normal file
23
resources/config/build/BUILD.gn
Normal file
@ -0,0 +1,23 @@
|
||||
# Copyright (c) 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.
|
||||
|
||||
declare_args() {
|
||||
window_manager_feature_coverage = false
|
||||
}
|
||||
|
||||
config("coverage_flags") {
|
||||
if (window_manager_feature_coverage) {
|
||||
cflags = [ "--coverage" ]
|
||||
ldflags = [ "--coverage" ]
|
||||
}
|
||||
}
|
@ -23,7 +23,10 @@ ohos_executable("snapshot_display") {
|
||||
install_enable = true
|
||||
sources = [ "src/snapshot_display.cpp" ]
|
||||
|
||||
configs = [ ":snapshot_config" ]
|
||||
configs = [
|
||||
":snapshot_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":libsnapshot_util",
|
||||
@ -43,7 +46,10 @@ ohos_executable("snapshot_virtual_screen") {
|
||||
install_enable = false
|
||||
sources = [ "src/snapshot_virtual_screen.cpp" ]
|
||||
|
||||
configs = [ ":snapshot_config" ]
|
||||
configs = [
|
||||
":snapshot_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":libsnapshot_util",
|
||||
@ -57,7 +63,10 @@ ohos_executable("snapshot_virtual_screen") {
|
||||
ohos_shared_library("libsnapshot_util") {
|
||||
sources = [ "src/snapshot_utils.cpp" ]
|
||||
|
||||
configs = [ ":snapshot_config" ]
|
||||
configs = [
|
||||
":snapshot_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//foundation/window/window_manager/dm:libdm",
|
||||
|
@ -57,7 +57,10 @@ ohos_static_library("utils_unittest_common") {
|
||||
visibility = [ ":*" ]
|
||||
testonly = true
|
||||
|
||||
public_configs = [ ":utils_unittest_common_public_config" ]
|
||||
public_configs = [
|
||||
":utils_unittest_common_public_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
|
||||
|
@ -23,6 +23,10 @@ ohos_static_library("libtestutil") {
|
||||
|
||||
configs = [ ":libtestutil_private_config" ]
|
||||
|
||||
public_configs = [
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
external_deps = [
|
||||
"access_token:libaccesstoken_sdk",
|
||||
"access_token:libtoken_setproc",
|
||||
|
@ -11,6 +11,15 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
config("configs_cc_ld") {
|
||||
cflags = [
|
||||
"-g",
|
||||
"-O0",
|
||||
"-Wno-unused-variable",
|
||||
"-fno-omit-frame-pointer",
|
||||
]
|
||||
}
|
||||
|
||||
group("fuzztest") {
|
||||
testonly = true
|
||||
deps = [
|
||||
|
@ -25,12 +25,12 @@ ohos_fuzztest("DisplayManagerFuzzTest") {
|
||||
"//utils/native/base/include",
|
||||
"//foundation/graphic/graphic_2d/interfaces/innerkits/surface",
|
||||
]
|
||||
cflags = [
|
||||
"-g",
|
||||
"-O0",
|
||||
"-Wno-unused-variable",
|
||||
"-fno-omit-frame-pointer",
|
||||
|
||||
configs = [
|
||||
"//foundation/window/window_manager/test/fuzztest:configs_cc_ld",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
sources = [ "displaymanager_fuzzer.cpp" ]
|
||||
deps = [
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
|
||||
|
@ -25,12 +25,12 @@ ohos_fuzztest("DisplayManagerIPCFuzzTest") {
|
||||
"//foundation/window/window_manager/dmserver/include",
|
||||
"//foundation/window/window_manager/dm/include",
|
||||
]
|
||||
cflags = [
|
||||
"-g",
|
||||
"-O0",
|
||||
"-Wno-unused-variable",
|
||||
"-fno-omit-frame-pointer",
|
||||
|
||||
configs = [
|
||||
"//foundation/window/window_manager/test/fuzztest:configs_cc_ld",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
sources = [ "displaymanageripc_fuzzer.cpp" ]
|
||||
deps = [
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
|
||||
|
@ -26,12 +26,12 @@ ohos_fuzztest("ScreenFuzzTest") {
|
||||
"//utils/native/base/include",
|
||||
"//foundation/graphic/graphic_2d/interfaces/innerkits/surface",
|
||||
]
|
||||
cflags = [
|
||||
"-g",
|
||||
"-O0",
|
||||
"-Wno-unused-variable",
|
||||
"-fno-omit-frame-pointer",
|
||||
|
||||
configs = [
|
||||
"//foundation/window/window_manager/test/fuzztest:configs_cc_ld",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
sources = [ "screen_fuzzer.cpp" ]
|
||||
deps = [
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
|
||||
|
@ -25,12 +25,12 @@ ohos_fuzztest("ScreenManagerFuzzTest") {
|
||||
"//utils/native/base/include",
|
||||
"//foundation/graphic/graphic_2d/interfaces/innerkits/surface",
|
||||
]
|
||||
cflags = [
|
||||
"-g",
|
||||
"-O0",
|
||||
"-Wno-unused-variable",
|
||||
"-fno-omit-frame-pointer",
|
||||
|
||||
configs = [
|
||||
"//foundation/window/window_manager/test/fuzztest:configs_cc_ld",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
sources = [ "screenmanager_fuzzer.cpp" ]
|
||||
deps = [
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
|
||||
|
@ -26,12 +26,12 @@ ohos_fuzztest("WindowFuzzTest") {
|
||||
"//foundation/window/window_manager/interfaces/innerkits/wm",
|
||||
"//utils/native/base/include",
|
||||
]
|
||||
cflags = [
|
||||
"-g",
|
||||
"-O0",
|
||||
"-Wno-unused-variable",
|
||||
"-fno-omit-frame-pointer",
|
||||
|
||||
configs = [
|
||||
"//foundation/window/window_manager/test/fuzztest:configs_cc_ld",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
sources = [ "window_fuzzer.cpp" ]
|
||||
deps = [
|
||||
"//foundation/window/window_manager/wm:libwm",
|
||||
|
@ -27,12 +27,12 @@ ohos_fuzztest("WindowIPCFuzzTest") {
|
||||
"//foundation/window/window_manager/wmserver/include",
|
||||
"//foundation/window/window_manager/wm/include",
|
||||
]
|
||||
cflags = [
|
||||
"-g",
|
||||
"-O0",
|
||||
"-Wno-unused-variable",
|
||||
"-fno-omit-frame-pointer",
|
||||
|
||||
configs = [
|
||||
"//foundation/window/window_manager/test/fuzztest:configs_cc_ld",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
sources = [ "windowipc_fuzzer.cpp" ]
|
||||
deps = [
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/animation/window_animation:window_animation",
|
||||
|
@ -25,12 +25,12 @@ ohos_fuzztest("WindowManagerFuzzTest") {
|
||||
"//foundation/window/window_manager/interfaces/innerkits/wm",
|
||||
"//utils/native/base/include",
|
||||
]
|
||||
cflags = [
|
||||
"-g",
|
||||
"-O0",
|
||||
"-Wno-unused-variable",
|
||||
"-fno-omit-frame-pointer",
|
||||
|
||||
configs = [
|
||||
"//foundation/window/window_manager/test/fuzztest:configs_cc_ld",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
sources = [ "windowmanager_fuzzer.cpp" ]
|
||||
deps = [
|
||||
"//foundation/window/window_manager/wm:libwm",
|
||||
|
@ -28,12 +28,12 @@ ohos_fuzztest("WindowSceneFuzzTest") {
|
||||
"//foundation/graphic/graphic_2d/interfaces/innerkits/surface",
|
||||
"//utils/native/base/include",
|
||||
]
|
||||
cflags = [
|
||||
"-g",
|
||||
"-O0",
|
||||
"-Wno-unused-variable",
|
||||
"-fno-omit-frame-pointer",
|
||||
|
||||
configs = [
|
||||
"//foundation/window/window_manager/test/fuzztest:configs_cc_ld",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
sources = [ "windowscene_fuzzer.cpp" ]
|
||||
deps = [
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
|
||||
|
@ -97,7 +97,10 @@ ohos_static_library("dms_systemtest_common") {
|
||||
|
||||
sources = [ "display_test_utils.cpp" ]
|
||||
|
||||
public_configs = [ ":dms_systemtest_common_public_config" ]
|
||||
public_configs = [
|
||||
":dms_systemtest_common_public_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
|
||||
|
@ -42,7 +42,11 @@ ohos_systemtest("window_extension_connection_test") {
|
||||
module_out_path = module_out_path
|
||||
|
||||
sources = [ "extension_connection_test.cpp" ]
|
||||
public_configs = [ ":we_systemtest_common_public_config" ]
|
||||
|
||||
public_configs = [
|
||||
":we_systemtest_common_public_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
"//foundation/window/window_manager/extension/extension_connection:libwindow_extension_client",
|
||||
|
@ -246,7 +246,10 @@ ohos_static_library("wms_systemtest_common") {
|
||||
|
||||
sources = [ "window_test_utils.cpp" ]
|
||||
|
||||
public_configs = [ ":wms_systemtest_common_public_config" ]
|
||||
public_configs = [
|
||||
":wms_systemtest_common_public_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
"//base/powermgr/power_manager/interfaces/innerkits:powermgr_client",
|
||||
|
@ -42,7 +42,10 @@ ohos_shared_library("libwmutil") {
|
||||
"src/wm_math.cpp",
|
||||
]
|
||||
|
||||
configs = [ ":libwmutil_private_config" ]
|
||||
configs = [
|
||||
":libwmutil_private_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
public_configs = [ ":libwmutil_public_config" ]
|
||||
|
||||
|
@ -89,7 +89,10 @@ ohos_static_library("utils_unittest_common") {
|
||||
visibility = [ ":*" ]
|
||||
testonly = true
|
||||
|
||||
public_configs = [ ":utils_unittest_common_public_config" ]
|
||||
public_configs = [
|
||||
":utils_unittest_common_public_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
"//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics",
|
||||
|
@ -55,7 +55,10 @@ ohos_shared_library("libwm") {
|
||||
"src/zidl/window_stub.cpp",
|
||||
]
|
||||
|
||||
configs = [ ":libwm_private_config" ]
|
||||
configs = [
|
||||
":libwm_private_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
public_configs = [ ":libwm_public_config" ]
|
||||
|
||||
|
@ -130,7 +130,10 @@ ohos_static_library("wm_unittest_common") {
|
||||
visibility = [ ":*" ]
|
||||
testonly = true
|
||||
|
||||
public_configs = [ ":wm_unittest_common_public_config" ]
|
||||
public_configs = [
|
||||
":wm_unittest_common_public_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
"//base/powermgr/power_manager/interfaces/innerkits:powermgr_client",
|
||||
|
@ -64,7 +64,10 @@ ohos_shared_library("libwms") {
|
||||
"src/zidl/window_manager_stub.cpp",
|
||||
]
|
||||
|
||||
configs = [ ":libwms_config" ]
|
||||
configs = [
|
||||
":libwms_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//foundation/arkui/ace_engine/interfaces/inner_api/ui_service_manager:ui_service_mgr",
|
||||
|
@ -65,7 +65,10 @@ ohos_static_library("wmserver_unittest_common") {
|
||||
visibility = [ ":*" ]
|
||||
testonly = true
|
||||
|
||||
public_configs = [ ":wmserver_unittest_common_public_config" ]
|
||||
public_configs = [
|
||||
":wmserver_unittest_common_public_config",
|
||||
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
"//base/powermgr/power_manager/interfaces/innerkits:powermgr_client",
|
||||
|
Loading…
x
Reference in New Issue
Block a user