Note: GN Flags are Build time flags
You can get a comprehensive list of all arguments supported by gn by running the command gn args --list out/some-directory (the directory passed to gn args is required as gn args will invokes gn gen to generate the build.ninja files).
Flag for building chromium for CfM devices.
$ gn args out_<cfm_overlay>/{Release||Debug} --list=is_cfm
$ gn args out_<cfm_overlay>/{Release||Debug} $ Editor will open add is_cfm=true save and exit
We can alternatively use the EnrollmentRequisitionManager to determine if chromium is running a CfM enabled Platform in source code
policy::EnrollmentRequisitionManager::IsRemoraRequisition();