BUILD 775 B

12345678910111213141516171819202122232425262728293031
  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/testing:lit_test.bzl", "lit_test")
  5. package(default_visibility = [
  6. "//bazel/check_deps:__pkg__",
  7. "//executable_semantics:__subpackages__",
  8. ])
  9. cc_binary(
  10. name = "executable_semantics",
  11. srcs = ["main.cpp"],
  12. deps = [
  13. "//executable_semantics/interpreter:exec_program",
  14. "//executable_semantics/syntax",
  15. "@llvm-project//llvm:Support",
  16. ],
  17. )
  18. lit_test(
  19. name = "executable_semantics_lit_test",
  20. test_dir = "testdata",
  21. tools = [":executable_semantics"],
  22. )
  23. py_binary(
  24. name = "gen_rtti",
  25. srcs = ["gen_rtti.py"],
  26. )