1e0dac50fSopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd. 2e0dac50fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3e0dac50fSopenharmony_ci# you may not use this file except in compliance with the License. 4e0dac50fSopenharmony_ci# You may obtain a copy of the License at 5e0dac50fSopenharmony_ci# 6e0dac50fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7e0dac50fSopenharmony_ci# 8e0dac50fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9e0dac50fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10e0dac50fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11e0dac50fSopenharmony_ci# See the License for the specific language governing permissions and 12e0dac50fSopenharmony_ci# limitations under the License. 13e0dac50fSopenharmony_ci 14e0dac50fSopenharmony_ciimport("//build/config/features.gni") 15e0dac50fSopenharmony_ciimport("//build/test.gni") 16e0dac50fSopenharmony_ciimport("../../../../windowmanager_aafwk.gni") 17e0dac50fSopenharmony_ci 18e0dac50fSopenharmony_cimodule_output_path = "window_manager/window_manager" 19e0dac50fSopenharmony_ci 20e0dac50fSopenharmony_ci##############################fuzztest########################################## 21e0dac50fSopenharmony_ciohos_fuzztest("WindowManagerAgentStubStatusFuzzTest") { 22e0dac50fSopenharmony_ci fuzz_config_file = "." 23e0dac50fSopenharmony_ci module_out_path = module_output_path 24e0dac50fSopenharmony_ci include_dirs = [ 25e0dac50fSopenharmony_ci "../../../../utils/include", 26e0dac50fSopenharmony_ci "../../../../interfaces/innerkits/wm", 27e0dac50fSopenharmony_ci "../../../../interfaces/include", 28e0dac50fSopenharmony_ci "../../../../utils/include", 29e0dac50fSopenharmony_ci "../../../../wm/include", 30e0dac50fSopenharmony_ci "../../../../wm/include/zidl", 31e0dac50fSopenharmony_ci ] 32e0dac50fSopenharmony_ci 33e0dac50fSopenharmony_ci configs = [ 34e0dac50fSopenharmony_ci "../..:configs_cc_ld", 35e0dac50fSopenharmony_ci "../../../../resources/config/build:coverage_flags", 36e0dac50fSopenharmony_ci "../../../../resources/config/build:testcase_flags", 37e0dac50fSopenharmony_ci ] 38e0dac50fSopenharmony_ci 39e0dac50fSopenharmony_ci sources = [ "windowmanageragentstubstatus_fuzzer.cpp" ] 40e0dac50fSopenharmony_ci deps = [ 41e0dac50fSopenharmony_ci "../../../..//utils:libwmutil", 42e0dac50fSopenharmony_ci "../../../..//wm:libwm", 43e0dac50fSopenharmony_ci ] 44e0dac50fSopenharmony_ci 45e0dac50fSopenharmony_ci external_deps = [ 46e0dac50fSopenharmony_ci "c_utils:utils", 47e0dac50fSopenharmony_ci "graphic_2d:librender_service_client", 48e0dac50fSopenharmony_ci "hilog:libhilog", 49e0dac50fSopenharmony_ci "image_framework:image_native", 50e0dac50fSopenharmony_ci "ipc:ipc_single", 51e0dac50fSopenharmony_ci ] 52e0dac50fSopenharmony_ci} 53e0dac50fSopenharmony_ci 54e0dac50fSopenharmony_ci############################################################################### 55e0dac50fSopenharmony_cigroup("fuzztest") { 56e0dac50fSopenharmony_ci testonly = true 57e0dac50fSopenharmony_ci deps = [] 58e0dac50fSopenharmony_ci 59e0dac50fSopenharmony_ci deps += [ 60e0dac50fSopenharmony_ci # deps file 61e0dac50fSopenharmony_ci ":WindowManagerAgentStubStatusFuzzTest", 62e0dac50fSopenharmony_ci ] 63e0dac50fSopenharmony_ci} 64e0dac50fSopenharmony_ci############################################################################### 65