BUILD 809 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 = [
  5. "//bazel/check_deps:__pkg__",
  6. "//executable_semantics:__subpackages__",
  7. ])
  8. cc_library(
  9. name = "arena",
  10. hdrs = ["arena.h"],
  11. deps = [
  12. ":nonnull",
  13. ],
  14. )
  15. cc_library(
  16. name = "error",
  17. hdrs = ["error.h"],
  18. deps = [
  19. "//common:check",
  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. ],
  29. )
  30. cc_library(
  31. name = "nonnull",
  32. hdrs = ["nonnull.h"],
  33. deps = [
  34. "//common:check",
  35. "@llvm-project//llvm:Support",
  36. ],
  37. )