• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2023-2024 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.
13declare_args() {
14  device_info_manager_supported_switch = true
15  if (defined(global_parts_info) &&
16      defined(global_parts_info.account_os_account)) {
17    dp_os_account_part_exists = true
18  } else {
19    dp_os_account_part_exists = false
20  }
21  if (defined(global_parts_info) &&
22      defined(
23          global_parts_info.distributedhardware_distributed_hardware_adapter)) {
24    device_info_manager_common = false
25  } else {
26    device_info_manager_common = true
27  }
28}
29old_device_profile_path = "//foundation/deviceprofile/device_info_manager/old"
30old_device_profile_service =
31    "//foundation/deviceprofile/device_info_manager/old/services"
32old_device_profile_innerkits =
33    "//foundation/deviceprofile/device_info_manager/old/interfaces/innerkits"
34old_device_profile_test =
35    "//foundation/deviceprofile/device_info_manager/old/test"
36
37old_fuzz_test_output_path = "device_info_manager/device_info_manager"
38
39device_profile_path = "//foundation/deviceprofile/device_info_manager/"
40device_profile_common = "//foundation/deviceprofile/device_info_manager/common"
41device_profile_service =
42    "//foundation/deviceprofile/device_info_manager/services/core"
43device_profile_innerkits =
44    "//foundation/deviceprofile/device_info_manager/interfaces/innerkits/core"
45device_profile_test = "//foundation/deviceprofile/device_info_manager/test"
46
47third_party_json = "//third_party/json"
48third_party_cjson = "//third_party/cJSON"
49fuzz_test_output_path = "device_info_manager/device_info_manager"
50build_flags = [ "-Werror" ]
51