tree: 0ab6e756e8664fddf6e342edbdd148a6eb20089f [path history] [tgz]
  1. base/
  2. client/
  3. core/
  4. go/
  5. bazel_test.cpp
  6. BUILD.bazel
  7. pathop_main.cpp
  8. print_os.py
  9. README.md
experimental/bazel_test/README.md

This contains files what we can use to test our Bazel toolchains or prototype new BUILD rules.

One can test the layering_check implementation with the following 4 commands, expecting each to fail bazel build //experimental/bazel_test/client:client_lib
--copt=-DHEADER_INCLUDES_TRANSITIVE_HEADER=1 bazel build //experimental/bazel_test/client:client_lib
--copt=-DHEADER_INCLUDES_PRIVATE_HEADER=1 bazel build //experimental/bazel_test/client:client_lib
--copt=-DSOURCE_INCLUDES_TRANSITIVE_HEADER=1 bazel build //experimental/bazel_test/client:client_lib
--copt=-DSOURCE_INCLUDES_PRIVATE_HEADER=1