From e778038c4e94804ed12145becdf1f7f9db1f7040 Mon Sep 17 00:00:00 2001 From: x00405909 Date: Sat, 3 Jul 2021 14:07:23 +0800 Subject: [PATCH] imodify test build Signed-off-by: x00405909 Change-Id: I88cbfed51b8346a9ebd90be5900ac9d44f11d955 Signed-off-by: x00405909 modified: services/test/uNittest/common/BUILD.gn modified: services/test/unittest/common/BUILD.gn Change-Id: I39f6740a48ff14c42d63a9b3b0ba90e243807122 --- services/test/unittest/common/BUILD.gn | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/services/test/unittest/common/BUILD.gn b/services/test/unittest/common/BUILD.gn index f654300f..fee3a14b 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", -- GitLab