Merge "Add local preopt options for generating app image and profile"