
Set flags directly on the target, and use common function for all cases. This refactoring helps with the next commit for test executables. Ref D8714
Set flags directly on the target, and use common function for all cases. This refactoring helps with the next commit for test executables. Ref D8714