10fed37d5Sopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd.
20fed37d5Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
30fed37d5Sopenharmony_ci# you may not use this file except in compliance with the License.
40fed37d5Sopenharmony_ci# You may obtain a copy of the License at
50fed37d5Sopenharmony_ci#
60fed37d5Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
70fed37d5Sopenharmony_ci#
80fed37d5Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
90fed37d5Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
100fed37d5Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
110fed37d5Sopenharmony_ci# See the License for the specific language governing permissions and
120fed37d5Sopenharmony_ci# limitations under the License.
130fed37d5Sopenharmony_ci
140fed37d5Sopenharmony_ciimport("//build/test.gni")
150fed37d5Sopenharmony_ci
160fed37d5Sopenharmony_ciconfig("test_connect_ability_config") {
170fed37d5Sopenharmony_ci  visibility = [ ":*" ]
180fed37d5Sopenharmony_ci  include_dirs = [ "include" ]
190fed37d5Sopenharmony_ci}
200fed37d5Sopenharmony_ci
210fed37d5Sopenharmony_ciohos_shared_library("test_connect_ability") {
220fed37d5Sopenharmony_ci  sources = [
230fed37d5Sopenharmony_ci    "src/test_connect_ability.cpp",
240fed37d5Sopenharmony_ci    "src/test_connect_ability_proxy.cpp",
250fed37d5Sopenharmony_ci    "src/test_connect_ability_stub.cpp",
260fed37d5Sopenharmony_ci  ]
270fed37d5Sopenharmony_ci  configs = [ ":test_connect_ability_config" ]
280fed37d5Sopenharmony_ci
290fed37d5Sopenharmony_ci  deps = [ "//foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk:system_ability_fwk" ]
300fed37d5Sopenharmony_ci
310fed37d5Sopenharmony_ci  external_deps = [
320fed37d5Sopenharmony_ci    "c_utils:utils",
330fed37d5Sopenharmony_ci    "hilog:libhilog",
340fed37d5Sopenharmony_ci    "ipc:ipc_single",
350fed37d5Sopenharmony_ci    "samgr:samgr_proxy",
360fed37d5Sopenharmony_ci  ]
370fed37d5Sopenharmony_ci
380fed37d5Sopenharmony_ci  part_name = "safwk"
390fed37d5Sopenharmony_ci  subsystem_name = "systemabilitymgr"
400fed37d5Sopenharmony_ci}
41