BUILD 913 B

123456789101112131415161718192021222324252627
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. load("@rules_cc//cc:cc_library.bzl", "cc_library")
  5. load("@rules_python//python:defs.bzl", "py_test")
  6. py_test(
  7. name = "no_op_test",
  8. size = "small",
  9. srcs = ["no_op_test.py"],
  10. main = "no_op_test.py",
  11. )
  12. cc_library(
  13. name = "deps_for_clangd_tidy",
  14. srcs = ["deps_for_clangd_tidy.cpp"],
  15. deps = [
  16. # `@boost_unordered` uses `strip_prefix`, which results in
  17. # `_virtual_includes` being part of the `compile_commands.json`. To
  18. # support tools like `clangd-tidy`, this is intended to generate that directory.
  19. #
  20. # For example:
  21. # bazel-out/<mode>/bin/external/+_repo_rules+boost_unordered/_virtual_includes/boost_unordered
  22. "@boost_unordered",
  23. ],
  24. )