15ba71b47Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
25ba71b47Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
35ba71b47Sopenharmony_ci# you may not use this file except in compliance with the License.
45ba71b47Sopenharmony_ci# You may obtain a copy of the License at
55ba71b47Sopenharmony_ci#
65ba71b47Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
75ba71b47Sopenharmony_ci#
85ba71b47Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
95ba71b47Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
105ba71b47Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
115ba71b47Sopenharmony_ci# See the License for the specific language governing permissions and
125ba71b47Sopenharmony_ci# limitations under the License.
135ba71b47Sopenharmony_ci
145ba71b47Sopenharmony_ciimport("//build/test.gni")
155ba71b47Sopenharmony_ci
165ba71b47Sopenharmony_ciconfig("mock_sa_config") {
175ba71b47Sopenharmony_ci  visibility = [ ":*" ]
185ba71b47Sopenharmony_ci  include_dirs = [ "include" ]
195ba71b47Sopenharmony_ci}
205ba71b47Sopenharmony_ci
215ba71b47Sopenharmony_ciohos_shared_library("mock_sa") {
225ba71b47Sopenharmony_ci  sources = [ "src/mock_sa.cpp" ]
235ba71b47Sopenharmony_ci  configs = [ ":mock_sa_config" ]
245ba71b47Sopenharmony_ci
255ba71b47Sopenharmony_ci  part_name = "samgr"
265ba71b47Sopenharmony_ci  subsystem_name = "systemabilitymgr"
275ba71b47Sopenharmony_ci}
28