Add --skip-ro-app option
authorWoongsuk Cho <ws77.cho@samsung.com>
Tue, 29 Mar 2022 22:34:50 +0000 (07:34 +0900)
committer조웅석/Common Platform Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Tue, 19 Apr 2022 22:22:44 +0000 (07:22 +0900)
commit6c700b156c497c87eb2857f10fe4429302589b2c
treeab767749552c0e001b7f96efcbd0ecf86cf535b7
parent75d13c5fcfebe88ec7363ce6f482cda616418e38
Add --skip-ro-app option

The "--ni-regen-all-app" option performs AOTC again for all installed apps.
If the "--ni-regen-all-app" option is performed after FOTA (OTN),
an error may occur or unnecessary AOTC may be performed by running AOTC for an app installed in the RO area.

To avoid this situation, the "--skip-ro-app" option is added.
If this option is set, native image regenration for apps installed in the RO area is skipped.

Note! this option works with "--ni-regen-all-app" option only.
NativeLauncher/inc/ni_common.h
NativeLauncher/tool/dotnettool.cc
NativeLauncher/tool/ni_common.cc
packaging/715.dotnet_regen_app_ni.patch.sh