硬件PAC向后CFI整改

Signed-off-by: lzm <linziming2@huawei.com>
Change-Id: I5e3d383c616a9437b48b9f1e237846e0ec62d876
This commit is contained in:
lzm 2024-08-30 09:49:35 +08:00
parent d0bd815b17
commit 9f87262443
26 changed files with 30 additions and 30 deletions

View File

@ -165,7 +165,7 @@ config("av_codec_client_drm_config") {
}
ohos_shared_library("av_codec_client") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
public_configs = [
":av_codec_client_local_config",

View File

@ -20,7 +20,7 @@ config("av_codec_service_log_dfx_public_config") {
}
ohos_shared_library("av_codec_service_dfx") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize

View File

@ -15,7 +15,7 @@ import("//build/ohos.gni")
import("//foundation/multimedia/av_codec/config.gni")
ohos_static_library("av_codec_codec_base") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
cflags = [
"-std=c++17",
"-fno-rtti",

View File

@ -15,7 +15,7 @@ import("//build/ohos.gni")
import("//foundation/multimedia/av_codec/config.gni")
ohos_static_library("av_codec_audio_ffmpeg_codec") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
cflags = [
"-std=c++17",
"-fno-rtti",

View File

@ -15,7 +15,7 @@ import("//build/ohos.gni")
import("//foundation/multimedia/av_codec/config.gni")
ohos_static_library("av_codec_video_loader") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
sanitize = av_codec_sanitize
include_dirs = [
"$av_codec_root_dir/interfaces/inner_api/native",

View File

@ -24,7 +24,7 @@ config("fcodec_public_cfg") {
}
ohos_shared_library("fcodec") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize
public_configs = [ ":fcodec_public_cfg" ]

View File

@ -28,7 +28,7 @@ config("hcodec_cfg") {
}
ohos_shared_library("hcodec") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
subsystem_name = "multimedia"
part_name = "av_codec"

View File

@ -24,7 +24,7 @@ config("hevc_decoder_public_cfg") {
}
ohos_shared_library("hevc_decoder") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize
public_configs = [ ":hevc_decoder_public_cfg" ]

View File

@ -15,7 +15,7 @@ import("//build/ohos.gni")
import("//foundation/multimedia/av_codec/config.gni")
ohos_static_library("av_codec_engine_codeclist") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
sanitize = av_codec_sanitize
include_dirs = [
"./",

View File

@ -15,7 +15,7 @@ import("//build/ohos.gni")
import("//foundation/multimedia/av_codec/config.gni")
ohos_static_library("av_codec_engine_common") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
sanitize = av_codec_sanitize
include_dirs = [

View File

@ -55,7 +55,7 @@ config("av_codec_media_engine_filters_config") {
}
ohos_shared_library("av_codec_media_engine_filters") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize

View File

@ -48,7 +48,7 @@ config("av_codec_media_engine_modules_config") {
}
ohos_shared_library("av_codec_media_engine_modules") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize

View File

@ -48,7 +48,7 @@ config("ffmpeg_adapter_config") {
}
ohos_shared_library("media_plugin_FFmpegMuxer") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize
@ -80,7 +80,7 @@ ohos_shared_library("media_plugin_FFmpegMuxer") {
}
ohos_shared_library("media_plugin_FFmpegDemuxer") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize

View File

@ -57,7 +57,7 @@ config("ffmpeg_adapter_config") {
}
ohos_shared_library("media_plugin_FFmpegAudioDecoders") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize
configs = [

View File

@ -51,7 +51,7 @@ config("ffmpeg_adapter_config") {
}
ohos_shared_library("media_plugin_G711muAudioDecoder") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
sanitize = av_codec_sanitize
install_enable = true
configs = [

View File

@ -51,7 +51,7 @@ config("adapter_config") {
}
ohos_shared_library("media_plugin_LbvcAudioDecoder") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize

View File

@ -52,7 +52,7 @@ config("ffmpeg_adapter_config") {
}
ohos_shared_library("media_plugin_FFmpegAudioEncoders") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize
configs = [

View File

@ -51,7 +51,7 @@ config("ffmpeg_adapter_config") {
}
ohos_shared_library("media_plugin_G711muAudioEncoder") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize
configs = [

View File

@ -51,7 +51,7 @@ config("adapter_config") {
}
ohos_shared_library("media_plugin_LbvcAudioEncoder") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize

View File

@ -52,7 +52,7 @@ config("mp3_encoder_config") {
ohos_shared_library("media_plugin_Mp3AudioEncoder") {
install_enable = true
stack_protector_ret = true
branch_protector_ret = "pac_ret"
sanitize = av_codec_sanitize
configs = [

View File

@ -41,7 +41,7 @@ config("audio_server_sink_plugin_config") {
}
ohos_shared_library("media_plugin_AudioServerSink") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize

View File

@ -46,7 +46,7 @@ config("Source_config") {
}
ohos_shared_library("media_plugin_FileFdSource") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize
@ -73,7 +73,7 @@ ohos_shared_library("media_plugin_FileFdSource") {
}
ohos_shared_library("media_plugin_FileSource") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = {
@ -107,7 +107,7 @@ ohos_shared_library("media_plugin_FileSource") {
}
ohos_shared_library("media_plugin_DataStreamSource") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize

View File

@ -51,7 +51,7 @@ config("http_source_plugin_config") {
}
ohos_shared_library("media_plugin_HttpSource") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize
@ -71,7 +71,7 @@ ohos_shared_library("media_plugin_HttpSource") {
}
ohos_static_library("media_plugin_HttpSource_static") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
sanitize = av_codec_sanitize
configs = [

View File

@ -41,7 +41,7 @@ config("http_curl_client_config") {
}
ohos_static_library("http_curl_client") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
sanitize = av_codec_sanitize
configs = [

View File

@ -106,7 +106,7 @@ config("av_codec_service_config") {
}
ohos_shared_library("av_codec_service") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize

View File

@ -15,7 +15,7 @@ import("//build/ohos.gni")
import("//foundation/multimedia/av_codec/config.gni")
ohos_shared_library("av_codec_service_utils") {
stack_protector_ret = true
branch_protector_ret = "pac_ret"
install_enable = true
sanitize = av_codec_sanitize