diff --git a/common/BUILD.gn b/common/BUILD.gn index 591475def738b1fccc4e044bcf1988d5d536d02c..76ba561aca177805ec7f016262ae018b8e84455a 100644 --- a/common/BUILD.gn +++ b/common/BUILD.gn @@ -16,12 +16,6 @@ import( "//foundation/distributedhardware/distributed_camera/distributedcamera.gni") ohos_shared_library("distributed_camera_utils") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "include/constants", "include/utils", diff --git a/interfaces/inner_kits/native_cpp/camera_sink/BUILD.gn b/interfaces/inner_kits/native_cpp/camera_sink/BUILD.gn index 6a59927900d3382dbe36f4aa54c316c2ad56c162..654762c62e107ae16933222f1b8358fca5f1c706 100644 --- a/interfaces/inner_kits/native_cpp/camera_sink/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/camera_sink/BUILD.gn @@ -16,12 +16,6 @@ import( "//foundation/distributedhardware/distributed_camera/distributedcamera.gni") ohos_shared_library("distributed_camera_sink_sdk") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${fwk_common_path}/utils/include" ] include_dirs += [ diff --git a/interfaces/inner_kits/native_cpp/camera_source/BUILD.gn b/interfaces/inner_kits/native_cpp/camera_source/BUILD.gn index d676ed0d963f7954c2abd63890e19d41a5a3e4ab..cee272f6e9c54b6361d7dd7bba79aff851b58e9f 100644 --- a/interfaces/inner_kits/native_cpp/camera_source/BUILD.gn +++ b/interfaces/inner_kits/native_cpp/camera_source/BUILD.gn @@ -16,12 +16,6 @@ import( "//foundation/distributedhardware/distributed_camera/distributedcamera.gni") ohos_shared_library("distributed_camera_source_sdk") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${fwk_common_path}/utils/include" ] include_dirs += [ diff --git a/services/cameraservice/cameraoperator/client/BUILD.gn b/services/cameraservice/cameraoperator/client/BUILD.gn index 7e17a0cac5e54c2b8c6b676b573e0e0f714c0950..941df4463e2388007fbaa832bea7ca3c1ffa1825 100644 --- a/services/cameraservice/cameraoperator/client/BUILD.gn +++ b/services/cameraservice/cameraoperator/client/BUILD.gn @@ -17,12 +17,6 @@ import( "//foundation/distributedhardware/distributed_camera/distributedcamera.gni") ohos_shared_library("distributed_camera_client") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${graphicstandard_path}/frameworks/surface/include", "${camerastandard_path}/interfaces/inner_api/native/camera/include", diff --git a/services/cameraservice/cameraoperator/handler/BUILD.gn b/services/cameraservice/cameraoperator/handler/BUILD.gn index 607632975b5c7f128b097d932f42b00c217e12c8..eee491769eb8f8a600a70de05200d21b45c6f3cd 100644 --- a/services/cameraservice/cameraoperator/handler/BUILD.gn +++ b/services/cameraservice/cameraoperator/handler/BUILD.gn @@ -17,12 +17,6 @@ import( "//foundation/distributedhardware/distributed_camera/distributedcamera.gni") ohos_shared_library("distributed_camera_handler") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "//third_party/cJSON", "//third_party/jsoncpp/include", diff --git a/services/cameraservice/sinkservice/BUILD.gn b/services/cameraservice/sinkservice/BUILD.gn index 65e7dcebec52171e8531f6b1766181532149f510..830602c16e29397a20d149250de471a40542ed6e 100644 --- a/services/cameraservice/sinkservice/BUILD.gn +++ b/services/cameraservice/sinkservice/BUILD.gn @@ -17,12 +17,6 @@ import( "//foundation/distributedhardware/distributed_camera/distributedcamera.gni") ohos_shared_library("distributed_camera_sink") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${av_transport_path}/common/include", "${graphicstandard_path}/frameworks/surface/include", diff --git a/services/cameraservice/sourceservice/BUILD.gn b/services/cameraservice/sourceservice/BUILD.gn index 3a4e289edf84bfacdfe5c1d3f49b9210977221db..09f33f1a15e78e43c00bcaa2284f94c5336eb8f3 100644 --- a/services/cameraservice/sourceservice/BUILD.gn +++ b/services/cameraservice/sourceservice/BUILD.gn @@ -17,12 +17,6 @@ import( "//foundation/distributedhardware/distributed_camera/distributedcamera.gni") ohos_shared_library("distributed_camera_source") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${av_transport_path}/common/include", "${fwk_common_path}/utils/include", diff --git a/services/channel/BUILD.gn b/services/channel/BUILD.gn index 637c545c420c5069747ee2f7f124b4a6c6ce2c79..066c224a6adce7963db26fcca508206b158a8db8 100644 --- a/services/channel/BUILD.gn +++ b/services/channel/BUILD.gn @@ -17,12 +17,6 @@ import( "//foundation/distributedhardware/distributed_camera/distributedcamera.gni") ohos_shared_library("distributed_camera_channel") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${av_transport_path}/common/include", "${fwk_common_path}/utils/include", diff --git a/services/data_process/BUILD.gn b/services/data_process/BUILD.gn index a4a663010bdb3c668c7fca983a2e0b4ffaafa008..64f5fd084b89446f00ad69c208ac66d08ea07b88 100644 --- a/services/data_process/BUILD.gn +++ b/services/data_process/BUILD.gn @@ -17,12 +17,6 @@ import( "//foundation/distributedhardware/distributed_camera/distributedcamera.gni") ohos_shared_library("distributed_camera_data_process") { - sanitize = { - boundary_sanitize = true - integer_overflow = true - ubsan = true - } - stack_protector_ret = true include_dirs = [ "${fwk_common_path}/utils/include", "${fwk_utils_path}/include/eventbus",