Add "--resolve-all-app" option to dotnettool
authorWoongsuk Cho <ws77.cho@samsung.com>
Tue, 22 Dec 2020 04:16:52 +0000 (13:16 +0900)
committer조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 <ws77.cho@samsung.com>
Wed, 23 Dec 2020 23:52:02 +0000 (08:52 +0900)
commitebad648f17029c908403b945f4c04631a25e4312
treed3fe2dd45cab98efaff6f4a1d7f203374391ca2f
parent9f8c470f8f7d30fc13ae3420277feca1cccd7a1f
Add "--resolve-all-app" option to dotnettool

A patch that resolves the "bin/runtimes" directory to support multi-targeting at the app installation time was added after Tizen 6.0.
After applying this patch, it has been changed to no longer refer to the "bin/runtimes" directory of the application.
However, if the target is upgraded by FOTA, installed applications may have "bin/runtimes" directory.

To solve this problem, "--resolve-all-app" option is added to dotnettool and the FOTA script is also updated.
When you run below command, all installed .net application's platform specific files are resolved.
NativeLauncher/CMakeLists.txt
NativeLauncher/inc/multi_target_resolver.h [new file with mode: 0644]
NativeLauncher/installer-plugin/delete_unused_library_plugin.cc
NativeLauncher/tool/dotnettool.cc
NativeLauncher/tool/multi_target_resolver.cc [new file with mode: 0644]
packaging/715.dotnet_regen_app_ni.patch.sh
packaging/dotnet-launcher.spec