Add --skip-ro-app option (#396)
author조웅석/Common Platform Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Tue, 29 Mar 2022 04:36:50 +0000 (13:36 +0900)
committerWoongsuk Cho <ws77.cho@samsung.com>
Tue, 29 Mar 2022 22:51:33 +0000 (07:51 +0900)
commitcf50ebef1774e286e7ac25c6e18aacd6268c2cb7
tree396ca720aefc2946afd236add3c353b00a700ea7
parent4d1949e6d76a4fa7a2f2653953961369133bbeb5
Add --skip-ro-app option (#396)

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