From c8b0cb9565f9f2310c251391d48108caf0019807 Mon Sep 17 00:00:00 2001 From: anguanglin Date: Mon, 11 Jul 2022 02:14:05 +0800 Subject: [PATCH] min refactor: mv lite to build/hb Signed-off-by: anguanglin Change-Id: Ifcf6120ea55a84d1319ba883439fcf78549180f6 --- frameworks/bundle_lite/BUILD.gn | 4 ++-- interfaces/kits/bundle_lite/js/builtin/BUILD.gn | 4 ++-- services/bundlemgr_lite/BUILD.gn | 8 ++++---- services/bundlemgr_lite/bundle_daemon/BUILD.gn | 4 ++-- services/bundlemgr_lite/tools/BUILD.gn | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/frameworks/bundle_lite/BUILD.gn b/frameworks/bundle_lite/BUILD.gn index bb9d388..1b74fc4 100644 --- a/frameworks/bundle_lite/BUILD.gn +++ b/frameworks/bundle_lite/BUILD.gn @@ -10,8 +10,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -import("//build/lite/config/component/lite_component.gni") -import("//build/lite/ndk/ndk.gni") +import("//build/hb/config/component/lite_component.gni") +import("//build/hb/ndk/ndk.gni") generate_notice_file("bundle_notice_file") { module_name = "bundle" diff --git a/interfaces/kits/bundle_lite/js/builtin/BUILD.gn b/interfaces/kits/bundle_lite/js/builtin/BUILD.gn index e0a252a..f933dc4 100644 --- a/interfaces/kits/bundle_lite/js/builtin/BUILD.gn +++ b/interfaces/kits/bundle_lite/js/builtin/BUILD.gn @@ -10,8 +10,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -import("//build/lite/config/component/lite_component.gni") -import("//build/lite/ndk/ndk.gni") +import("//build/hb/config/component/lite_component.gni") +import("//build/hb/ndk/ndk.gni") static_library("capability_api_simulator") { sources = [ "${appexecfwk_lite_path}/interfaces/kits/bundle_lite/js/builtin/src/capability_module.cpp" ] cflags = [ "-fPIC" ] diff --git a/services/bundlemgr_lite/BUILD.gn b/services/bundlemgr_lite/BUILD.gn index e93f45c..d540c5f 100644 --- a/services/bundlemgr_lite/BUILD.gn +++ b/services/bundlemgr_lite/BUILD.gn @@ -10,7 +10,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 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") config("bundle_config") { defines = [ "OHOS_APPEXECFWK_BMS_BUNDLEMANAGER" ] @@ -75,7 +75,7 @@ if (ohos_kernel_type == "liteos_m") { } } else { shared_library("bundlems") { - configs -= [ "//build/lite/config:language_cpp" ] + configs -= [ "//build/hb/config:language_cpp" ] configs += [ ":bundle_config" ] cflags = [ @@ -132,8 +132,8 @@ if (ohos_kernel_type == "liteos_m") { "//base/global/resource_management_lite/frameworks/resmgr_lite:global_resmgr", "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared", "//base/security/appverify/interfaces/innerkits/appverify_lite:verify", - "//build/lite/config/component/cJSON:cjson_shared", - "//build/lite/config/component/zlib:zlib_shared", + "//build/hb/config/component/cJSON:cjson_shared", + "//build/hb/config/component/zlib:zlib_shared", "//foundation/distributedschedule/samgr_lite/samgr:samgr", ] } diff --git a/services/bundlemgr_lite/bundle_daemon/BUILD.gn b/services/bundlemgr_lite/bundle_daemon/BUILD.gn index 1cf32f3..8d8ccc5 100755 --- a/services/bundlemgr_lite/bundle_daemon/BUILD.gn +++ b/services/bundlemgr_lite/bundle_daemon/BUILD.gn @@ -10,7 +10,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 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") generate_notice_file("bundle_daemon_lite_notice_file") { module_name = "bundle_daemon_lite" @@ -44,7 +44,7 @@ executable("bundle_daemon") { deps = [ "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared", - "//build/lite/config/component/zlib:zlib_shared", + "//build/hb/config/component/zlib:zlib_shared", "//foundation/distributedschedule/samgr_lite/samgr:samgr", ] diff --git a/services/bundlemgr_lite/tools/BUILD.gn b/services/bundlemgr_lite/tools/BUILD.gn index 9995ca4..b7db441 100644 --- a/services/bundlemgr_lite/tools/BUILD.gn +++ b/services/bundlemgr_lite/tools/BUILD.gn @@ -10,7 +10,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 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") generate_notice_file("bm_notice_file") { module_name = "bm" @@ -40,7 +40,7 @@ executable("bm") { "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared", "//base/security/permission/services/permission_lite/pms_client:pms_client", "//base/startup/syspara_lite/frameworks/parameter:parameter", - "//build/lite/config/component/cJSON:cjson_shared", + "//build/hb/config/component/cJSON:cjson_shared", "//foundation/communication/ipc/interfaces/innerkits/c/ipc:ipc_single", "//foundation/distributedschedule/samgr_lite/samgr:samgr", ] -- Gitee