BUILD 693 B

12345678910111213141516171819202122232425262728
  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. load("//bazel/cc_rules:defs.bzl", "cc_library")
  5. package(default_visibility = ["//visibility:public"])
  6. filegroup(
  7. name = "testdata",
  8. srcs = glob(["testdata/**/*.carbon"]),
  9. )
  10. cc_library(
  11. name = "format",
  12. srcs = [
  13. "format.cpp",
  14. "formatter.cpp",
  15. "formatter.h",
  16. ],
  17. hdrs = ["format.h"],
  18. deps = [
  19. "//common:ostream",
  20. "//toolchain/lex:token_index",
  21. "//toolchain/lex:token_kind",
  22. "//toolchain/lex:tokenized_buffer",
  23. ],
  24. )