1# Copyright (c) 2021 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 14dsoftbus_root_path = "//foundation/communication/dsoftbus" 15dsoftbus_sdk_path = "//foundation/communication/dsoftbus/sdk" 16dsoftbus_core_path = "//foundation/communication/dsoftbus/core" 17hispark_pegasus_sdk_path = "//device/soc/hisilicon/hi3861v100/sdk_liteos" 18 19declare_args() { 20 softbus_adapter_common = "//foundation/communication/dsoftbus/adapter/common" 21 softbus_adapter_config = 22 "//foundation/communication/dsoftbus/adapter/default_config" 23} 24 25if (defined(ohos_lite)) { 26 import("//build/lite/config/component/lite_component.gni") 27 if (ohos_kernel_type == "liteos_m") { 28 import("$softbus_adapter_config/feature_config/mini/config.gni") 29 hilog_lite_include_path = 30 "//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite" 31 hilog_lite_deps_path = 32 "//base/hiviewdfx/hilog_lite/frameworks/mini:hilog_lite" 33 } else { 34 import("$softbus_adapter_config/feature_config/small/config.gni") 35 hilog_lite_include_path = 36 "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits" 37 hilog_lite_deps_path = 38 "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared" 39 } 40} else { 41 import("//build/ohos.gni") 42 import("$softbus_adapter_config/feature_config/standard/config.gni") 43} 44