mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-06-30 21:47:58 -04:00
ea6e5a9811
Signed-off-by: huangxiaolinabc123 <huangxiaolin12@huawei.com> Change-Id: I9419cc44ce778f46c364abca424f8fb1c308a629
53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
# 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.
|
|
|
|
import("//build/config/features.gni")
|
|
import("//build/test.gni")
|
|
|
|
module_output_path = "window_manager/dms"
|
|
|
|
##############################fuzztest##########################################
|
|
ohos_fuzztest("DisplayManagerIPCFuzzTest") {
|
|
fuzz_config_file = "//foundation/window/window_manager/test/fuzztest/dms/displaymanageripc_fuzzer"
|
|
module_out_path = module_output_path
|
|
include_dirs = [
|
|
"//foundation/window/window_manager/interfaces/innerkits/dm",
|
|
"//foundation/window/window_manager/dmserver/include",
|
|
"//foundation/window/window_manager/dm/include",
|
|
]
|
|
|
|
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",
|
|
"//foundation/window/window_manager/dm:libdm",
|
|
]
|
|
external_deps = [ "samgr:samgr_proxy" ]
|
|
}
|
|
|
|
###############################################################################
|
|
group("fuzztest") {
|
|
testonly = true
|
|
deps = []
|
|
|
|
deps += [
|
|
# deps file
|
|
":DisplayManagerIPCFuzzTest",
|
|
]
|
|
}
|
|
###############################################################################
|