BUILD 649 B

12345678910111213141516171819202122
  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. cc_binary(
  6. name = "executable_semantics",
  7. srcs = ["main.cpp"],
  8. deps = [
  9. "//executable_semantics/common:tracing_flag",
  10. "//executable_semantics/interpreter:exec_program",
  11. "//executable_semantics/syntax",
  12. "@llvm-project//llvm:Support",
  13. ],
  14. )
  15. lit_test(
  16. name = "executable_semantics_lit_test",
  17. test_dir = "testdata",
  18. tools = [":executable_semantics"],
  19. )