diff --git a/bundle.json b/bundle.json index c0e585bc6c2d90fc885792e478ae976b1e479f76..1a9d2b39003889d222f27cfae4e22d5c9aca74cf 100644 --- a/bundle.json +++ b/bundle.json @@ -31,7 +31,9 @@ "device_security_level", "hilog", "init", - "c_utils" + "c_utils", + "cJSON", + "selinux_adapter" ], "third_party": [] }, diff --git a/interfaces/inner_api/datatransmitmgr/BUILD.gn b/interfaces/inner_api/datatransmitmgr/BUILD.gn index d2042f9da9b526a1d54e342f3f218983feda51fa..1f0dfe4182a810751763530be5126344d3a62265 100644 --- a/interfaces/inner_api/datatransmitmgr/BUILD.gn +++ b/interfaces/inner_api/datatransmitmgr/BUILD.gn @@ -64,7 +64,9 @@ ohos_shared_library("data_transit_mgr") { defines = [ "HILOG_ENABLE" ] cflags = [ + "-D_FORTIFY_SOURCE=2", "-DHILOG_ENABLE", "-Wall", + "-fstack-protector-strong", ] }