BUILD 757 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 = "semantics",
  7. srcs = ["semantics.cpp"],
  8. hdrs = ["semantics.h"],
  9. deps = ["//toolchain/parser:parse_tree"],
  10. )
  11. cc_test(
  12. name = "semantics_test",
  13. size = "small",
  14. srcs = ["semantics_test.cpp"],
  15. deps = [
  16. ":semantics",
  17. "//toolchain/diagnostics:diagnostic_emitter",
  18. "//toolchain/lexer:tokenized_buffer",
  19. "//toolchain/parser:parse_tree",
  20. "//toolchain/source:source_buffer",
  21. "@com_google_googletest//:gtest_main",
  22. ],
  23. )