diff --git a/BUILD.gn b/BUILD.gn index 93eaa57bdf6d5d8548fdc4503d31dfada921acae..17f5c390a518e300fd83033af330db1cecc9e72e 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 e7db3b1b5d9dc6c321fbe0e1192c36c45bdd54ea..98f299f89823565d96b3c7ff651022df68633d40 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 0048ecf1bd59e3cc7749b7efb0e65c833d42366a..1d85a93a9da550585ffb3b4625c8ea7423e212ea 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")