From e8f851476184e9f3e5be5e1c2c0ae5cd21b7f299 Mon Sep 17 00:00:00 2001 From: liuxiaowei42 Date: Mon, 16 Oct 2023 14:46:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=85=A8=E9=9A=90=E7=A7=81=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit issue:https://gitee.com/openharmony/distributedhardware_distributed_audio/issues/I88F2K Signed-off-by: liuxiaowei42 --- audiohandler/BUILD.gn | 6 ------ interfaces/inner_kits/native_cpp/audio_sink/BUILD.gn | 6 ------ interfaces/inner_kits/native_cpp/audio_source/BUILD.gn | 6 ------ services/audiomanager/servicesink/BUILD.gn | 6 ------ services/audiomanager/servicesource/BUILD.gn | 6 ------ .../audiotransport/audiochannel/audiodatachannel/BUILD.gn | 6 ------ services/audiotransport/audioctrltransport/BUILD.gn | 6 ------ services/audiotransport/audiotransportstatus/BUILD.gn | 6 ------ services/audiotransport/decodetransport/BUILD.gn | 6 ------ services/audiotransport/encodetransport/BUILD.gn | 6 ------ services/common/BUILD.gn | 6 ------ services/hdfaudioclient/BUILD.gn | 6 ------ services/softbusadapter/BUILD.gn | 6 ------ 13 files changed, 78 deletions(-) diff --git a/audiohandler/BUILD.gn b/audiohandler/BUILD.gn index f616f946..f95694e6 100644 --- a/audiohandler/BUILD.gn +++ b/audiohandler/BUILD.gn @@ -16,12 +16,6 @@ import("//build/ohos_var.gni") import("../distributedaudio.gni") ohos_shared_library("distributed_audio_handler") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "//third_party/json/include", "${fwk_common_path}/utils/include", diff --git a/interfaces/inner_kits/native_cpp/audio_sink/BUILD.gn b/interfaces/inner_kits/native_cpp/audio_sink/BUILD.gn index 9878a730..423af490 100755 --- a/interfaces/inner_kits/native_cpp/audio_sink/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/audio_sink/BUILD.gn @@ -16,12 +16,6 @@ import("//build/ohos_var.gni") import("../../../../distributedaudio.gni") ohos_shared_library("distributed_audio_sink_sdk") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${fwk_common_path}/utils/include", "//third_party/json/include", diff --git a/interfaces/inner_kits/native_cpp/audio_source/BUILD.gn b/interfaces/inner_kits/native_cpp/audio_source/BUILD.gn index eeee9fe2..bf65d534 100755 --- a/interfaces/inner_kits/native_cpp/audio_source/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/audio_source/BUILD.gn @@ -16,12 +16,6 @@ import("//build/ohos_var.gni") import("../../../../distributedaudio.gni") ohos_shared_library("distributed_audio_source_sdk") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${fwk_common_path}/utils/include", "//third_party/json/include", diff --git a/services/audiomanager/servicesink/BUILD.gn b/services/audiomanager/servicesink/BUILD.gn index a4d49704..35454d63 100755 --- a/services/audiomanager/servicesink/BUILD.gn +++ b/services/audiomanager/servicesink/BUILD.gn @@ -16,12 +16,6 @@ import("//build/ohos_var.gni") import("../../../distributedaudio.gni") ohos_shared_library("distributed_audio_sink") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "//third_party/json/include", "//third_party/cJSON", diff --git a/services/audiomanager/servicesource/BUILD.gn b/services/audiomanager/servicesource/BUILD.gn index b0cd0baa..d0d776f5 100755 --- a/services/audiomanager/servicesource/BUILD.gn +++ b/services/audiomanager/servicesource/BUILD.gn @@ -16,12 +16,6 @@ import("//build/ohos_var.gni") import("../../../distributedaudio.gni") ohos_shared_library("distributed_audio_source") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "//third_party/json/include", "//third_party/cJSON", diff --git a/services/audiotransport/audiochannel/audiodatachannel/BUILD.gn b/services/audiotransport/audiochannel/audiodatachannel/BUILD.gn index 183752b3..35ccab5c 100644 --- a/services/audiotransport/audiochannel/audiodatachannel/BUILD.gn +++ b/services/audiotransport/audiochannel/audiodatachannel/BUILD.gn @@ -16,12 +16,6 @@ import("//build/ohos_var.gni") import("../../../../distributedaudio.gni") ohos_shared_library("distributed_audio_data_channel") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${fwk_common_path}/utils/include", "//third_party/json/include", diff --git a/services/audiotransport/audioctrltransport/BUILD.gn b/services/audiotransport/audioctrltransport/BUILD.gn index b5cc94d5..619795b3 100644 --- a/services/audiotransport/audioctrltransport/BUILD.gn +++ b/services/audiotransport/audioctrltransport/BUILD.gn @@ -16,12 +16,6 @@ import("//build/ohos_var.gni") import("../../../distributedaudio.gni") ohos_shared_library("distributed_audio_control") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "//third_party/json/include", "${fwk_common_path}/utils/include", diff --git a/services/audiotransport/audiotransportstatus/BUILD.gn b/services/audiotransport/audiotransportstatus/BUILD.gn index 59cfbe0d..965f6244 100644 --- a/services/audiotransport/audiotransportstatus/BUILD.gn +++ b/services/audiotransport/audiotransportstatus/BUILD.gn @@ -16,12 +16,6 @@ import("//build/ohos_var.gni") import("../../../distributedaudio.gni") ohos_shared_library("distributed_audio_transport_status") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${fwk_common_path}/utils/include", "${mediastandard_path}/interfaces/innerkits/native/media/include", diff --git a/services/audiotransport/decodetransport/BUILD.gn b/services/audiotransport/decodetransport/BUILD.gn index 79c660b2..bc26bcfe 100644 --- a/services/audiotransport/decodetransport/BUILD.gn +++ b/services/audiotransport/decodetransport/BUILD.gn @@ -28,12 +28,6 @@ config("decode_transport_pub_config") { } ohos_shared_library("distributed_audio_decode_transport") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${mediastandard_path}/interfaces/innerkits/native/media/include", "${mediastandardfwk_path}/audiocommon/include", diff --git a/services/audiotransport/encodetransport/BUILD.gn b/services/audiotransport/encodetransport/BUILD.gn index 17a72537..bc75f76f 100644 --- a/services/audiotransport/encodetransport/BUILD.gn +++ b/services/audiotransport/encodetransport/BUILD.gn @@ -28,12 +28,6 @@ config("encode_transport_pub_config") { } ohos_shared_library("distributed_audio_encode_transport") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${mediastandard_path}/interfaces/innerkits/native/media/include", "${mediastandardfwk_path}/audiocommon/include", diff --git a/services/common/BUILD.gn b/services/common/BUILD.gn index f3474b45..60385f42 100644 --- a/services/common/BUILD.gn +++ b/services/common/BUILD.gn @@ -37,12 +37,6 @@ config("daudio_common_private_config") { } ohos_shared_library("distributed_audio_utils") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true configs = [ ":daudio_common_private_config" ] public_configs = [ ":daudio_common_pub_config" ] diff --git a/services/hdfaudioclient/BUILD.gn b/services/hdfaudioclient/BUILD.gn index 279d930d..9025cbd7 100644 --- a/services/hdfaudioclient/BUILD.gn +++ b/services/hdfaudioclient/BUILD.gn @@ -16,12 +16,6 @@ import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni") import("../../distributedaudio.gni") ohos_shared_library("daudio_client") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "./include", "${common_path}/include", diff --git a/services/softbusadapter/BUILD.gn b/services/softbusadapter/BUILD.gn index 0c0a3eef..d460346c 100644 --- a/services/softbusadapter/BUILD.gn +++ b/services/softbusadapter/BUILD.gn @@ -16,12 +16,6 @@ import("//build/ohos_var.gni") import("../../distributedaudio.gni") ohos_shared_library("distributed_audio_softbus_adapter") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${fwk_common_path}/utils/include", "//third_party/json/include", -- Gitee