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/ces_standard/event.gni") 15import("//build/ohos.gni") 16 17config("cesfwk_kits_test_config") { 18 visibility = [ ":*" ] 19 20 include_dirs = [ 21 "//utils/native/base/include", 22 "//foundation/appexecfwk/standard/common/log/include", 23 "//foundation/aafwk/standard/interfaces/innerkits/base/include", 24 "//foundation/appexecfwk/standard/services/bundlemgr/include", 25 "//utils/system/safwk/native/include", 26 "//foundation/aafwk/standard/interfaces/innerkits/base/include/ohos/aafwk/base", 27 "${services_path}/include", 28 "//foundation/aafwk/standard/interfaces/innerkits/want/include/ohos/aafwk/content", 29 "//foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler/include", 30 "//foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_base/include", 31 "//foundation/distributedschedule/safwk/services/safwk/include", 32 ] 33} 34 35ohos_shared_library("actscesfwk_kits_test") { 36 sources = [] 37 38 configs = [ ":cesfwk_kits_test_config" ] 39 40 cflags = [] 41 if (target_cpu == "arm") { 42 cflags += [ "-DBINDER_IPC_32BIT" ] 43 } 44 45 deps = [ 46 "${ces_common_path}:libevent_common", 47 "${ces_core_path}:cesfwk_core", 48 "${ces_native_path}:cesfwk_innerkits", 49 "${services_path}:cesfwk_services", 50 "//foundation/appexecfwk/standard/services/bundlemgr:libbms", 51 "//utils/native/base:utils", 52 ] 53 54 external_deps = [ 55 "ability_base:want", 56 "bundle_framework:appexecfwk_base", 57 "eventhandler:libeventhandler", 58 "hiviewdfx_hilog_native:libhilog", 59 "ipc:ipc_core", 60 ] 61 subsystem_name = "notification" 62 part_name = "ces_standard" 63} 64group("actsCEStest_ces") { 65 testonly = true 66 67 deps = [ 68 "actsCESCESpublishInfoTest:actsCESTest", 69 "actsCESDataTest:actsCESTest", 70 "actsCESManagertest:actsCESTest", 71 "actsCESMatchingSkillsTest:actsCESTest", 72 "actsCESSubscribeInfoTest:actsCESTest", 73 "actsfuzztest:fuzzTest", 74 ] 75} 76