• 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_switch_static_disable = 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}
22old_device_profile_path = "//foundation/deviceprofile/device_info_manager/old"
23old_device_profile_service =
24    "//foundation/deviceprofile/device_info_manager/old/services"
25old_device_profile_innerkits =
26    "//foundation/deviceprofile/device_info_manager/old/interfaces/innerkits"
27old_device_profile_test =
28    "//foundation/deviceprofile/device_info_manager/old/test"
29
30old_fuzz_test_output_path = "device_info_manager/device_info_manager"
31
32device_profile_path = "//foundation/deviceprofile/device_info_manager/"
33device_profile_common = "//foundation/deviceprofile/device_info_manager/common"
34device_profile_service =
35    "//foundation/deviceprofile/device_info_manager/services/core"
36device_profile_innerkits =
37    "//foundation/deviceprofile/device_info_manager/interfaces/innerkits/core"
38device_profile_test = "//foundation/deviceprofile/device_info_manager/test"
39
40third_party_json = "//third_party/json"
41third_party_cjson = "//third_party/cJSON"
42fuzz_test_output_path = "device_info_manager/device_info_manager"
43build_flags = [ "-Werror" ]
44