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