mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
This avoids needing to have nearly as many rules here which should reduce its churn. I've tested that this reaches the exact same set of transitive dependencies. Note, only the last commit here is new.
40 lines
768 B
Python
40 lines
768 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 = ["//executable_semantics:__subpackages__"])
|
|
|
|
cc_library(
|
|
name = "arena",
|
|
hdrs = ["arena.h"],
|
|
deps = [
|
|
":nonnull",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "error",
|
|
hdrs = ["error.h"],
|
|
deps = [
|
|
"//common:check",
|
|
],
|
|
)
|
|
|
|
cc_test(
|
|
name = "error_test",
|
|
srcs = ["error_test.cpp"],
|
|
deps = [
|
|
":error",
|
|
"@com_google_googletest//:gtest_main",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "nonnull",
|
|
hdrs = ["nonnull.h"],
|
|
deps = [
|
|
"//common:check",
|
|
"@llvm-project//llvm:Support",
|
|
],
|
|
)
|