2021-06-01 16:05:35 +00:00
|
|
|
# Copyright (c) 2021 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.
|
|
|
|
|
|
|
|
dsoftbus_root_path = "//foundation/communication/dsoftbus"
|
2021-07-13 07:10:49 +00:00
|
|
|
dsoftbus_sdk_path = "//foundation/communication/dsoftbus/sdk"
|
|
|
|
dsoftbus_core_path = "//foundation/communication/dsoftbus/core"
|
2021-12-16 08:54:54 +00:00
|
|
|
hispark_pegasus_sdk_path = "//device/soc/hisilicon/hi3861v100/sdk_liteos"
|
2022-05-13 02:48:02 +00:00
|
|
|
aainnerkits_path = "//foundation/aafwk/standard/interfaces/innerkits"
|
2022-05-16 03:13:22 +00:00
|
|
|
ability_base_path = "//foundation/aafwk/standard/ability_base"
|
2022-05-13 02:48:02 +00:00
|
|
|
aaservices_path = "//foundation/aafwk/standard/services"
|
|
|
|
aakits_path = "//foundation/aafwk/standard/frameworks/kits"
|
2021-07-13 07:10:49 +00:00
|
|
|
|
2021-09-02 12:10:50 +00:00
|
|
|
declare_args() {
|
2021-07-23 06:15:53 +00:00
|
|
|
softbus_adapter_common = "//foundation/communication/dsoftbus/adapter/common"
|
2021-09-02 12:10:50 +00:00
|
|
|
softbus_adapter_config =
|
|
|
|
"//foundation/communication/dsoftbus/adapter/default_config"
|
2022-03-17 13:26:10 +00:00
|
|
|
dsoftbus_standard_feature_product_config_path =
|
|
|
|
"//foundation/communication/dsoftbus/adapter/default_config"
|
2021-07-23 06:15:53 +00:00
|
|
|
}
|
|
|
|
|
2021-07-13 07:10:49 +00:00
|
|
|
if (defined(ohos_lite)) {
|
2021-11-01 13:36:35 +00:00
|
|
|
import("//build/lite/config/component/lite_component.gni")
|
2021-07-13 07:10:49 +00:00
|
|
|
if (ohos_kernel_type == "liteos_m") {
|
2021-07-23 06:15:53 +00:00
|
|
|
import("$softbus_adapter_config/feature_config/mini/config.gni")
|
2021-07-13 07:10:49 +00:00
|
|
|
hilog_lite_include_path =
|
|
|
|
"//base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite"
|
|
|
|
hilog_lite_deps_path =
|
|
|
|
"//base/hiviewdfx/hilog_lite/frameworks/mini:hilog_lite"
|
|
|
|
} else {
|
2021-07-23 06:15:53 +00:00
|
|
|
import("$softbus_adapter_config/feature_config/small/config.gni")
|
2021-07-13 07:10:49 +00:00
|
|
|
hilog_lite_include_path =
|
|
|
|
"//base/hiviewdfx/hilog_lite/interfaces/native/innerkits"
|
|
|
|
hilog_lite_deps_path =
|
|
|
|
"//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared"
|
|
|
|
}
|
|
|
|
} else {
|
2022-03-30 09:10:41 +00:00
|
|
|
if (defined(os_win)) {
|
|
|
|
os_type = "windows"
|
|
|
|
} else {
|
|
|
|
os_type = "standard"
|
|
|
|
}
|
2021-11-01 13:36:35 +00:00
|
|
|
import("//build/ohos.gni")
|
2022-03-17 13:26:10 +00:00
|
|
|
import(
|
|
|
|
"$dsoftbus_standard_feature_product_config_path/feature_config/standard/config.gni")
|
2021-07-13 07:10:49 +00:00
|
|
|
}
|