2
0
Fork 0
mirror of https://github.com/bazelbuild/rules_cc synced 2024-11-28 21:34:00 +00:00
rules_cc/examples/test_cc_shared_library
Googler 8c31dd406c Change cc_shared_library exports logic.
Changes in this CL:
1. 'exports' attribute renamed to roots
2. Removed restrictions for exporting a rule in a different repository
3. Kept restrictions for rules in the same repository but not in the same
package or subpackages
4. To get around restrictions, instead of the exported_by tag, one can use the
cc_shared_library_permissions rule
5. Added exports_filter that will match libraries in the transitive closure of
a root. Anything matched by the exports_filter will also be exported.
Restrictions as in 4. still apply.

RELNOTES:none
PiperOrigin-RevId: 310547916
Change-Id: I32d8e0d4dd4bcc9c9e92f4ff3c5b2a01564c31b2
2020-05-08 06:35:54 -07:00
..
failing_targets Change cc_shared_library exports logic. 2020-05-08 06:35:54 -07:00
a_suffix.cc Change cc_shared_library exports logic. 2020-05-08 06:35:54 -07:00
a_suffix.h Change cc_shared_library exports logic. 2020-05-08 06:35:54 -07:00
additional_script.txt Allow unlimited number of additional linker inputs for cc_shared_library 2020-02-19 00:10:00 -08:00
bar.cc Adds example usage of cc_shared_library 2019-11-14 02:03:24 -08:00
bar.h Adds example usage of cc_shared_library 2019-11-14 02:03:24 -08:00
bar.lds Adds example usage of cc_shared_library 2019-11-14 02:03:24 -08:00
bar2.cc C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
bar2.h C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
bar3.cc C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
bar3.h C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
baz.cc C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
baz.h C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
BUILD Change cc_shared_library exports logic. 2020-05-08 06:35:54 -07:00
cc_shared_library_integration_test.sh C++: cc_shared_library tests for attribute added in unknown commit 2020-01-23 05:50:17 -08:00
foo.cc C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
foo.h C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
foo.lds Adds example usage of cc_shared_library 2019-11-14 02:03:24 -08:00
main.cc C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
not_depended_on.cc Adds example usage of cc_shared_library 2019-11-14 02:03:24 -08:00
preloaded_dep.cc C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
preloaded_dep.h C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
quux.cc Adds example usage of cc_shared_library 2019-11-14 02:03:24 -08:00
qux.cc C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
qux.h C++: Tests for cc_binary linking shared libraries 2019-12-05 08:49:55 -08:00
qux2.cc Allows libraries to be linked more than once. 2020-02-26 07:07:44 -08:00
qux2.h Allows libraries to be linked more than once. 2020-02-26 07:07:44 -08:00
starlark_tests.bzl Change cc_shared_library exports logic. 2020-05-08 06:35:54 -07:00