build: update BUILD.gn

Signed-off-by: aqxyjay <zhangchunxin@huawei.com>
This commit is contained in:
aqxyjay 2023-11-07 15:06:23 +08:00
parent b04eb56fff
commit 648192694e
9 changed files with 9 additions and 8 deletions

View File

@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("../core/common/dfx/dsoftbus_dfx.gni")
import("../dsoftbus.gni")
dsoftbus_root_path = ".."

View File

@ -12,6 +12,7 @@
# limitations under the License.
DSOFTBUS_ROOT_PATH = "./../../.."
import("$DSOFTBUS_ROOT_PATH/core/common/dfx/dsoftbus_dfx.gni")
import("$DSOFTBUS_ROOT_PATH/dsoftbus.gni")
NSTACKX_ROOT = "$DSOFTBUS_ROOT_PATH/components/nstackx"

View File

@ -57,16 +57,8 @@ if (defined(ohos_lite)) {
import("//build/lite/config/component/lite_component.gni")
if (ohos_kernel_type == "liteos_m") {
import("$softbus_adapter_config/feature_config/mini/config.gni")
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 {
import("$softbus_adapter_config/feature_config/small/config.gni")
hilog_lite_include_path =
"//base/hiviewdfx/hilog_lite/interfaces/native/innerkits"
hilog_lite_deps_path =
"//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared"
}
} else {
if (defined(os_win)) {

View File

@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("../core/common/dfx/dsoftbus_dfx.gni")
import("../dsoftbus.gni")
import("bus_center/bus_center_sdk.gni")
import("discovery/disc_sdk.gni")
@ -26,6 +27,7 @@ common_client_inc = bus_center_sdk_inc + disc_sdk_inc +
common_client_deps = bus_center_sdk_deps + trans_session_manager_sdk_deps
common_client_deps += [
"$dsoftbus_dfx_path/log:softbus_dfx_log",
"$dsoftbus_root_path/adapter:softbus_adapter",
"$dsoftbus_root_path/core/common:softbus_utils",
]

View File

@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("../../../../core/common/dfx/dsoftbus_dfx.gni")
import("../../../../dsoftbus.gni")
dsoftbus_root_path = "../../../.."

View File

@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("../../../../core/common/dfx/dsoftbus_dfx.gni")
import("../../../../dsoftbus.gni")
dsoftbus_root_path = "../../../.."

View File

@ -12,6 +12,7 @@
# limitations under the License.
import("//build/lite/config/component/lite_component.gni")
import("../../../../../core/common/dfx/dsoftbus_dfx.gni")
import("../../../../../dsoftbus.gni")
dsoftbus_root_path = "../../../../.."

View File

@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("../../../../core/common/dfx/dsoftbus_dfx.gni")
import("../../../../dsoftbus.gni")
dsoftbus_root_path = "../../../.."

View File

@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import("../../../../core/common/dfx/dsoftbus_dfx.gni")
import("../../../../dsoftbus.gni")
import("../../../../sdk/transmission/trans_channel/udp/trans_udp_sdk.gni")