rules_cc/examples
Googler 608c7b605f C++: Make permissions check optional in cc_shared_library
The cc_shared_library_permissions mechanism was introduced to add control over
which cc_shared_libraries can export a given cc_library. If the repo is big
enough, the owner of a cc_library might want to prevent someone else in a
different package making their library part of the ABI of a public shared
library because that makes it harder to change the cc_library. This does not
apply accross repositories because a dependant repository can overwrite
anything from a repository dependency anyway.

However, it is becoming more apparent than even though this mechanism should
exist, it should not be enabled by default since most people don't need it. To
enable it pass the flag --//examples:enable_permissions_check=True.

RELNOTES:none
PiperOrigin-RevId: 363171677
Change-Id: I8afb3294806bb3053ee1279c6e9c5355089bccbb
2021-03-16 06:45:21 -07:00
..
my_c_archive Update rules_cc to use the correct toolchain type (@bazel_tools//tools/cpp:toolchain_type). 2021-03-05 09:10:23 -08:00
my_c_compile Update rules_cc to use the correct toolchain type (@bazel_tools//tools/cpp:toolchain_type). 2021-03-05 09:10:23 -08:00
test_cc_shared_library Tests for unknown commit 2021-03-05 08:35:07 -08:00
test_cc_shared_library2 Change cc_shared_library exports logic. 2020-05-08 06:35:54 -07:00
test_cc_shared_library3 Change cc_shared_library exports logic. 2020-05-08 06:35:54 -07:00
write_cc_toolchain_cpu Update rules_cc to use the correct toolchain type (@bazel_tools//tools/cpp:toolchain_type). 2021-03-05 09:10:23 -08:00
BUILD C++: Make permissions check optional in cc_shared_library 2021-03-16 06:45:21 -07:00
experimental_cc_shared_library.bzl C++: Make permissions check optional in cc_shared_library 2021-03-16 06:45:21 -07:00