return doAOTList(dllList, refPaths, opt);
}
-static ni_error_e removeAndCreateNI(const char* pkgId, NIOption* pOptions)
-{
- if (removeNIUnderPkgRoot(pkgId) != NI_ERROR_NONE) {
- _SERR("Failed to remove previous dlls from [%s]", pkgId);
- return NI_ERROR_UNKNOWN;
- }
-
- if (createNIUnderPkgRoot(pkgId, pOptions) != NI_ERROR_NONE) {
- _SERR("Failed to generate NI file [%s]", pkgId);
- return NI_ERROR_UNKNOWN;
- }
-
- _SOUT("Complete make native image for pkg (%s)", pkgId);
- return NI_ERROR_NONE;
-}
-
// callback function of "pkgmgrinfo_appinfo_metadata_filter_foreach"
static int appAotCb(pkgmgrinfo_appinfo_h handle, void *userData)
{