BUILD 926 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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",
  14. hdrs = ["error.h"],
  15. deps = [
  16. "//common:check",
  17. "//common:error",
  18. "//executable_semantics/ast:source_location",
  19. "@llvm-project//llvm:Support",
  20. ],
  21. )
  22. cc_test(
  23. name = "error_test",
  24. srcs = ["error_test.cpp"],
  25. deps = [
  26. ":error",
  27. "@com_google_googletest//:gtest_main",
  28. "@llvm-project//llvm:Support",
  29. ],
  30. )
  31. cc_library(
  32. name = "nonnull",
  33. hdrs = ["nonnull.h"],
  34. deps = [
  35. "//common:check",
  36. "@llvm-project//llvm:Support",
  37. ],
  38. )