BUILD 768 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. "@com_google_googletest//:gtest_main",
  25. ],
  26. )
  27. cc_library(
  28. name = "nonnull",
  29. hdrs = ["nonnull.h"],
  30. deps = [
  31. "//common:check",
  32. "@llvm-project//llvm:Support",
  33. ],
  34. )