• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022-2023 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"
26ace_engine_lite_path = "//foundation/arkui/ace_engine_lite"
27access_token_path = "//base/security/access_token/interfaces/innerkits"
28os_account_path = "//base/account/os_account"
29samgr_lite_path = "//foundation/systemabilitymgr/samgr_lite/interfaces"
30interfaces_path = "//foundation/communication/ipc/interfaces/innerkits"
31utils_lite_path = "//commonlibrary/utils_lite"
32
33#--------------------------softbus----------------------------------#
34
35#---------------------------hichan----------------------------------#
36
37#----------------------compilation options--------------------------#
38dm_ldflags = [ "-lpthread" ]
39declare_args() {
40  device_manager_no_interaction_auth = false
41
42  if (!defined(global_parts_info) ||
43      defined(global_parts_info.account_os_account)) {
44    os_account_part_exists = true
45  } else {
46    os_account_part_exists = false
47  }
48}
49