115053c2dSopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
215053c2dSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
315053c2dSopenharmony_ci# you may not use this file except in compliance with the License.
415053c2dSopenharmony_ci# You may obtain a copy of the License at
515053c2dSopenharmony_ci#
615053c2dSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
715053c2dSopenharmony_ci#
815053c2dSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
915053c2dSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
1015053c2dSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1115053c2dSopenharmony_ci# See the License for the specific language governing permissions and
1215053c2dSopenharmony_ci# limitations under the License.
1315053c2dSopenharmony_ci
1415053c2dSopenharmony_cikv_store_base_path = "//foundation/distributeddatamgr/kv_store"
1515053c2dSopenharmony_ci
1615053c2dSopenharmony_cikv_store_native_path = "${kv_store_base_path}/frameworks/native"
1715053c2dSopenharmony_ci
1815053c2dSopenharmony_cikv_store_api_path = "${kv_store_base_path}/interfaces/inner_api"
1915053c2dSopenharmony_ci
2015053c2dSopenharmony_cithird_party_path = "//third_party"
2115053c2dSopenharmony_ci
2215053c2dSopenharmony_ciuse_platform_win = "${current_os}_${current_cpu}" == "mingw_x86_64"
2315053c2dSopenharmony_ciuse_platforn_mac = "${current_os}_${current_cpu}" == "mac_x64" ||
2415053c2dSopenharmony_ci                   "${current_os}_${current_cpu}" == "mac_arm64"
2515053c2dSopenharmony_ci
2615053c2dSopenharmony_cideclare_args() {
2715053c2dSopenharmony_ci  if (!defined(global_parts_info) ||
2815053c2dSopenharmony_ci      defined(global_parts_info.ability_dmsfwk)) {
2915053c2dSopenharmony_ci    dms_service_enable = true
3015053c2dSopenharmony_ci  } else {
3115053c2dSopenharmony_ci    dms_service_enable = false
3215053c2dSopenharmony_ci  }
3315053c2dSopenharmony_ci
3415053c2dSopenharmony_ci  if (product_name != "qemu-arm-linux-min") {
3515053c2dSopenharmony_ci    qemu_disable = true
3615053c2dSopenharmony_ci  } else {
3715053c2dSopenharmony_ci    qemu_disable = false
3815053c2dSopenharmony_ci  }
3915053c2dSopenharmony_ci}
40