mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-12-04 08:02:31 +00:00
4965090335
* External C/C++ libraries rules need to pass transitive info - to have the same interface as cc_library to hide the "implementation details", so that the information about the install directory and its contents of non-direct external dependencies of external library was available for external build - this is particularly needed for configure-make rule, where we do not control the way needed libraries are found, so we want to provide the install directory and the -L, -I flags (include and library directories to be searched) consistently, pointing to the directories under $EXT_BUILD_DEPS - as a side effect, *.la files that contained links to absolute paths of dependencies (pointing somewhere under ...sandbox/bazel-out/...) now will point to directories under $EXT_BUILD_DEPS and so will be replaced correctly/will not point to paths under the previous sandbox * External C/C++ libraries rules need to pass transitive info [improve] By review comments; - rename to do not collate with internally reserved list, dir, provider - rename providers to use the same "foreign_cc" prefix and be shorter - improve providers description - return back output groups to do not reduce the flexibility * External C/C++ libraries rules need to pass transitive info [improve] By review comments: - some more renames * External C/C++ libraries rules need to pass transitive info: version++ * Correct review comments |
||
---|---|---|
.. | ||
arc.c | ||
bazel-icon-transparent.png | ||
BUILD | ||
libpng_usage_example.cpp | ||
test_libgd.sh | ||
test_libpng.sh | ||
test_zlib.sh | ||
zlib-example.cpp |