Files
carbon-lang/explorer/parse_and_execute/BUILD
T
Jon Ross-Perkins 8e940d9724 Migrate //common test libraries to //testing/util. (#2890)
This is just a cleanup. Since we now have a testing directory, I think this is a better home for testonly libraries than //common. (I was thinking about this when I was considering adding more test_raw_ostream deps)
2023-06-13 16:38:08 -07:00

35 lines
938 B
Python

# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
# Exceptions. See /LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
package(default_visibility = [
"//explorer:__pkg__",
"//explorer/fuzzing:__pkg__",
])
cc_library(
name = "parse_and_execute",
srcs = ["parse_and_execute.cpp"],
hdrs = ["parse_and_execute.h"],
deps = [
"//common:check",
"//common:error",
"//explorer/common:trace_stream",
"//explorer/interpreter:exec_program",
"//explorer/interpreter:stack_space",
"//explorer/syntax",
"//explorer/syntax:prelude",
"@llvm-project//llvm:Support",
],
)
cc_test(
name = "parse_and_execute_test",
srcs = ["parse_and_execute_test.cpp"],
deps = [
":parse_and_execute",
"//testing/util:gtest_main",
"@com_google_googletest//:gtest",
],
)