tree: a428e022bf090da291e3d9ec7bcae99e175e4812 [path history] [tgz]
  1. base/
  2. client/
  3. core/
  4. bazel_test.cpp
  5. BUILD.bazel
  6. hello_world.go
  7. print_os.py
  8. 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