BUILD 961 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. package(default_visibility = ["//executable_semantics:__subpackages__"])
  5. cc_library(
  6. name = "arena",
  7. hdrs = ["arena.h"],
  8. deps = [
  9. ":nonnull",
  10. ],
  11. )
  12. cc_library(
  13. name = "error_builders",
  14. hdrs = ["error_builders.h"],
  15. deps = [
  16. ":source_location",
  17. "//common:error",
  18. ],
  19. )
  20. cc_test(
  21. name = "error_builders_test",
  22. srcs = ["error_builders_test.cpp"],
  23. deps = [
  24. ":error_builders",
  25. ":source_location",
  26. "//common:gtest_main",
  27. ],
  28. )
  29. cc_library(
  30. name = "nonnull",
  31. hdrs = ["nonnull.h"],
  32. deps = [
  33. "//common:check",
  34. ],
  35. )
  36. cc_library(
  37. name = "source_location",
  38. hdrs = ["source_location.h"],
  39. deps = [
  40. ":nonnull",
  41. "//common:ostream",
  42. ],
  43. )