• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 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.
13
14#------------------------device manager------------------------------#
15devicemanager_path = "//foundation/distributedhardware/device_manager"
16
17common_path = "${devicemanager_path}/common"
18utils_path = "${devicemanager_path}/utils"
19services_path = "${devicemanager_path}/services/service"
20servicesimpl_path = "${devicemanager_path}/services/implementation"
21innerkits_path = "${devicemanager_path}/interfaces/inner_kits"
22ext_path = "${devicemanager_path}/ext"
23ability_runtime_innerkits_path =
24    "//foundation/ability/ability_runtime/interfaces/inner_api"
25ability_runtime_services_path = "//foundation/ability/ability_runtime/services"
26
27#--------------------------softbus----------------------------------#
28
29#---------------------------hichan----------------------------------#
30
31#----------------------compilation options--------------------------#
32dm_ldflags = [ "-lpthread" ]
33declare_args() {
34  device_manager_no_interaction_auth = false
35
36  if (!defined(global_parts_info) ||
37      defined(global_parts_info.account_os_account)) {
38    os_account_part_exists = true
39  } else {
40    os_account_part_exists = false
41  }
42}
43