BUILD 936 B

12345678910111213141516171819202122232425262728293031323334
  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 = [
  5. "//explorer:__pkg__",
  6. "//explorer/fuzzing:__pkg__",
  7. ])
  8. cc_library(
  9. name = "parse_and_execute",
  10. srcs = ["parse_and_execute.cpp"],
  11. hdrs = ["parse_and_execute.h"],
  12. deps = [
  13. "//common:check",
  14. "//common:error",
  15. "//explorer/base:trace_stream",
  16. "//explorer/interpreter:exec_program",
  17. "//explorer/interpreter:stack_space",
  18. "//explorer/syntax",
  19. "//explorer/syntax:prelude",
  20. "@llvm-project//llvm:Support",
  21. ],
  22. )
  23. cc_test(
  24. name = "parse_and_execute_test",
  25. srcs = ["parse_and_execute_test.cpp"],
  26. deps = [
  27. ":parse_and_execute",
  28. "//testing/util:gtest_main",
  29. "@com_google_googletest//:gtest",
  30. ],
  31. )