1190978c3Sopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd.
2190978c3Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3190978c3Sopenharmony_ci# you may not use this file except in compliance with the License.
4190978c3Sopenharmony_ci# You may obtain a copy of the License at
5190978c3Sopenharmony_ci#
6190978c3Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7190978c3Sopenharmony_ci#
8190978c3Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9190978c3Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10190978c3Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11190978c3Sopenharmony_ci# See the License for the specific language governing permissions and
12190978c3Sopenharmony_ci# limitations under the License.
13190978c3Sopenharmony_ci
14190978c3Sopenharmony_ciimport("//base/update/updateservice/updateengine.gni")
15190978c3Sopenharmony_ci
16190978c3Sopenharmony_cisa_loader_external_deps = [
17190978c3Sopenharmony_ci  "c_utils:utils",  # sptr
18190978c3Sopenharmony_ci  "ipc:ipc_core",
19190978c3Sopenharmony_ci  "safwk:system_ability_fwk",
20190978c3Sopenharmony_ci  "samgr:samgr_proxy",
21190978c3Sopenharmony_ci]
22190978c3Sopenharmony_ciif (ability_ability_runtime_enable) {
23190978c3Sopenharmony_ci  sa_loader_external_deps += [ "ability_runtime:extension_manager" ]
24190978c3Sopenharmony_ci}
25190978c3Sopenharmony_ci
26190978c3Sopenharmony_cisa_loader_deps = []
27190978c3Sopenharmony_cisa_loader_include =
28190978c3Sopenharmony_ci    [ "$updateengine_root_path/foundations/ability/sa_loader/include" ]
29190978c3Sopenharmony_cisa_loader_src = [ "$updateengine_root_path/foundations/ability/sa_loader/src/load_sa_service.cpp" ]
30