mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-30 10:05:00 +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.
54 lines
1.4 KiB
Python
54 lines
1.4 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")
|
|
load("//testing/file_test:rules.bzl", "file_test")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
file_test(
|
|
name = "file_test",
|
|
size = "small",
|
|
srcs = ["file_test.cpp"],
|
|
tests = [
|
|
"//toolchain/check:testdata",
|
|
"//toolchain/codegen:testdata",
|
|
"//toolchain/diagnostics:testdata",
|
|
"//toolchain/driver:testdata",
|
|
"//toolchain/lex:testdata",
|
|
"//toolchain/lower:testdata",
|
|
"//toolchain/parse:testdata",
|
|
],
|
|
deps = [
|
|
"//common:all_llvm_targets",
|
|
"//testing/file_test:file_test_base",
|
|
"//toolchain/driver",
|
|
"@llvm-project//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "yaml_test_helpers",
|
|
testonly = 1,
|
|
srcs = ["yaml_test_helpers.cpp"],
|
|
hdrs = ["yaml_test_helpers.h"],
|
|
deps = [
|
|
"//common:error",
|
|
"//common:ostream",
|
|
"@googletest//:gtest",
|
|
"@llvm-project//llvm:Support",
|
|
],
|
|
)
|
|
|
|
cc_test(
|
|
name = "yaml_test_helpers_test",
|
|
size = "small",
|
|
srcs = ["yaml_test_helpers_test.cpp"],
|
|
deps = [
|
|
":yaml_test_helpers",
|
|
"//testing/base:gtest_main",
|
|
"@googletest//:gtest",
|
|
],
|
|
)
|