From 2b0539e1315cd0818ebc5074b53f39b13d2f0c9f Mon Sep 17 00:00:00 2001 From: zjucx Date: Fri, 16 Jul 2021 14:35:57 +0800 Subject: [PATCH] delete invalid include --- communication/broadcast/BUILD.gn | 2 -- samgr/BUILD.gn | 1 - samgr/adapter/BUILD.gn | 1 - samgr/source/BUILD.gn | 1 - samgr_client/BUILD.gn | 6 ++---- samgr_endpoint/BUILD.gn | 4 +--- samgr_server/BUILD.gn | 2 -- 7 files changed, 3 insertions(+), 14 deletions(-) diff --git a/communication/broadcast/BUILD.gn b/communication/broadcast/BUILD.gn index 441e6af..0c9d474 100755 --- a/communication/broadcast/BUILD.gn +++ b/communication/broadcast/BUILD.gn @@ -47,9 +47,7 @@ if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") { "-Wall", ] include_dirs = [ - "//kernel/liteos_a/kernel/include/", "//third_party/bounds_checking_function/include", - "//kernel/liteos_a/kernel/common", ] public_deps = [ "//foundation/distributedschedule/samgr_lite/samgr:samgr", diff --git a/samgr/BUILD.gn b/samgr/BUILD.gn index 9fae58d..351fb6f 100755 --- a/samgr/BUILD.gn +++ b/samgr/BUILD.gn @@ -56,7 +56,6 @@ if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") { public_configs = [ ":samgr_public" ] include_dirs = [ - "//kernel/liteos_a/kernel/include/", "//third_party/bounds_checking_function/include", "//third_party/cJSON", ] diff --git a/samgr/adapter/BUILD.gn b/samgr/adapter/BUILD.gn index ca0302b..b641af4 100755 --- a/samgr/adapter/BUILD.gn +++ b/samgr/adapter/BUILD.gn @@ -52,7 +52,6 @@ if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") { public_configs = [ ":samgr_adapter_public" ] include_dirs = [ - "//kernel/liteos_a/kernel/include/", "//third_party/bounds_checking_function/include", ] diff --git a/samgr/source/BUILD.gn b/samgr/source/BUILD.gn index 5304241..873ef11 100755 --- a/samgr/source/BUILD.gn +++ b/samgr/source/BUILD.gn @@ -67,7 +67,6 @@ if (ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") { ] include_dirs = [ - "//kernel/liteos_a/kernel/include/", "//third_party/bounds_checking_function/include", ] } diff --git a/samgr_client/BUILD.gn b/samgr_client/BUILD.gn index ab9bd12..bed2b11 100644 --- a/samgr_client/BUILD.gn +++ b/samgr_client/BUILD.gn @@ -24,15 +24,13 @@ source_set("client") { "//foundation/distributedschedule/samgr_lite/interfaces/kits/samgr", "//foundation/distributedschedule/samgr_lite/interfaces/kits/registry", "//utils/native/lite/include", - "//kernel/liteos_a/kernel/include", - "//kernel/liteos_a/kernel/common", "//third_party/bounds_checking_function/include", - "//base/security/permission/services/permission_lite/include", + "//base/security/permission/services/permission_lite/include" ] public_deps = [ "//foundation/communication/ipc_lite:liteipc_adapter", "//foundation/distributedschedule/samgr_lite/samgr_endpoint:endpoint_source", - "//third_party/bounds_checking_function:libsec_shared", + "//third_party/bounds_checking_function:libsec_shared" ] } diff --git a/samgr_endpoint/BUILD.gn b/samgr_endpoint/BUILD.gn index 1373f5b..48c8b74 100644 --- a/samgr_endpoint/BUILD.gn +++ b/samgr_endpoint/BUILD.gn @@ -19,9 +19,7 @@ config("endpoint_public") { "//utils/native/lite/include", "//foundation/communication/ipc_lite/interfaces/kits", "//third_party/bounds_checking_function/include", - "//base/security/permission/services/permission_lite/ipc_auth/include", - "//kernel/liteos_a/kernel/include/", - "//kernel/liteos_a/kernel/common", + "//base/security/permission/services/permission_lite/ipc_auth/include" ] } diff --git a/samgr_server/BUILD.gn b/samgr_server/BUILD.gn index 8225e74..0807c9c 100644 --- a/samgr_server/BUILD.gn +++ b/samgr_server/BUILD.gn @@ -24,8 +24,6 @@ shared_library("server") { "//foundation/distributedschedule/samgr_lite/interfaces/kits/samgr", "//foundation/distributedschedule/samgr_lite/interfaces/kits/registry", "//utils/native/lite/include", - "//kernel/liteos_a/kernel/include/", - "//kernel/liteos_a/kernel/common", "//third_party/bounds_checking_function/include", "//base/security/permission/interfaces/innerkits/permission_lite", "//base/security/permission/services/permission_lite/pms_base/include", -- Gitee