2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-25 17:31:25 +00:00
rules_foreign_cc/tools/build_defs
irengrig 4965090335
External C/C++ libraries rules need to pass transitive info (#112)
* 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
2018-10-05 22:04:54 +02:00
..
boost_build.bzl Refactor framework function: configure_script to be a callback (#104) 2018-09-17 14:27:35 +02:00
BUILD
cc_toolchain_util.bzl Replace cc_common.create_symlink_library_to_link calls (#117) 2018-10-02 12:39:58 +02:00
cmake.bzl Refactor framework function: configure_script to be a callback (#104) 2018-09-17 14:27:35 +02:00
cmake_script.bzl
configure.bzl External C/C++ libraries rules need to pass transitive info (#112) 2018-10-05 22:04:54 +02:00
configure_script.bzl External C/C++ libraries rules need to pass transitive info (#112) 2018-10-05 22:04:54 +02:00
detect_root.bzl
framework.bzl External C/C++ libraries rules need to pass transitive info (#112) 2018-10-05 22:04:54 +02:00
version.bzl External C/C++ libraries rules need to pass transitive info (#112) 2018-10-05 22:04:54 +02:00