Don't put name of build directory in #include line or macro names.
Currently, generate_library_loader generates an #include line looking like:
Since this contains the (variable) name of the build dir, these files
can't be cached by goma. Instead, rely on the header always being next to the
cc file in practice (and add a check enforcing that), and use:
Similarly, use LIBRARY_LOADER_LIBUDEV1_H_DLOPEN instead of
as guard macro name.
No intended behavior change.
Reviewed-by: Michael Spang <firstname.lastname@example.org>
Commit-Queue: Nico Weber <email@example.com>
1 file changed