BUILD 800 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. ],
  18. )
  19. cc_test(
  20. name = "error_test",
  21. srcs = ["error_test.cpp"],
  22. deps = [
  23. ":error",
  24. "@llvm-project//llvm:gtest",
  25. "@llvm-project//llvm:gtest_main",
  26. ],
  27. )
  28. cc_library(
  29. name = "nonnull",
  30. hdrs = ["nonnull.h"],
  31. deps = [
  32. "//common:check",
  33. "@llvm-project//llvm:Support",
  34. ],
  35. )