!222 启动编译宏打开FS选项

Merge pull request !222 from 李天刚/master
This commit is contained in:
openharmony_ci
2024-08-29 10:08:03 +00:00
committed by Gitee
14 changed files with 163 additions and 13 deletions
+12 -1
View File
@@ -45,6 +45,12 @@ ohos_shared_library("libdinput_dfx_utils") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
deps = [ "${utils_path}:libdinput_utils" ]
external_deps = [
@@ -58,7 +64,12 @@ ohos_shared_library("libdinput_dfx_utils") {
"samgr:samgr_proxy",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+12 -1
View File
@@ -45,6 +45,12 @@ ohos_shared_library("libdinput_handler") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
deps = [
"${services_state_path}:libdinput_sink_state",
"${utils_path}:libdinput_utils",
@@ -66,7 +72,12 @@ ohos_shared_library("libdinput_handler") {
"samgr:samgr_proxy",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+12 -1
View File
@@ -95,6 +95,12 @@ ohos_shared_library("libdinput_sdk") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
external_deps = [
"access_token:libaccesstoken_sdk",
"access_token:libtokenid_sdk",
@@ -109,7 +115,12 @@ ohos_shared_library("libdinput_sdk") {
"samgr:samgr_proxy",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+12 -1
View File
@@ -44,6 +44,12 @@ ohos_shared_library("libdinput_collector") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
deps = [
"${services_state_path}:libdinput_sink_state",
"${utils_path}:libdinput_utils",
@@ -65,7 +71,12 @@ ohos_shared_library("libdinput_collector") {
"samgr:samgr_proxy",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+12 -1
View File
@@ -55,6 +55,12 @@ ohos_shared_library("libdinput_sink") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
deps = [
"${dfx_utils_path}:libdinput_dfx_utils",
"${distributedinput_path}/services/state:libdinput_sink_state",
@@ -88,7 +94,12 @@ ohos_shared_library("libdinput_sink") {
"window_manager:libdm",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+12 -1
View File
@@ -46,6 +46,12 @@ ohos_shared_library("libdinput_sink_trans") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
deps = [
"${dfx_utils_path}:libdinput_dfx_utils",
"${distributedinput_path}/services/transportbase:libdinput_trans_base",
@@ -70,7 +76,12 @@ ohos_shared_library("libdinput_sink_trans") {
"samgr:samgr_proxy",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+12 -1
View File
@@ -49,6 +49,12 @@ ohos_shared_library("libdinput_inject") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
deps = [
"${dfx_utils_path}:libdinput_dfx_utils",
"${services_state_path}:libdinput_sink_state",
@@ -72,7 +78,12 @@ ohos_shared_library("libdinput_inject") {
"samgr:samgr_proxy",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+12 -1
View File
@@ -92,6 +92,12 @@ ohos_shared_library("libdinput_source") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
deps = [
"${dfx_utils_path}:libdinput_dfx_utils",
"${distributedinput_path}/services/transportbase:libdinput_trans_base",
@@ -123,7 +129,12 @@ ohos_shared_library("libdinput_source") {
"samgr:samgr_proxy",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+12 -1
View File
@@ -45,6 +45,12 @@ ohos_shared_library("libdinput_source_trans") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
deps = [
"${dfx_utils_path}:libdinput_dfx_utils",
"${distributedinput_path}/services/transportbase:libdinput_trans_base",
@@ -68,7 +74,12 @@ ohos_shared_library("libdinput_source_trans") {
"samgr:samgr_proxy",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+12 -1
View File
@@ -49,6 +49,12 @@ ohos_shared_library("libdinput_sink_state") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
deps = [
"${dfx_utils_path}:libdinput_dfx_utils",
"${services_sink_path}/transport:libdinput_sink_trans",
@@ -70,7 +76,12 @@ ohos_shared_library("libdinput_sink_state") {
"samgr:samgr_proxy",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+12 -1
View File
@@ -44,6 +44,12 @@ ohos_shared_library("libdinput_trans_base") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
deps = [
"${dfx_utils_path}:libdinput_dfx_utils",
"${utils_path}:libdinput_utils",
@@ -66,7 +72,12 @@ ohos_shared_library("libdinput_trans_base") {
"samgr:samgr_proxy",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+12 -1
View File
@@ -50,6 +50,12 @@ ohos_shared_library("libdinput_sink_handler") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
deps = [
"${dfx_utils_path}:libdinput_dfx_utils",
"${innerkits_path}:libdinput_sdk",
@@ -68,7 +74,12 @@ ohos_shared_library("libdinput_sink_handler") {
"samgr:samgr_proxy",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+12 -1
View File
@@ -52,6 +52,12 @@ ohos_shared_library("libdinput_source_handler") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
deps = [
"${dfx_utils_path}:libdinput_dfx_utils",
"${innerkits_path}:libdinput_sdk",
@@ -71,7 +77,12 @@ ohos_shared_library("libdinput_source_handler") {
"samgr:samgr_proxy",
]
cflags_cc = [ "-DHILOG_ENABLE" ]
cflags_cc = [
"-DHILOG_ENABLE",
"-fstack-protector-strong",
"-D_FORTIFY_SOURCE=2",
"-O2",
]
subsystem_name = "distributedhardware"
+7
View File
@@ -44,6 +44,13 @@ ohos_shared_library("libdinput_utils") {
"LOG_DOMAIN=0xD004120",
]
cflags = [
"-O2",
"-D_FORTIFY_SOURCE=2",
]
cflags_cc = cflags
external_deps = [
"c_utils:utils",
"distributed_hardware_fwk:distributed_av_receiver",