From aee2384a87d48a842178bf11b53b35bd1a8acc09 Mon Sep 17 00:00:00 2001 From: anguanglin Date: Mon, 11 Jul 2022 01:19:42 +0800 Subject: [PATCH] min refactor: mv lite to build/hb Signed-off-by: anguanglin Change-Id: Ife5c12db72141d7ea3ca638d735a94e0248db902 --- BUILD.gn | 10 +++++----- napi/BUILD.gn | 2 +- test/unittest/common/BUILD.gn | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 93eaa57..17f5c39 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//build/lite/config/component/lite_component.gni") +import("//build/hb/config/component/lite_component.gni") import("//build/ohos.gni") config("pubilc") { @@ -40,7 +40,7 @@ ohos_executable("syscap_tool_bin") { deps = [ "//third_party/bounds_checking_function:libsec_static" ] if (defined(ohos_lite)) { - deps += [ "//build/lite/config/component/cJSON:cjson_static" ] + deps += [ "//build/hb/config/component/cJSON:cjson_static" ] } else { deps += [ "//third_party/cJSON:cjson_static" ] } @@ -65,7 +65,7 @@ ohos_executable("syscap_tool_test") { deps = [ "//third_party/bounds_checking_function:libsec_static" ] if (defined(ohos_lite)) { - deps += [ "//build/lite/config/component/cJSON:cjson_static" ] + deps += [ "//build/hb/config/component/cJSON:cjson_static" ] } else { deps += [ "//third_party/cJSON:cjson_static" ] } @@ -84,7 +84,7 @@ ohos_shared_library("syscap_tool_shared") { deps = [ "//third_party/bounds_checking_function:libsec_static" ] if (defined(ohos_lite)) { - deps += [ "//build/lite/config/component/cJSON:cjson_static" ] + deps += [ "//build/hb/config/component/cJSON:cjson_static" ] } else { deps += [ "//third_party/cJSON:cjson_static" ] } @@ -111,7 +111,7 @@ if (defined(ohos_lite)) { ] deps = [ - "//build/lite/config/component/cJSON:cjson_static", + "//build/hb/config/component/cJSON:cjson_static", "//third_party/bounds_checking_function:libsec_static", ] } diff --git a/napi/BUILD.gn b/napi/BUILD.gn index e7db3b1..98f299f 100644 --- a/napi/BUILD.gn +++ b/napi/BUILD.gn @@ -53,7 +53,7 @@ ohos_shared_library("systemcapability") { ] if (defined(ohos_lite)) { - deps += [ "//build/lite/config/component/cJSON:cjson_static" ] + deps += [ "//build/hb/config/component/cJSON:cjson_static" ] } else { deps += [ "//third_party/cJSON:cjson_static" ] } diff --git a/test/unittest/common/BUILD.gn b/test/unittest/common/BUILD.gn index 0048ecf..1d85a93 100644 --- a/test/unittest/common/BUILD.gn +++ b/test/unittest/common/BUILD.gn @@ -12,8 +12,8 @@ # limitations under the License. if (defined(ohos_lite)) { - import("//build/lite/config/component/lite_component.gni") - import("//build/lite/config/test.gni") + import("//build/hb/config/component/lite_component.gni") + import("//build/hb/config/test.gni") test_output_root = "$root_out_dir/test/unittest/syscap_codec" executable("test_syscap_napi_unittest") { @@ -48,14 +48,14 @@ if (defined(ohos_lite)) { "//third_party/bounds_checking_function:libsec_static", ] - deps += [ "//build/lite/config/component/cJSON:cjson_static" ] + deps += [ "//build/hb/config/component/cJSON:cjson_static" ] } group("unittest") { deps = [ ":test_syscap_napi_unittest" ] } } else { - import("//build/lite/config/component/lite_component.gni") + import("//build/hb/config/component/lite_component.gni") import("//build/ohos.gni") import("//build/test.gni") -- Gitee