BUILD 864 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. srcs = ["arena.cpp"],
  8. hdrs = ["arena.h"],
  9. deps = [
  10. "@llvm-project//llvm:Support",
  11. ],
  12. )
  13. cc_library(
  14. name = "error",
  15. hdrs = ["error.h"],
  16. deps = [
  17. "//common:check",
  18. ],
  19. )
  20. cc_test(
  21. name = "error_test",
  22. srcs = ["error_test.cpp"],
  23. deps = [
  24. ":error",
  25. "@llvm-project//llvm:gtest",
  26. "@llvm-project//llvm:gtest_main",
  27. ],
  28. )
  29. cc_library(
  30. name = "tracing_flag",
  31. srcs = ["tracing_flag.cpp"],
  32. hdrs = ["tracing_flag.h"],
  33. visibility = ["//executable_semantics:__subpackages__"],
  34. )