10fed37d5Sopenharmony_ci# Copyright (c) 2022 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("demo_sa_config") { 170fed37d5Sopenharmony_ci visibility = [ ":*" ] 180fed37d5Sopenharmony_ci include_dirs = [ 190fed37d5Sopenharmony_ci "include", 200fed37d5Sopenharmony_ci "//foundation/systemabilitymgr/safwk/services/safwk/include", 210fed37d5Sopenharmony_ci "//foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/include", 220fed37d5Sopenharmony_ci ] 230fed37d5Sopenharmony_ci} 240fed37d5Sopenharmony_ci 250fed37d5Sopenharmony_ciohos_shared_library("test_demo_sa") { 260fed37d5Sopenharmony_ci sources = [ 270fed37d5Sopenharmony_ci "src/demo_proxy.cpp", 280fed37d5Sopenharmony_ci "src/demo_service.cpp", 290fed37d5Sopenharmony_ci "src/demo_stub.cpp", 300fed37d5Sopenharmony_ci ] 310fed37d5Sopenharmony_ci configs = [ 320fed37d5Sopenharmony_ci ":demo_sa_config", 330fed37d5Sopenharmony_ci "//foundation/systemabilitymgr/safwk/test/resource:coverage_flags", 340fed37d5Sopenharmony_ci ] 350fed37d5Sopenharmony_ci 360fed37d5Sopenharmony_ci deps = [ "//foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk:system_ability_fwk" ] 370fed37d5Sopenharmony_ci 380fed37d5Sopenharmony_ci external_deps = [ 390fed37d5Sopenharmony_ci "c_utils:utils", 400fed37d5Sopenharmony_ci "ipc:ipc_single", 410fed37d5Sopenharmony_ci ] 420fed37d5Sopenharmony_ci 430fed37d5Sopenharmony_ci part_name = "safwk" 440fed37d5Sopenharmony_ci subsystem_name = "systemabilitymgr" 450fed37d5Sopenharmony_ci} 46