BUILD 674 B

1234567891011121314151617181920212223242526
  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. "@com_google_googletest//:gtest_main",
  21. "@llvm-project//llvm:Support",
  22. ],
  23. )