mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-28 22:02:37 +01:00
I'd kept these in to separate the bazel module update from the BUILD file changes, then forgot about it. I think all of these can be cleanly removed now. I think it's something we should clean up for consistency with the bazel central repository names; I think it's best to reduce that divergence. llvm_zlib and llvm_zstd remain because of how llvm depends on the particular names.
44 lines
1.3 KiB
Python
44 lines
1.3 KiB
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
|
|
|
|
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
|
|
|
|
package(default_visibility = [
|
|
"//explorer:__pkg__",
|
|
"//explorer/fuzzing:__pkg__",
|
|
])
|
|
|
|
cc_library(
|
|
name = "parse_and_execute",
|
|
srcs = ["parse_and_execute.cpp"],
|
|
hdrs = ["parse_and_execute.h"],
|
|
# Running clang-tidy is slow, and explorer is currently feature frozen, so
|
|
# don't spend time linting it.
|
|
tags = ["no-clang-tidy"],
|
|
deps = [
|
|
"//common:check",
|
|
"//common:error",
|
|
"//explorer/base: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",
|
|
size = "small",
|
|
srcs = ["parse_and_execute_test.cpp"],
|
|
# Running clang-tidy is slow, and explorer is currently feature frozen, so
|
|
# don't spend time linting it.
|
|
tags = ["no-clang-tidy"],
|
|
deps = [
|
|
":parse_and_execute",
|
|
"//testing/base:gtest_main",
|
|
"@googletest//:gtest",
|
|
],
|
|
)
|