mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 23:38:10 +00:00
Per https://github.com/bazelbuild/rules_cc this still isn't necessary. There's no build-time enforcement, so usage is inconsistent/incorrect. Rather than letting this linger, remove it pending Bazel tooling enforcing it.
25 lines
682 B
Python
25 lines
682 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 = ["//visibility:public"])
|
|
|
|
cc_library(
|
|
name = "source_buffer",
|
|
srcs = ["source_buffer.cpp"],
|
|
hdrs = ["source_buffer.h"],
|
|
deps = ["@llvm-project//llvm:Support"],
|
|
)
|
|
|
|
cc_test(
|
|
name = "source_buffer_test",
|
|
srcs = ["source_buffer_test.cpp"],
|
|
deps = [
|
|
":source_buffer",
|
|
"@llvm-project//llvm:Support",
|
|
"@llvm-project//llvm:gmock",
|
|
"@llvm-project//llvm:gtest",
|
|
"@llvm-project//llvm:gtest_main",
|
|
],
|
|
)
|