1# Copyright (c) 2021 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//base/notification/distributed_notification_service/notification.gni") 15import("//build/test.gni") 16 17module_output_path = "${component_name}/systemtest" 18ohos_systemtest("AnsDumpTest") { 19 module_out_path = module_output_path 20 21 sources = [ "ansDumpTest.cpp" ] 22 23 include_dirs = [ 24 "//third_party/json/single_include", 25 "//commonlibrary/c_utils/base/include", 26 "//utils/system/safwk/native/include", 27 ] 28 29 cflags = [] 30 31 if (target_cpu == "arm") { 32 cflags += [ "-DBINDER_IPC_32BIT" ] 33 } 34 35 deps = [ 36 "${core_path}:ans_core", 37 "//third_party/googletest:gtest_main", 38 ] 39 40 external_deps = [ 41 "ability_base:want", 42 "ability_runtime:wantagent_innerkits", 43 "bundle_framework:appexecfwk_core", 44 "c_utils:utils", 45 "hiviewdfx_hilog_native:libhilog", 46 "ipc:ipc_core", 47 "samgr:samgr_proxy", 48 ] 49} 50 51group("ansDumpTest") { 52 testonly = true 53 54 deps = [ ":AnsDumpTest" ] 55} 56