src/coreclr/inc/readme.md
This directory has a variety of .idl files (such as corprof.idl) that need a little special handling when you make changes. Originally when we built on Windows only the build rules would automatically convert the idls into corresponding .h/.c files and include them in compilations. On non-windows platforms we don't have an equivalent for midl.exe which did that conversion so we work around the issue by doing:
artifacts\obj\windows.x64.Debug\inc\idls_out\src\coreclr\pal\prebuilt\inc\src\coreclr\pal\prebuilt\idl\ by hand, using the corresponding artifacts\obj\windows.x64.Debug\inc\idls_out\*_i.c as a guide.
MIDL_DEFINE_GUID(...) for any new classes/interfaces that have been added to the idl file.Include these src changes with the remainder of your work when you submit a PR.