BUILD 595 B

123456789101112131415161718192021
  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/interpreter:exec_program",
  10. "//executable_semantics/syntax",
  11. "@llvm-project//llvm:Support",
  12. ],
  13. )
  14. lit_test(
  15. name = "executable_semantics_lit_test",
  16. test_dir = "testdata",
  17. tools = [":executable_semantics"],
  18. )