diff --git a/services/test/unittest/common/BUILD.gn b/services/test/unittest/common/BUILD.gn index f654300f263b6e1229972c81284a51a81060e8e3..fee3a14bc32d66d29b826bf13fd729e64da463c0 100644 --- a/services/test/unittest/common/BUILD.gn +++ b/services/test/unittest/common/BUILD.gn @@ -29,15 +29,23 @@ if (defined(ohos_lite)) { include_dirs = [ "//base/startup/init_lite/services/include", + "//base/startup/init_lite/services/param/include", "//base/startup/init_lite/services/log", + "//third_party/cJSON", + "//third_party/bounds_checking_function/include", + "//base/startup/syspara_lite/interfaces/kits", ] sources = [ "//base/startup/init_lite/services/src/init_adapter.c", + "//base/startup/init_lite/services/src/init_capability.c", "//base/startup/init_lite/services/src/init_cmds.c", + "//base/startup/init_lite/services/src/init_import.c", "//base/startup/init_lite/services/src/init_jobs.c", + "//base/startup/init_lite/services/src/init_read_cfg.c", "//base/startup/init_lite/services/src/init_service.c", "//base/startup/init_lite/services/src/init_service_manager.c", + "//base/startup/init_lite/services/src/init_service_socket.c", "//base/startup/init_lite/services/src/init_signal_handler.c", "//base/startup/init_lite/services/src/init_utils.c", "//base/startup/init_lite/services/src/init_reboot.c", @@ -45,6 +53,8 @@ if (defined(ohos_lite)) { ] deps = [ + "//base/startup/init_lite/initsync:initsync", + "//base/startup/init_lite/services/log:init_log", "//base/startup/syspara_lite/frameworks/parameter:parameter", "//build/lite/config/component/cJSON:cjson_shared", "//third_party/bounds_checking_function:libsec_shared",