• 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"
32c_utils_path = "//commonlibrary/c_utils/base/"
33mbedtls_path = "//third_party/mbedtls"
34fuzz_test_output_path = "device_manager/device_manager"
35
36#--------------------------softbus----------------------------------#
37
38#---------------------------hichan----------------------------------#
39
40#----------------------compilation options--------------------------#
41dm_ldflags = [ "-lpthread" ]
42declare_args() {
43  device_manager_no_interaction_auth = false
44
45  if (!defined(global_parts_info) ||
46      defined(global_parts_info.account_os_account)) {
47    os_account_part_exists = true
48  } else {
49    os_account_part_exists = false
50  }
51}
52