BUILD 700 B

123456789101112131415161718192021222324252627
  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 = ["//visibility:public"])
  5. cc_library(
  6. name = "source_buffer",
  7. srcs = ["source_buffer.cpp"],
  8. hdrs = ["source_buffer.h"],
  9. deps = [
  10. "//common:check",
  11. "@llvm-project//llvm:Support",
  12. ],
  13. )
  14. cc_test(
  15. name = "source_buffer_test",
  16. size = "small",
  17. srcs = ["source_buffer_test.cpp"],
  18. deps = [
  19. ":source_buffer",
  20. "//common:gtest_main",
  21. "@com_google_googletest//:gtest",
  22. "@llvm-project//llvm:Support",
  23. ],
  24. )