summaryrefslogtreecommitdiff
path: root/NativeLauncher/installer-plugin/prefer_dotnet_aot_plugin.cc
diff options
context:
space:
mode:
author조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 <ws77.cho@samsung.com>2019-07-18 07:36:23 +0900
committerGitHub Enterprise <noreply-CODE@samsung.com>2019-07-18 07:36:23 +0900
commit2141de28e59bb14d102a257f444727a24e227291 (patch)
treef16bf24350da21a9f44caa234c9374541bbdbeaf /NativeLauncher/installer-plugin/prefer_dotnet_aot_plugin.cc
parent1dd653056f5b9e805de8833ff643edcf736e47a0 (diff)
downloadlauncher-2141de28e59bb14d102a257f444727a24e227291.tar.gz
launcher-2141de28e59bb14d102a257f444727a24e227291.tar.bz2
launcher-2141de28e59bb14d102a257f444727a24e227291.zip
Keep api for backward-compatibility and code clean-up (#82)
"ni-common.h" contains exposed API set. That APIs already used in VD tools So, the interface should not be changed for compatibility. And the parameter "doGenUniqueBaseSystem" can be removed. We decided to apply the base address to the TPA dll only. So, we can decied whether applying the base address or not with TPA list checking.
Diffstat (limited to 'NativeLauncher/installer-plugin/prefer_dotnet_aot_plugin.cc')
-rw-r--r--NativeLauncher/installer-plugin/prefer_dotnet_aot_plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/NativeLauncher/installer-plugin/prefer_dotnet_aot_plugin.cc b/NativeLauncher/installer-plugin/prefer_dotnet_aot_plugin.cc
index 494dddc..af9c323 100644
--- a/NativeLauncher/installer-plugin/prefer_dotnet_aot_plugin.cc
+++ b/NativeLauncher/installer-plugin/prefer_dotnet_aot_plugin.cc
@@ -83,7 +83,7 @@ extern "C" int PKGMGR_MDPARSER_PLUGIN_INSTALL(const char *pkgId, const char *app
std::string originPath = bf::read_symlink(symPath).string();
std::string originNiPath = originPath.substr(0, originPath.rfind(".dll")) + ".ni.dll";
if (!bf::exists(originNiPath)) {
- if(createNiDll(originPath, false, false) != NI_ERROR_NONE) {
+ if(createNiDll(originPath, false) != NI_ERROR_NONE) {
_ERR("Failed to create NI file [%s]", originPath.c_str());
return -1;
}