distributeddatamgr_kv_store/kv_store.gni
yangliu 0defe00b4c del auto sync
Signed-off-by: yangliu <yangliu178@huawei.com>
2024-07-31 20:54:53 +08:00

40 lines
1.3 KiB
Plaintext

# Copyright (c) 2022 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
kv_store_base_path = "//foundation/distributeddatamgr/kv_store"
kv_store_native_path = "${kv_store_base_path}/frameworks/native"
kv_store_api_path = "${kv_store_base_path}/interfaces/inner_api"
third_party_path = "//third_party"
use_platform_win = "${current_os}_${current_cpu}" == "mingw_x86_64"
use_platforn_mac = "${current_os}_${current_cpu}" == "mac_x64" ||
"${current_os}_${current_cpu}" == "mac_arm64"
declare_args() {
if (!defined(global_parts_info) ||
defined(global_parts_info.ability_dmsfwk)) {
dms_service_enable = true
} else {
dms_service_enable = false
}
if (product_name != "qemu-arm-linux-min") {
qemu_disable = true
} else {
qemu_disable = false
}
}