- cc_asan_test: A
cc_test
that is always instrumented and run with AddressSanitizer, including its dependencies. - cc_asan_test_with_reset: An advanced variant of
cc_asan_test
that usesresettable()
andreset_on_attrs()
to reduce build time by selectively disabling instrumentation for test data and certain dependencies. - cc_define_test: A
cc_test
that propagates a define to all its transitive dependencies. This example shows thatwith_cfg.bzl
transparently supports runfiles lookups,select
s and other features of the underlying rule. - java_21_library: A
java_library
that is always built targeting Java 21, even if the default Java configuration doesn't support it. - java_21_library_with_reset: An advanced variant of
java_21_library
that usesresettable()
to build a legacy dependency of the library with Java 7. - opt_filegroup: Build all files in a
filegroup
with--compilation_mode
set toopt
, for example to speed up an integration test using them.
examples
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||