BUILD 871 B

123456789101112131415161718192021222324252627282930313233
  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/common:arena",
  14. "//executable_semantics/common:nonnull",
  15. "//executable_semantics/interpreter:exec_program",
  16. "//executable_semantics/syntax",
  17. "@llvm-project//llvm:Support",
  18. ],
  19. )
  20. lit_test(
  21. name = "executable_semantics_lit_test",
  22. test_dir = "testdata",
  23. tools = [":executable_semantics"],
  24. )
  25. py_binary(
  26. name = "gen_rtti",
  27. srcs = ["gen_rtti.py"],
  28. )