!243 open transform js file to bc file

Merge pull request !243 from shilei91/cherry-pick-1670506846
This commit is contained in:
openharmony_ci
2022-12-12 07:31:21 +00:00
committed by Gitee
2 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -42,7 +42,10 @@ if (ohos_kernel_type == "liteos_m") {
}
if (enable_ohos_bundle_manager_service_permission == true) {
defines += [ "_MINI_BMS_PERMISSION_" ]
defines += [
"_MINI_BMS_PERMISSION_",
"BC_TRANS_ENABLE",
]
}
deps = [
@@ -290,6 +290,9 @@ bool GtManagerService::RegisterInstallerCallback(InstallerCallback installerCall
if (installerCallback == nullptr) {
return false;
}
#ifdef BC_TRANS_ENABLE
ScanPackages();
#endif
InstallPreBundle(systemPathList_, installerCallback);
return true;
}