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
14kv_store_base_path = "//foundation/distributeddatamgr/kv_store"
15
16kv_store_native_path = "${kv_store_base_path}/frameworks/native"
17
18kv_store_api_path = "${kv_store_base_path}/interfaces/inner_api"
19
20third_party_path = "//third_party"
21
22use_platform_win = "${current_os}_${current_cpu}" == "mingw_x86_64"
23use_platforn_mac = "${current_os}_${current_cpu}" == "mac_x64" ||
24                   "${current_os}_${current_cpu}" == "mac_arm64"
25
26declare_args() {
27  if (!defined(global_parts_info) ||
28      defined(global_parts_info.ability_dmsfwk)) {
29    dms_service_enable = true
30  } else {
31    dms_service_enable = false
32  }
33
34  if (product_name != "qemu-arm-linux-min") {
35    qemu_disable = true
36  } else {
37    qemu_disable = false
38  }
39}
40