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. 13import("//build/ohos.gni") 14SUBDEMOSYSTEM_DIR = "//foundation/appexecfwk/standard/test/resource/amssystemtestability/abilitySrc/amsSystemTestErrorL" 15config("amsSystemTestErrorLConfig") { 16 visibility = [ ":*" ] 17 include_dirs = [ 18 "${SUBDEMOSYSTEM_DIR}/include", 19 "//foundation/appexecfwk/standard/kits/appkit/native/app", 20 "//foundation/aafwk/standard/interfaces/innerkits/want/include/ohos/aafwk/content", 21 "//foundation/aafwk/standard/interfaces/innerkits/ability_manager/include", 22 "//foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler/include", 23 "//foundation/appexecfwk/standard/services/bundlemgr/include", 24 "//foundation/aafwk/standard/services/abilitymgr/include", 25 "//foundation/appexecfwk/standard/common/log/include", 26 "//foundation/distributedschedule/dmsfwk/services/dtbschedmgr/include", 27 "//third_party/jsoncpp/include", 28 ] 29 defines = [ 30 "APP_LOG_TAG = \"amsSystemTestErrorL\"", 31 "LOG_DOMAIN = 0xD002200", 32 ] 33} 34ohos_shared_library("amsSystemTestErrorL") { 35 sources = [ "${SUBDEMOSYSTEM_DIR}/src/amsstabilityerrorl1.cpp" ] 36 configs = [ ":amsSystemTestErrorLConfig" ] 37 deps = [ 38 "//foundation/aafwk/standard/frameworks/kits/ability/native:abilitykit_native", 39 "//foundation/aafwk/standard/interfaces/innerkits/want:want", 40 "//foundation/appexecfwk/standard/common:libappexecfwk_common", 41 "//foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_base:appexecfwk_base", 42 "//foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_core:appexecfwk_core", 43 "//foundation/appexecfwk/standard/kits:appkit_native", 44 "//foundation/appexecfwk/standard/services/bundlemgr:libbms", 45 "//third_party/jsoncpp:jsoncpp", 46 "//utils/native/base:utilsbase", 47 ] 48 external_deps = [ 49 "hiviewdfx_hilog_native:libhilog", 50 "ipc:ipc_core", 51 ] 52 subsystem_name = "amssystemtestability" 53} 54