this pr attempt to fix when building a cmake target which depends a cc_library target, the @rules_foreign_cc doesn't keep original header file layout of cc_library. for example, if a cmake target depends @com_google_absl//absl/base,current version of @rules_foreign_c will create symlinks of like $EXT_BUILD_DEPS/include/attributes.h, instead of $EXT_BUILDS_DEPS/include/absl/base/attributes.h
this pr attempt to fix when building a cmake target which depends a cc_library target, the
@rules_foreign_cc
doesn't keep original header file layout of cc_library. for example, if a cmake target depends@com_google_absl//absl/base
,current version of@rules_foreign_c
will create symlinks of like$EXT_BUILD_DEPS/include/attributes.h
, instead of$EXT_BUILDS_DEPS/include/absl/base/attributes.h