BUILD 682 B

123456789101112131415161718192021222324
  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 = ["@llvm-project//llvm:Support"],
  10. )
  11. cc_test(
  12. name = "source_buffer_test",
  13. srcs = ["source_buffer_test.cpp"],
  14. deps = [
  15. ":source_buffer",
  16. "@llvm-project//llvm:Support",
  17. "@llvm-project//llvm:gmock",
  18. "@llvm-project//llvm:gtest",
  19. "@llvm-project//llvm:gtest_main",
  20. ],
  21. )