Merge "Include tests directories in the linker legacy configuration."