diff --git a/interfaces/inner_api/BUILD.gn b/interfaces/inner_api/BUILD.gn index 5f03212fdb13eb23ff39c954dd7f35b9fb1933fe..94ececd29da8eb0325c1499a40069869f1e2dd62 100644 --- a/interfaces/inner_api/BUILD.gn +++ b/interfaces/inner_api/BUILD.gn @@ -19,8 +19,6 @@ config("dbms_fwk_config") { } ohos_shared_library("dbms_fwk") { - stack_protector_ret = true - sources = [ "src/distributed_bms_proxy.cpp" ] defines = [ diff --git a/interfaces/kits/js/distributebundlemgr/BUILD.gn b/interfaces/kits/js/distributebundlemgr/BUILD.gn index 46a35f4f0e42e4b81fa2a23bc71e0ca3aae06e75..189510c84323debc0a149134f3c5f3ef74a6f39d 100644 --- a/interfaces/kits/js/distributebundlemgr/BUILD.gn +++ b/interfaces/kits/js/distributebundlemgr/BUILD.gn @@ -15,8 +15,6 @@ import("//build/ohos.gni") import("../../../../dbms.gni") ohos_shared_library("distributedbundle") { - stack_protector_ret = true - include_dirs = [] defines = [ "APP_LOG_TAG = \"DistributedBundleMgrService\"", diff --git a/interfaces/kits/js/distributedBundle/BUILD.gn b/interfaces/kits/js/distributedBundle/BUILD.gn index 59607a58104b5d48cb5cf16e67a99242def8e658..f728091c8577e4b7ba2ac8b9e4a4bb7409176a81 100644 --- a/interfaces/kits/js/distributedBundle/BUILD.gn +++ b/interfaces/kits/js/distributedBundle/BUILD.gn @@ -15,8 +15,6 @@ import("//build/ohos.gni") import("../../../../dbms.gni") ohos_shared_library("distributedbundlemanager") { - stack_protector_ret = true - include_dirs = [ "${kits_path}/js/common" ] defines = [ "APP_LOG_TAG = \"DistributedBundleMgrService\"", diff --git a/services/dbms/BUILD.gn b/services/dbms/BUILD.gn index fb7b5fa41af441fb3a91c2f35540bb146e6892f9..8778e66883735b15be2511b03855cd055ee0713c 100644 --- a/services/dbms/BUILD.gn +++ b/services/dbms/BUILD.gn @@ -25,8 +25,6 @@ config("distributed_bms_config") { } ohos_shared_library("libdbms") { - stack_protector_ret = true - sources = [ "src/account_manager_helper.cpp", "src/dbms_device_manager.cpp",