Bug-fix: fix target dll searching logic accepted/tizen_unified tizen accepted/tizen/unified/20240423.164559
authorWoongsuk Cho <ws77.cho@samsung.com>
Tue, 16 Apr 2024 04:20:11 +0000 (13:20 +0900)
committer조웅석/MDE Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Tue, 16 Apr 2024 04:38:20 +0000 (13:38 +0900)
check the target dll is an R2R image or not

NativeLauncher/tool/ni_common.cc

index 36c2040..3b463cf 100644 (file)
@@ -321,7 +321,7 @@ static ni_error_e getTargetDllList(const std::string& path, std::vector<std::str
        }
 
        auto func = [&fileList, opt](const std::string& f_path, const std::string& f_name) {
-               if (isManagedAssembly(f_name) && !checkNIExistence(f_path, opt)) {
+               if (isManagedAssembly(f_name) && !isR2RImage(f_path) && !checkNIExistence(f_path, opt)) {
                        fileList.push_back(getAbsolutePath(f_path));
                }
        };