diff --git a/services/begetctl/BUILD.gn b/services/begetctl/BUILD.gn index d2bff608abf7e830aed2ab7d96cb7c9b995a576e..13b56e59803d5d14d5684f2afcc538dd314db6e0 100755 --- a/services/begetctl/BUILD.gn +++ b/services/begetctl/BUILD.gn @@ -86,6 +86,7 @@ if (defined(ohos_lite)) { "//base/startup/init/interfaces/innerkits/control_fd:libcontrolfd", "//base/startup/init/services/sandbox:sandbox", "//third_party/bounds_checking_function:libsec_shared", + "//third_party/cJSON:cjson", ] external_deps = [ "c_utils:utils" ] diff --git a/services/sandbox/BUILD.gn b/services/sandbox/BUILD.gn index 5773e345d2d0584a0c0dfca47d0130edc6eac64a..ae3680aeb9bb2a7342eedf24e9e8244708ff9668 100755 --- a/services/sandbox/BUILD.gn +++ b/services/sandbox/BUILD.gn @@ -30,10 +30,10 @@ ohos_static_library("sandbox") { public_configs = [ ":exported_header_files" ] include_dirs = [ "//third_party/bounds_checking_function/include", + "//third_party/cJSON", "//base/startup/init/services/include", "//base/startup/init/interfaces/innerkits/include", ] - public_deps = [ "//third_party/cJSON:cjson" ] if (target_cpu == "arm64") { defines = [ "SUPPORT_64BIT" ] }