Merge "Add profile support for apps with shared runtime."